Polymarket Toolkit
Lets your AI agent read public Polymarket data: trader profiles, PnL, markets, prices and leaderboards, with no orders.
203 stars on GitHubby runesleoLicense MITUpdated 20 days ago
How to install
This MCP is local: it runs on your computer.
It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Codeβ¦). Choose your app:
Paste in the terminal:
claude mcp add polymarket-toolkit -- npx -y polymarket-toolkit-mcp
Ready! Now test it
Restart the app and paste one of these requests in the chat:
Profile this Polymarket address and show lifetime PnL.
Scan the top five active markets by 24-hour volume.
What it is
This toolkit reads public Polymarket APIs so you can research a wallet address or scan markets. The MCP server exposes twelve read-only tools. It holds no keys and cannot place orders.
What it can do
pm_profile: profile a trader addresspm_activity: pull activity historypm_brier: score prediction accuracypm_markout: execution qualitypm_mix: maker or taker stylepm_pnl_check: check PnL against the leaderboardpm_scan: top markets by volume and spreadpm_leaderboard: leaderboard snapshot
When to use
- βΊWhen you want to research a Polymarket wallet before trusting its record.
- βΊWhen you want to scan the top markets by 24-hour volume and spread.
- βΊWhen you want to see if a trader is a market maker or a taker.
What you need
Skills that pair well
MCP or skill?
The MCP gives the agent the hands. The skill teaches the right way to use them. Together, the result is better and uses fewer tokens.
vibe-tradingGives your agent a full finance research toolkit, covering backtests, factor analysis, options pricing and market data across many markets.polymarketLets your agent look up Polymarket prediction markets, including event odds, current prices, order books, and price history, with no account needed.polymarket-public-dataLets your agent look up Polymarket market details and outcome prices directly from Polymarket's public data.Frequently asked questions
Can it place trades?
No. The MCP server is read-only and order placement is deliberately not exposed.
Do I need API keys?
No. It uses public APIs and needs no keys or signing.
Is it free?
The toolkit is free to run. The author also sells a separate paid write-up.
Is PnL here exact?
The quick profile is a leaderboard snapshot. For audit-grade PnL use the polymarket-pnl skill.
How does the MCP server work?
Each tool shells out to the pm command-line tool, so it is only as powerful as the CLI.
Is there a limit on activity data?
Activity paging has a cap near 4,000 rows, and the tool warns when it nears it.
If it does not work
- βΊCheck that Node.js 22 or newer is installed, since the CLI uses --experimental-strip-types.
- βΊRun ./bin/pm help from the repo root to confirm the CLI works.
- βΊIf activity looks incomplete, check for the cap warnings near 4,000 rows.
5 new skills a week. 1 minute to read.