MCP server offering 48 tools for Polymarket prediction market trading, analysis, copy trading, and portfolio management.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ or use 1-click editor setup below.
We ran the install command below but it didn't respond within our test window โ this can mean a slow first-time install rather than a real problem.
npx -y polymarket-agent-mcpNo response to initialize.
This is an experimental automated check and can have false negatives โ missing environment variables, a slow cold install, etc. It doesnโt necessarily mean somethingโs wrong. Last checked 5d ago.
๐ก Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Polymarket Agent MCP.
Trade, analyze, and automate Polymarket prediction markets through AI.
The most comprehensive MCP server for Polymarket โ 48 tools spanning direct trading, market discovery, smart money tracking, copy trading, backtesting, risk management, and portfolio optimization. Works with Claude Code, Cursor, or any MCP-compatible client.
| Category | Count | Highlights |
|---|---|---|
| Discovery | 9 | Search, trending, featured, events, related markets, smart money flow |
| Analysis | 8 | AI opportunity scoring, conviction rating, price history, market quality, top holders, comparison |
| Trading | 8 | Buy, sell, batch orders, limit orders, order management, safety limits |
| Copy Trading | 5 | Watch traders, auto-monitor, auto-rebalance, backtest |
| Portfolio | 10 | Positions, P&L, balance, risk assessment, SL/TP, optimization, market alerts |
| Utilities | 8 | Dashboard, config, trade history, watchlists, agent logging |
Add to ~/.claude/settings.json:
Just talk naturally to your AI assistant:
"What are the trending markets today?"
"Search for bitcoin prediction markets"
"Buy $5 on this market"
"Score this trader โ should I copy them?"
"Backtest this trader with $10 per trade"
"Show smart money flow โ what are the top traders buying?"
"Set stop-loss at 0.30 on my BTC position"
"Optimize my portfolio with a balanced strategy"
"Scan for arbitrage opportunities"
"Compare these two markets side by side"
| Tool | Description |
|---|---|
markets.search | Search markets by keyword (bitcoin, election, UFC...) |
traders.discover | Find top traders by PnL and volume |
markets.discover | Find markets by end date and category |
markets.trending | Top markets by 24h/7d/30d volume |
markets.featured | Most liquid markets by category (politics, sports, crypto...) |
wta.discover | WTA tennis markets with stink bid prices |
flow.discover | Smart money signals โ multiple top traders buying same market |
markets.related | Find markets related to a topic or market |
markets.events | Browse all markets under an event |
| Tool | Description |
|---|---|
markets.analyze | AI-powered BUY/SELL/HOLD recommendation |
traders.analyze | Detailed trader profile, win rate, P&L |
traders.score | Conviction score (0-100) across 5 dimensions |
markets.check | Market quality โ spread, depth, price range |
markets.price | Live bid/ask/spread prices |
markets.price_history | Historical prices with sparkline (1h to 1m) |
markets.holders | Biggest position holders in a market |
markets.compare | Side-by-side comparison of 2-5 markets |
| Tool | Description |
|---|---|
orders.buy | Buy shares on any market |
orders.sell | Sell an open position |
orders.batch | Execute up to 10 orders at once |
wta.bid | Place limit orders at discount |
orders.cancel | Cancel all open orders |
orders.list | View pending limit orders |
orders.status | Check status of a specific order |
config.go_live | Switch from preview to live mode |
| Tool | Description |
|---|---|
watchlist.add | Add/remove traders from watchlist |
monitor.start | Start automatic copy trading loop |
monitor.stop | Stop monitoring |
watchlist.rebalance | Remove underperforming traders |
traders.backtest | Simulate copying a trader's past trades |
| Tool | Description |
|---|---|
portfolio.balance | Account balance, budget, and P&L |
portfolio.get | Multi-wallet overview with P&L per trader |
positions.list | Open/closed positions |
positions.close | Manually close a position |
positions.set_exit_rules | Set stop-loss and take-profit levels |
positions.check_exits | Check positions for resolution |
portfolio.risk | Portfolio risk scoring and warnings |
portfolio.optimize | AI-powered optimization (conservative/balanced/aggressive) |
markets.watch | Market watchlist with price alerts |
markets.watch_price | Live WebSocket price subscriptions |
markets.arbitrage | Find YES+NO price discrepancies |
| Tool | Description |
|---|---|
config.set | Update bot settings |
config.safety_limits | Max order size, exposure cap, spread tolerance |
dashboard.get | Terminal-formatted dashboard |
trades.history | Trade history with filters |
watchlist.list | Show watched wallets |
agent.log_cycle | Log agent cycle for dashboard |
traders.positions | View a trader's open positions |
The server supports two transport modes:
| Mode | Activation | Use case |
|---|---|---|
| stdio (default) | npx polymarket-agent-mcp | Claude Code, Cursor, local MCP clients |
| HTTP | --http flag or PORT env var | Self-hosted Docker, private VPS, single-user remote |
This server is designed for single-tenant use. Each client runs its own instance with its own SQLite database (copytrader.db), watchlist, daily budget, trade history, and monitor loop. The stdio mode is the recommended path for most users โ npx polymarket-agent-mcp or the Claude Code config above gives you a fully isolated, local-only instance.
โ ๏ธ Do not expose an HTTP instance publicly. The server has no per-user isolation: watchlist, positions, budget, and the background monitor loop are shared across every client that connects. A public HTTP deployment is effectively a shared workspace, not a multi-tenant SaaS. If you enable live trading, a public endpoint can drain your Polymarket wallet from any caller. Always configure the HTTP bearer-token env var (see PERMISSIONS.md) and keep the endpoint behind a firewall, VPN, or auth proxy.
| Path | Method | Description |
|---|---|---|
/mcp | POST | MCP protocol endpoint (Streamable HTTP transport) |
/health | GET | Health check โ returns { status, version, db } |
/.well-known/mcp/server-card.json | GET | MCP discovery card (tools, permissions, data handling) |
/ | GET | Server info with version and endpoint list |
The HTTP transport accepts an optional bearer token gated by an environment variable โ the exact name is documented in PERMISSIONS.md. When set, clients must send Authorization: Bearer <token> on requests to /mcp; when unset the endpoint is open (suitable only for local or private networks).
A prebuilt multi-arch image is published to GHCR on every release:
Or build it yourself from the included Dockerfile:
Factual signals from GitHub, npm, and our automated checks โ not a rating.
No reviews yet โ be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/demwick-polymarket-agent-mcp)<a href="https://allmcps.com/mcp/demwick-polymarket-agent-mcp"><img src="https://allmcps.com/api/badge/demwick-polymarket-agent-mcp?style=directory" alt="Polymarket Agent MCP on AllMCPs" /></a>