Polymarket 预测市场 MCP 助手 是 AI Skill Hub 本期精选MCP工具之一。综合评分 8.2 分,整体质量较高。我们强烈推荐将其纳入你的 AI 工具库,帮助提升工作效率。
一个基于模型上下文协议(MCP)的开源服务器,允许 Claude 等 LLM 直接研究并交易 Polymarket 预测市场。它将 AI 的分析能力与实时预测市场数据结合,适合量化交易者、政治/经济分析师及 AI Agent 开发者。
Polymarket 预测市场 MCP 助手 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
一个基于模型上下文协议(MCP)的开源服务器,允许 Claude 等 LLM 直接研究并交易 Polymarket 预测市场。它将 AI 的分析能力与实时预测市场数据结合,适合量化交易者、政治/经济分析师及 AI Agent 开发者。
Polymarket 预测市场 MCP 助手 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
# 方式一:通过 Claude Code CLI 一键安装
claude skill install https://github.com/ilmari99/polygate
# 方式二:手动配置 claude_desktop_config.json
{
"mcpServers": {
"polymarket------mcp---": {
"command": "npx",
"args": ["-y", "polygate"]
}
}
}
# 配置文件位置
# macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
# Windows: %APPDATA%/Claude/claude_desktop_config.json
# 安装后在 Claude 对话中直接使用 # 示例: 用户: 请帮我用 Polymarket 预测市场 MCP 助手 执行以下任务... Claude: [自动调用 Polymarket 预测市场 MCP 助手 MCP 工具处理请求] # 查看可用工具列表 # 在 Claude 中输入:"列出所有可用的 MCP 工具"
// claude_desktop_config.json 配置示例
{
"mcpServers": {
"polymarket______mcp___": {
"command": "npx",
"args": ["-y", "polygate"],
"env": {
// "API_KEY": "your-api-key-here"
}
}
}
}
// 保存后重启 Claude Desktop 生效
Trade Polymarket from any LLM that speaks MCP.
PolyGate is a Model Context Protocol server that gives your AI agent Polymarket as a set of tools. Point any MCP-capable host (Claude Desktop, Claude Code, VS Code, Cursor, OpenClaw, …) at it, and your agent can:
It uses your Polymarket account. Researching and reading markets needs no credentials — run it key-free to explore. To let the agent trade, you supply two values (your funding address and signer key); PolyGate then signs orders, derives credentials, and detects your signature type for you — all in memory at startup. There's no HTTP server to run, no port to open, and no API key for the agent to manage. All your trades will also be visible on Polymarket.com, and you can use the site to manage your account as usual.
Real money. Once your funded wallet is configured, the trading tools spend real funds on your Polymarket account.
There are two ways to give your AI PolyGate's tools — pick one:
- Connect a web AI — for AIs that run in a website (ChatGPT, Claude, Grok, …). Run one command and paste three values into the site. No config file to edit. Lowest barrier. - Run as a local MCP server — for desktop/IDE hosts (Claude Desktop, Claude Code, VS Code, Cursor, OpenClaw). Add a small JSON block to the host's config.
Either way, the only tool you install is uv — uvx. The web AI path needs one more tool, cloudflared — covered in that section below.
<details open> <summary><b>macOS</b></summary>
curl -LsSf https://astral.sh/uv/install.sh | sh
Or with Homebrew: brew install uv. </details>
<details> <summary><b>Linux</b></summary>
curl -LsSf https://astral.sh/uv/install.sh | sh </details>
<details> <summary><b>Windows</b></summary>
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
Or with winget: winget install --id=astral-sh.uv -e. </details>
uvx (bundled with uv) fetches and runs PolyGate on demand — no clone, no pip install.
All settings are environment variables set in the env block of your MCP config (as in the Quick start):
| Variable | Required | Description |
|---|---|---|
PRIVATE_KEY | for trading | Signer key. **Keep secret.** |
FUNDER_ADDRESS | for trading | The address that holds your funds and makes your orders. |
DRY_RUN | no | true simulates orders without signing or sending them. |
LOG_LEVEL | no | Logging level (default INFO). |
SIGNATURE_TYPE, CLOB_API_KEY, CLOB_SECRET, CLOB_PASSPHRASE | auto | Derived/detected in memory at startup; set only to override. |
Market-data and research tools (list_markets, get_order_book, collect_markets, search, get_holders, …) work without a wallet. Account and trading tools (get_positions, get_balance, place_order, cancel_order, …) require PRIVATE_KEY and FUNDER_ADDRESS. Use DRY_RUN=true to exercise place_order safely.
Prices and orders are always per outcome token (clobTokenId), never per market. A share pays $1 if its outcome happens and $0 if not, so a token's price is the market's implied probability.
The same core is also exposed as a language-agnostic REST gateway (FastAPI), for clients that aren't MCP hosts — e.g. an algorithmic trading bot in another language that drives PolyGate over plain HTTP. It offers identical capabilities, protected by a generated PLATFORM_API_KEY.
git clone https://github.com/ilmari99/polygate.git && cd polygate
python -m venv .venv && source .venv/bin/activate
pip install .
polygate # serves http://127.0.0.1:8000, interactive docs at /docs
Connect your wallet at http://127.0.0.1:8000/setup (on your own machine) or with polygate setup (remote/SSH), then drive it over HTTP. examples/sample_agent.py is a runnable, dependency-free reference for the read → decide → order loop, and the full endpoint reference is at /docs once the server is running.
aiskill88点评:精准切入预测市场赛道,通过MCP协议打通LLM与交易端,是构建金融AI Agent的优质组件。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。
经综合评估,Polymarket 预测市场 MCP 助手 在MCP工具赛道中表现稳健,质量优秀。如果你已有明确的使用需求,可以直接上手体验;如果还在评估阶段,建议对比同类工具后再做决策。
| 原始名称 | polygate |
| Topics | 预测市场量化交易AI Agent |
| GitHub | https://github.com/ilmari99/polygate |
| License | MIT |
| 语言 | Python |
收录时间:2026-07-05 · 更新时间:2026-07-05 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端