Connect your AI · API key
OpenAI API
Any OpenAI model, with our tools.
- 1
Install the SDK and set your OpenAI key.
bashpip install openai export OPENAI_API_KEY=sk-… - 2
Run this. Replace YOUR_API_KEY with your key from the API keys page.
pythonfrom openai import OpenAI client = OpenAI() resp = client.responses.create( model="gpt-5", tools=[{ "type": "mcp", "server_label": "arihaan_people", "server_url": "https://people-api.arihaan.ai/mcp", "headers": {"Authorization": "Bearer YOUR_API_KEY"}, "require_approval": "never", }], input="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(resp.output_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.”