polymarket-mcp-server
Polymarket prediction markets for Claude — market search, order books, price history, and a liquidity-rewards scanner. Credential-free.
README
Polymarket MCP Server
A Model Context Protocol (MCP) server that gives Claude — and any MCP client — read-only access to Polymarket, the largest prediction market. Search markets, pull live order books and price history, inspect any wallet's positions, and rank the liquidity-reward markets by where you actually earn the most per dollar quoted.
No API keys. No wallet. No signup. Every tool runs against Polymarket's public APIs, so it works the second you add it to Claude.
"Claude, find me Polymarket markets paying the most liquidity rewards with the least competition."
Why this exists
Most prediction-market tooling stops at "list the markets." This server adds the thing market-makers actually care about: list_reward_markets ranks Polymarket's maker-reward programs by daily reward pool ÷ on-book competition — surfacing where resting liquidity earns the best rate, not just which markets exist.
Built on the official @modelcontextprotocol/sdk, Zod-validated, with graceful error envelopes and a short in-process cache so repeated questions in a single Claude turn stay fast.
60-second quickstart
Claude Code
claude mcp add polymarket -- npx -y polymarket-mcp-server
Claude Desktop
Add this to your claude_desktop_config.json
(~/Library/Application Support/Claude/ on macOS, %APPDATA%\Claude\ on Windows):
{
"mcpServers": {
"polymarket": {
"command": "npx",
"args": ["-y", "polymarket-mcp-server"]
}
}
}
Restart Claude Desktop, and the tools appear under the 🔌 menu. That's it — no credentials to configure.
Cursor / other MCP clients
Point any MCP client at the stdio command npx -y polymarket-mcp-server.
Tools
| Tool | What it does |
|---|---|
search_markets |
Full-text search across events & markets → questions, prices, liquidity, volume, and token IDs. |
get_market |
Full detail for one market (by ID or slug), enriched with live midpoint & spread per outcome. |
get_orderbook |
Live bids/asks for an outcome token, with best bid/ask, midpoint, and spread computed. |
get_price_history |
Historical probability time series with summary stats; auto-downsampled for long ranges. |
list_reward_markets |
The differentiator. Markets paying maker rewards, ranked by pool ÷ competition. |
get_trader_activity |
Any wallet's public positions, recent activity, or total portfolio value (whale-watching). |
Example: ranking reward markets
You: Which Polymarket reward markets have the best pool-to-competition right now?
Claude: (calls list_reward_markets)
1. "Will Roberto Sánchez Palomino win the 2026 Peruvian presidential election?"
daily pool $2,000 · max spread 3.5¢ · min size 20 · competition $40.7k · score 0.049
...
score = dailyRewardPool / (competitionNotional + 1), where competitionNotional is the notional liquidity (Σ price·size) already resting within the scoring spread on the order book — a proxy for how crowded the reward is.
How it works
Claude / MCP client ──stdio──▶ polymarket-mcp-server
│
┌─────────────────────┼─────────────────────┐
▼ ▼ ▼
Gamma API CLOB API Data API
(markets, search) (books, prices, rewards) (wallet positions)
- Read-only & credential-free — only public endpoints are called.
- Zod-validated inputs on every tool; malformed input is rejected cleanly.
- Graceful errors — upstream failures come back as readable messages, never raw stack traces.
- Short TTL cache (60s) on hot queries to respect public rate limits.
Local development
git clone https://github.com/Birantx/polymarket-mcp-server.git
cd polymarket-mcp-server
npm install
npm run build
npm test # end-to-end smoke test against the live public APIs
Run it directly over stdio:
node dist/index.js
Roadmap
v0.1(this release): read-only tools, credential-free.v0.2(demand-driven): optional authenticated order placement via the CLOB client, gated behind explicit key configuration.
Disclaimer
This is an unofficial, community-built tool and is not affiliated with Polymarket. It is read-only and for informational use. Nothing here is financial advice. Prediction markets may be restricted in your jurisdiction.
License
MIT © 2026 — see LICENSE.
Keywords: Polymarket MCP server, Model Context Protocol, Claude, Anthropic, prediction markets, market making, liquidity rewards, MCP tools, AI trading research.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。