ParlayAPI
Dữ liệu tỷ lệ cược thể thao, kèo cược cầu thủ và thị trường dự đoán từ hơn 45 nhà cái và nguồn dữ liệu trên 90+ môn thể thao, kèm theo công cụ đánh giá kết quả, chấm điểm parlay, arbitrage, +EV, đồng thuận và middles; 9 trong số 22 công cụ chạy không cần khóa qua uvx parlayapi-mcp (bài gửi từ nhà sáng lập bên thứ nhất).
Tài liệu
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.
The 0.3.8 Python package source forwards an available account key for checkout ownership validation and distinguishes a checkout URL from an email-flow acknowledgement. An acknowledgement does not confirm email delivery. The separately pinned 0.3.6 desktop bundle does not include this checkout fix. Check the release page above for newer desktop bundles.
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
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
| Tool | Auth | Purpose |
|---|---|---|
parlayapi_signup | none | Begin account signup with the user’s authorization and follow the response |
parlayapi_checkout_link | none | Request an owner-authenticated checkout link or begin the email handoff |
parlayapi_magic_link | none | Email a passwordless login link |
parlayapi_get_pricing | none | Current public pricing and credit tiers |
parlayapi_live_sports | none | Sport keys and event counts on the public board |
parlayapi_live_search | none | Search live teams, players, and sport keys |
parlayapi_live_command_center | none | Public best-line preview from /live |
parlayapi_source_quality | none | Public source freshness and quality metadata |
parlayapi_book_coverage | none | Public per-book five-gate coverage proof |
parlayapi_list_sports | key | All available sport keys |
parlayapi_get_odds | key | Game-level odds (h2h, spreads, totals) for a sport |
parlayapi_get_props | key | Player prop odds for a sport |
parlayapi_best_line | key | Best price per outcome across bookmakers |
parlayapi_verdict | key | One-call "should I bet this?": fair price vs market, best book you can bet at, plain-English BET/PASS call |
parlayapi_set_bettable_books | key | Remember the user's region/books so verdicts skip books they can't use |
parlayapi_parlay_verdict | key | Grade a multi-leg parlay: combined fair price, best book to place it, EV, weakest leg, correlation warnings, payout |
parlayapi_best_bets | key | Ranked +EV plays for a sport, scoped to books you can bet at, plus edge alerts |
parlayapi_account_info | key | Tier, credits remaining, billing period |
parlayapi_find_arbitrage | key | Cross-book arbitrage candidates, 3-way (home/draw/away) markets included |
parlayapi_find_ev | key | Positive-EV bets vs a sharp book's no-vig fair line |
parlayapi_consensus | key | Consensus (average) odds across all bookmakers per market |
parlayapi_find_middles | key | Cross-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.