Connect your AI · API key
Anthropic API
Claude, with our tools.
- 1
Install the SDK and set your Anthropic key.
bashpip install anthropic export ANTHROPIC_API_KEY=sk-ant-… - 2
Run this. Replace YOUR_API_KEY with your key from the API keys page.
pythonimport anthropic client = anthropic.Anthropic() msg = client.beta.messages.create( model="claude-sonnet-5", max_tokens=2000, betas=["mcp-client-2025-11-20"], mcp_servers=[{ "type": "url", "url": "https://people-api.arihaan.ai/mcp", "name": "arihaan-people", "authorization_token": "YOUR_API_KEY", }], tools=[{"type": "mcp_toolset", "mcp_server_name": "arihaan-people"}], messages=[{"role": "user", "content": "Use Arihaan People to find VPs of Sales at software companies in Texas. Count them first, then show the first 10 with title, company and city."}], ) print(msg.content[-1].text)
Try this prompt
“Use Arihaan People to find VPs of Sales at software companies in Texas. Count them first, then show the first 10 with title, company and city.”