Connect your AI · API key

Anthropic API

Claude, with our tools.

  1. 1

    Install the SDK and set your Anthropic key.

    bash
    pip install anthropic
    export ANTHROPIC_API_KEY=sk-ant-…
  2. 2

    Run this. Replace YOUR_API_KEY with your key from the API keys page.

    python
    import 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://jobs-api.arihaan.ai/mcp",
            "name": "arihaan-jobs",
            "authorization_token": "YOUR_API_KEY",
        }],
        tools=[{"type": "mcp_toolset", "mcp_server_name": "arihaan-jobs"}],
        messages=[{"role": "user", "content": "Use Arihaan Jobs to find remote data engineer jobs posted in the last 7 days that list pay. Show the title, company, pay and apply link."}],
    )
    print(msg.content[-1].text)
Try this prompt

“Use Arihaan Jobs to find remote data engineer jobs posted in the last 7 days that list pay. Show the title, company, pay and apply link.”