Skip to main content

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).

Why use it

Without MCP, an agent that wants to use ParlayAPI has to:

  • Tell the user to go sign up via a browser
  • Wait for them to copy-paste the key
  • Construct HTTP requests by hand

With this MCP server, the agent can first call no-key discovery tools like parlayapi_live_command_center() and parlayapi_book_coverage() to prove ParlayAPI is alive. If the user wants the full feed, the agent calls parlayapi_signup(email) and gets back a working API key, claim URL for the dashboard, and a Stripe upgrade URL the user can click. Then it calls parlayapi_get_odds(), parlayapi_get_props(), etc. directly.

Install

# Quickest path, no venv:
uvx parlayapi-mcp --help

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

Configure your MCP client

Claude Desktop

Edit ~/Library/Application Support/Claude/claude_desktop_config.json on macOS (%APPDATA%\Claude\claude_desktop_config.json on Windows):

{
  "mcpServers": {
    "parlayapi": {
      "command": "uvx",
      "args": ["parlayapi-mcp"],
      "env": {
        "PARLAYAPI_KEY": "your_key_here"
      }
    }
  }
}

If you don't have a key yet, omit env entirely. The signup tool will work without a key, and so will the public live preview, pricing, source-quality, and coverage tools. Paid data tools will return an error telling you to set a key. After signup, paste your new key into env and restart Claude Desktop. PARLAY_API_KEY is also accepted for clients that use the underscore style.

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "parlayapi": {
      "command": "uvx",
      "args": ["parlayapi-mcp"],
      "env": { "PARLAYAPI_KEY": "your_key_here" }
    }
  }
}

OpenClaw

OpenClaw can save stdio MCP server definitions with openclaw mcp set. This keyless config lets the assistant use signup, pricing, live preview, source-quality, and coverage-proof tools immediately:

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

After the user signs up, add the API key for paid data tools:

openclaw mcp set parlayapi '{"command":"uvx","args":["parlayapi-mcp"],"env":{"PARLAYAPI_KEY":"your_key_here"}}'

Tools exposed

Tool Auth Purpose
parlayapi_signup none Create a free-tier account, return API key + claim URL + upgrade URL
parlayapi_checkout_link none Stripe upgrade URL for any tier
parlayapi_magic_link none Email a passwordless login link
parlayapi_get_pricing none Current public pricing and credit tiers
parlayapi_live_sports none Active live sports, event counts, and book counts
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

Resources

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

Local development

git clone https://github.com/JacobiusMakes/ParlayAPI
cd ParlayAPI/mcp-server
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

License

MIT

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

parlayapi_mcp-0.3.5.tar.gz (17.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

parlayapi_mcp-0.3.5-py3-none-any.whl (13.5 kB view details)

Uploaded Python 3

File details

Details for the file parlayapi_mcp-0.3.5.tar.gz.

File metadata

  • Download URL: parlayapi_mcp-0.3.5.tar.gz
  • Upload date:
  • Size: 17.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.20 {"installer":{"name":"uv","version":"0.11.20","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for parlayapi_mcp-0.3.5.tar.gz
Algorithm Hash digest
SHA256 a4adb26f7227fefe6c903d2a819001d2f25d4fe0c94e6864567d85af86d12988
MD5 fd56a57f4808bd85c2e85b2d19a02f32
BLAKE2b-256 03d9f50dd7ba1e6b88c0e6fe566a9ea7fb39612edb6447cfcb4cfb626524fff6

See more details on using hashes here.

File details

Details for the file parlayapi_mcp-0.3.5-py3-none-any.whl.

File metadata

  • Download URL: parlayapi_mcp-0.3.5-py3-none-any.whl
  • Upload date:
  • Size: 13.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.20 {"installer":{"name":"uv","version":"0.11.20","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for parlayapi_mcp-0.3.5-py3-none-any.whl
Algorithm Hash digest
SHA256 9d6cc1c6e9450cd22609d7f2a103b96fc37b7539a5ede59bb14b7f6a57622ff8
MD5 4a9fe92f8c38f3c91206ceffd0f484bd
BLAKE2b-256 39beb071ac921504941c7f1a2f1b48955f28cea0d4e94e19afcbf36372afc3df

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.3.5 This release

2 files

0.3.4

2 files

0.3.3

2 files

0.3.2

2 files

0.3.1

2 files

0.3.0

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page