ParlayAPI

45개 이상의 스포츠북 및 소스에서 90개 이상의 스포츠에 걸친 스포츠 베팅 배당률, 선수 프롭스, 예측 시장 데이터를 제공하며, 승부 예측, 파레이 그레이딩, 차익 거래, +EV, 컨센서스, 미들 도구를 포함합니다. 22개 도구 중 9개는 uvx parlayapi-mcp를 통해 키 없이 실행됩니다(1차 창립자 제출).

문서

parlayapi-mcp

mcp-name: io.github.JacobiusMakes/parlayapi

MCP server for ParlayAPI. Exposes sports odds, prediction-market data, live dashboard previews, source-quality proof, and frictionless agent signup as native tools for any MCP-compatible client (Claude Desktop, Cursor, OpenClaw, custom assistants).

First connection

Use the public board to check whether it currently lists the sport your project needs. A hosted MCP client can connect to https://parlay-api.com/mcp/http using Streamable HTTP with authentication left empty. A local client can use the keyless configuration below.

For a first request, check one sport on the public board. The guide includes a runnable Python example and a prompt for your MCP client. Both use one public tool without an API key. To test how an assistant handles missing evidence before connecting a feed, grade six sports data answers offline. For a team review, run the sports data evidence workshop with a workflow, documentation or approval task.

Install in Claude Desktop

Open the latest desktop release and download its asset ending in -directory.mcpb. The release notes identify the bundle version and validation performed. Open the downloaded file (double-click, or drag it onto Claude Desktop). Claude Desktop unpacks the bundle and runs the server with its managed uv runtime, so no terminal or Python setup is needed.

Choose the 0.3.8 bundle to use the same server version as the pinned Python install below. This version forwards an available account key on a requested checkout. A keyless response can acknowledge an email request. Check your inbox for delivery.

Leave the optional key field blank to try the board check. When you need account-backed data, set your key under Settings, Extensions, ParlayAPI.

The bundle source lives in mcpb/. Rebuild it with npx @anthropic-ai/mcpb pack mcpb/.

Install (manual, any MCP client)

# Start the stdio server (normally launched by your MCP client):
uvx --from parlayapi-mcp==0.3.8 parlayapi-mcp

# Or install globally with pip:
pip install parlayapi-mcp==0.3.8

Configure your MCP client

Gemini CLI

Want to know how many NBA events the public board lists before you build an integration? From a terminal with Gemini CLI installed, run:

gemini extensions install https://github.com/JacobiusMakes/parlayapi-gemini-extension

Start a new Gemini CLI session and enter /parlay:board. The command asks for one keyless board lookup over HTTPS. A matching NBA row can report zero events. An absent row leaves the count unknown. You can inspect individual events and available prices in the public odds preview.

The Gemini CLI extension enables only parlayapi_live_sports. To remove it, run gemini extensions uninstall parlay-board.

VS Code and GitHub Copilot CLI

Connect the public sports board in Copilot. The setup enables one tool over HTTPS. It works without a ParlayAPI key or a local Python process.

Claude Desktop and Cursor

Use the keyless config file or add the server entry below to your existing configuration. Claude Desktop uses ~/Library/Application Support/Claude/claude_desktop_config.json on macOS and %APPDATA%\Claude\claude_desktop_config.json on Windows. In Cursor, edit .cursor/mcp.json. The packaged Cursor plugin has its own release and setup instructions.

{
  "mcpServers": {
    "parlayapi": {
      "command": "uvx",
      "args": ["--from", "parlayapi-mcp==0.3.8", "parlayapi-mcp"]
    }
  }
}

Reload your client. Ask it to call parlayapi_live_sports once, match the exact basketball_nba key and report its event_count. A row with zero events and a missing sport are different outcomes. Run the same check from Python.

For an account-backed request, pass your own PARLAYAPI_KEY through your client's private environment configuration. Keep credentials out of prompts and shared project files.

OpenClaw

Register the same local server with the keyless command.

