Polymarket Paper Trader
Lets your AI agent practice trading on Polymarket with $10k of paper money, real order books and official fees.
496 stars on GitHubby agent-nextLicense MITUpdated 22 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-paper-trader -- uvx polymarket-paper-trader
Ready! Now test it
Restart the app and paste one of these requests in the chat:
Create a paper account with $10,000 and search for markets about bitcoin.
Buy $500 of YES on the bitcoin 100k market and tell me the fees and slippage.
What it is
This server connects your agent to live Polymarket prediction markets, but with fake money. Orders walk the real order book, so slippage and fees are realistic. You can use it to test trading ideas or to score how well an agent makes probability judgments, with no financial risk.
What it can do
init_account: create a paper account with a starting balancesearch_markets: find markets by keywordget_order_book: see live bids and asksbuy: buy shares at the best available pricessell: sell shares you holdget_balance: see cash, positions value and total profit or losswatch_prices: monitor prices for several marketskalshi_markets: browse Kalshi markets (read-only)
When to use
- βΊWhen you want to test a prediction-market strategy without risking real money
- βΊWhen you want to see how well your AI agent forecasts real-world events
- βΊWhen you want to compare several agents or accounts on the same markets
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.
polymarketLets your agent look up Polymarket prediction markets, including event odds, current prices, order books, and price history, with no account needed.trader-backtestHelps your agent test a trading strategy on past market data, check the results over time and record a signed result for review.strategy-discoveryLets your agent list existing trading strategies and see the backtest evidence for each market regime, with a freshness date on every result.Frequently asked questions
Is it free and open source?
Yes. It installs from PyPI and the repository is public. The readme mentions an open-source license file but no paid tier.
Does it use real money?
No. It uses paper money, starting at $10k by default. It only reads live market data and order books.
How realistic are the trades?
Orders consume live order book levels like a real taker order, and fees follow the official Polymarket fee curve. The readme says tests check fills against real quoted prices.
Can it trade other markets?
It can also paper trade Kalshi markets using a kalshi: ticker slug.
Which AI apps does it work with?
The readme lists Claude Code, Codex CLI, Cursor, Gemini CLI and others that accept an MCP server, plus a remote mode you host yourself.
Is there a hosted version I can use?
No. The remote mode has no hosted endpoint. You run the server yourself, and the HTTP mode has no authentication by default.
If it does not work
- βΊCheck that Python 3.10 or newer is installed, or that uv is installed if you use uvx.
- βΊRestart your AI app fully after adding the pm-trader-mcp command to its MCP config.
- βΊIf you run the HTTP mode, bind it to 127.0.0.1 only, since it has no authentication.
5 new skills a week. 1 minute to read.