parlayapi-mcp
parlayapi-mcp
mcp-name: io.github.JacobiusMakes/parlayapi
面向 ParlayAPI 的 MCP 服务器。它以原生工具的形式,向任何兼容 MCP 的客户端(Claude Desktop、Cursor、OpenClaw、自定义助手)提供体育赔率、预测市场数据、实时看板预览、数据源质量证明,以及零摩擦的 Agent(智能体)注册能力。
为什么用它
如果没有 MCP,一个想使用 ParlayAPI 的 Agent 只能:
让用户去用浏览器打开并注册
等用户手动复制粘贴 API 密钥
自己手工构造 HTTP 请求
有了这个 MCP 服务器,Agent 可以先调用无需密钥的发现工具,例如 parlayapi_live_command_center() 和 parlayapi_book_coverage(),以证明 ParlayAPI 是真实可用、正在运行的。如果用户想拿到完整数据流,Agent 就调用 parlayapi_signup(email),从而获得一个可用的 API 密钥、领取仪表盘的认领 URL,以及用户可点击的 Stripe 升级 URL。之后它就可以直接调用 parlayapi_get_odds()、parlayapi_get_props() 等工具了。
Related MCP server: storm-mcp
安装
# Quickest path, no venv:
uvx parlayapi-mcp --help
# Or install globally with pip:
pip install parlayapi-mcp配置你的 MCP 客户端
Claude Desktop
在 macOS 下,编辑 ~/Library/Application Support/Claude/claude_desktop_config.json(Windows 下为 %APPDATA%\Claude\claude_desktop_config.json):
{
"mcpServers": {
"parlayapi": {
"command": "uvx",
"args": ["parlayapi-mcp"],
"env": {
"PARLAYAPI_KEY": "your_key_here"
}
}
}
}如果你还没有 API 密钥,可以直接把 env 整个省略。注册、公开实时预览、定价、数据源质量和覆盖范围工具在无 key 时也能正常使用;而付费数据工具会返回一行错误提示,要求你先设置 key。注册完成后,把自己的新密钥粘贴到 env,然后重启 Claude Desktop 即可。同时,下划线风格的客户端也可以使用 PARLAY_API_KEY。
Cursor
在 .cursor/mcp.json 中添加如下内容:
{
"mcpServers": {
"parlayapi": {
"command": "uvx",
"args": ["parlayapi-mcp"],
"env": { "PARLAYAPI_KEY": "your_key_here" }
}
}
}OpenClaw
OpenClaw 可以用 openclaw mcp set 来保存 stdio MCP 服务器定义。这个无密钥配置可以让助手立即使用注册、定价、实时预览、数据源质量和覆盖证明工具:
openclaw mcp set parlayapi '{"command":"uvx","args":["parlayapi-mcp"]}'用户完成注册后,再为付费数据工具添加 API key:
openclaw mcp set parlayapi '{"command":"uvx","args":["parlayapi-mcp"],"env":{"PARLAYAPI_KEY":"your_key_here"}}'工具一览
工具 | 鉴权 | 用途 |
| 无 | 创建免费档账户,返回 API 密钥 + 认领 URL + 升级 URL |
| 无 | 为任意档位生成 Stripe 升级 URL |
| 无 | 发送免密登录链接到邮箱 |
| 无 | 当前公开的定价和信用档位 |
| 无 | 进行中的实时赛事、事件数量和博彩商数量 |
| 无 | 搜索实时球队、球员和球员键 |
| 无 | 来自 |
| 无 | 公开的数据源新鲜度与质量元数据 |
| 无 | 公开的逐博彩商五级覆盖证明 |
| 密钥 | 所有可用的运动项目键 |
| 密钥 | 某运动项目的比赛级赔率(h2h、让分、总分) |
| 密钥 | 某运动项目的球员专项赔率 |
| 密钥 | 各博彩商之间每个投注结果的最佳赔率 |
| 密钥 | 一次调用就能得到“该不该投注”的结论:给 vs 市场、能投的博彩商、直白的 BET/PASS 判断 |
| 密钥 | 记住用户所在地区/可用博彩商,保证结论片不会推荐这些用户不关注的商家 |
| 密钥 | 评估一个多腿串关:总公平赔率、最适合下单的博彩商、期望值、最弱的一腿、相关性提示、赔付金额 |
| 密钥 | 某运动项目按 +EV 排序的可投注玩法,按“你能去竞投注”范围缩放,更新价值预警 |
| 密钥 | 账户档位、剩余积分、结算周期 |
资源
parlayapi://docs/quickstart - Python 和 JS 的代码示例。
本地开发
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许可证
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables users to search, analyze, and trade on Kalshi prediction markets directly through MCP-compatible clients. It supports portfolio management, market data retrieval, and limit order execution with production-grade authentication and rate limiting.MIT
- AlicenseAqualityDmaintenanceMCP server that exposes the Storm cross-venue prediction-market intelligence API, enabling LLM clients to read canonical events, spreads, venue catalog, and alerts as native tool calls.725MIT
- AlicenseBqualityDmaintenanceMCP-compatible server that gives AI agents access to alternative sports data across 30+ leagues — odds, events, probabilities, settlement, and futures for prediction markets, DFS platforms, and sportsbooks.2915MIT
- AlicenseAqualityAmaintenanceA unified MCP server that aggregates 32 sports API providers into a single service, providing 336 tools for scores, stats, odds, esports, and more across 70+ sports.1007320MIT
Related MCP Connectors
Sports Game Odds MCP — wraps the Sports Game Odds API (sportsgameodds.com)
The Odds API MCP — sportsbook odds across 70+ books, 30+ leagues
Live odds, cross-book +EV and graded player-prop results across 25 books. Hosted endpoint included.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/JacobiusMakes/parlay-api-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server