openclaw mcp set parlayapi '{"command":"uvx","args":["--from","parlayapi-mcp==0.3.8","parlayapi-mcp"]}'

Run locally with Docker

Build the stdio container from this repository:

docker build -t parlayapi-mcp:local .
docker run --rm -i --read-only --cap-drop=ALL --security-opt=no-new-privileges parlayapi-mcp:local

The process waits for MCP messages on stdin. It does not open a web server or make an API call just by starting. Connect it through an MCP client; do not use -t, which would allocate a terminal instead of the MCP stdio transport.

For account tools, configure your own PARLAYAPI_KEY in your MCP client's secret configuration and pass that environment variable into the container:

docker run --rm -i --read-only --cap-drop=ALL --security-opt=no-new-privileges -e PARLAYAPI_KEY parlayapi-mcp:local

No key is baked into the image. Each user should configure their own key and keep account responses within their own client. This container is not a shared community feed. The MIT software license grants no data distribution rights; applicable Terms and any written agreement govern API data use. These container defaults do not amend existing agreements.

Public discovery tools need no key. Account tools use your allowance; check current plans and limits. The existing tool set also includes account creation, checkout-link creation, login-link email and saved-book preferences. Approve those actions explicitly in your MCP client. Listing tools itself creates no account, sends no email and starts no checkout.

For private security reports, email support@parlay-api.com. Do not put API keys or account responses in public issues.

Tools exposed

ToolAuthPurpose
parlayapi_signupnoneBegin account signup with the user’s authorization and follow the response
parlayapi_checkout_linknoneRequest an owner-authenticated checkout link or begin the email handoff
parlayapi_magic_linknoneEmail a passwordless login link
parlayapi_get_pricingnoneCurrent public pricing and credit tiers
parlayapi_live_sportsnoneSport keys and event counts on the public board
parlayapi_live_searchnoneSearch live teams, players, and sport keys
parlayapi_live_command_centernonePublic best-line preview from /live
parlayapi_source_qualitynonePublic source freshness and quality metadata
parlayapi_book_coveragenonePublic per-book five-gate coverage proof
parlayapi_list_sportskeyAll available sport keys
parlayapi_get_oddskeyGame-level odds (h2h, spreads, totals) for a sport
parlayapi_get_propskeyPlayer prop odds for a sport
parlayapi_best_linekeyBest price per outcome across bookmakers
parlayapi_verdictkeyOne-call "should I bet this?": fair price vs market, best book you can bet at, plain-English BET/PASS call
parlayapi_set_bettable_bookskeyRemember the user's region/books so verdicts skip books they can't use
parlayapi_parlay_verdictkeyGrade a multi-leg parlay: combined fair price, best book to place it, EV, weakest leg, correlation warnings, payout
parlayapi_best_betskeyRanked +EV plays for a sport, scoped to books you can bet at, plus edge alerts
parlayapi_account_infokeyTier, credits remaining, billing period
parlayapi_find_arbitragekeyCross-book arbitrage candidates, 3-way (home/draw/away) markets included
parlayapi_find_evkeyPositive-EV bets vs a sharp book's no-vig fair line
parlayapi_consensuskeyConsensus (average) odds across all bookmakers per market
parlayapi_find_middleskeyCross-book middle opportunities

Resources

parlayapi://docs/quickstart - Python and JS code samples.

Local development

git clone https://github.com/JacobiusMakes/parlay-api-mcp
cd parlay-api-mcp
pip install -e .

# Run against the local API instead of production:
PARLAYAPI_BASE_URL=http://127.0.0.1:8080 \
PARLAYAPI_KEY=your_local_test_key \
parlayapi-mcp

Privacy Policy

This extension connects to ParlayAPI. See the ParlayAPI Privacy Policy.

License

MIT


Part of the ParlayAPI ecosystem: a real-time sports odds API with a free tier of 1,000 credits per month, no card required. Explore all the tools at github.com/JacobiusMakes.