Use case: agent builders

Ship an AI betting agent with MCP and agent signup

Give an agent live odds tools over MCP and let it provision its user's API key through /v1/agent/signup.

Who this is for

Developers shipping an assistant that talks about real odds. MCP gives Claude, Cursor, and other MCP clients typed tools, and the agent signup endpoint removes the setup wall: the agent creates a free key for its user in one call.

Recommended workflow
  1. Wire the MCP server into the client with one config block
  2. Provision the user's key with POST /v1/agent/signup
  3. Hand the user the claim URL so they own the account
  4. Keep source-native prices in every answer the agent gives

The three endpoints this build uses

POST /v1/agent/signupLets the agent create a free account for its user and receive an API key plus a claim URL the user clicks to take ownership.
GET /v1/sports/{sport_key}/oddsThe core odds tool call behind most agent answers, with source-native prices the agent should quote as is.
GET /v1/sports/{sport_key}/evPositive EV candidates the agent can explain, filter, and rank for its user.

Working code

# 1. Wire the MCP server into Claude Desktop, Claude Code, or Cursor:
{"mcpServers": {"parlayapi": {
    "command": "uvx", "args": ["parlayapi-mcp"],
    "env": {"PARLAYAPI_KEY": "YOUR_KEY"}}}}

# 2. Or let the agent provision a free key for its user in one call:
curl -X POST https://parlay-api.com/v1/agent/signup \
  -H 'Content-Type: application/json' \
  -d '{"email": "[email protected]", "agent_id": "research-agent"}'

Which tier fits

Agent signup issues a free-tier key, which covers the live odds tools. Most agents move to Pro once they start calling the arbitrage, EV, and historical tools. Current limits are on the pricing page.

Example repo

Start from parlay-api-mcp, an open-source starting point for this exact build.

Build links

/mcp/answers/odds-api-for-ai-agents/use-cases/ai-sports-betting-agent