polymarket-mcp
MCP server that exposes Polymarket prediction market data to AI agents.
What it can do
- Search Markets: Search Polymarket markets by title or description. Returns matching markets with: current price, liquidity, volume, end date, and active status.
- Get Market Details: Get full details for a single market — outcomes, prices, volume, liquidity, resolution source, token IDs, and trading parameters. A 'market' is an individual Yes/No question inside
- Get Trending Markets: Get trending Polymarket events ranked by trading activity. Returns active events with: slug, 24h volume, total volume, liquidity, end date, and active status. Use tag_slug to fil
What data it sees
Do you need an account
No: the server works without sign-in
MCP server that exposes Polymarket prediction market data to AI agents. Tools wrap Polymarket's public Gamma (market discovery) and Data (positions, portfolio, leaderboard) APIs.
How to connect
How to connect polymarket-mcp to Claude
The server address to paste into Claude settings:
https://polymarket-mcp--capcanillas.run.tools
- Open Claude (claude.ai or the desktop app).
- Go to Settings → Connectors.
- Click Add custom connector.
- Paste the server address copied below into Remote MCP server URL and click Add.
- In a chat, click + → Connectors and switch the new connector on.
Custom connectors are available on Free, Pro, Max, Team and Enterprise plans (Free is limited to one). On Team and Enterprise an organization Owner adds the connector first under Organization settings → Connectors.
Authorization
After you click Add, a sign-in window for the service opens. Sign in with your own account and approve access. Claude never sees your password.
How to connect polymarket-mcp to ChatGPT
The server address to paste into ChatGPT settings:
https://polymarket-mcp--capcanillas.run.tools
- Open ChatGPT in a browser (chatgpt.com). A Plus, Pro, Business, Enterprise or Edu plan is required.
- Turn on developer mode once: Settings → Apps → Advanced settings → Developer mode.
- Open Settings → Connectors and click Create.
- Fill in the form: Name (anything), Description (one line about what the service does), MCP server URL (copy it below).
- Under Authentication choose OAuth if the service requires sign-in, otherwise None. Click Create.
- In a new chat open + → Apps/Connectors and enable the connector.
OpenAI has renamed this section before (Connectors → Apps/Plugins). If the label differs, search settings for "developer mode". On Business/Enterprise workspaces an admin must allow custom connectors first.
Authorization
On first use ChatGPT opens the service's sign-in window. Sign in and approve access.
How to connect polymarket-mcp to Cursor
The server address to paste into Cursor settings:
https://polymarket-mcp--capcanillas.run.tools
Fastest: click Open in Cursor below and confirm the prompt.
Manually:
- In Cursor open Settings → Cursor Settings → MCP and click Add new global MCP server.
- Paste the JSON copied below into
~/.cursor/mcp.json(per project:.cursor/mcp.jsonin the repo root). - Save the file. The server appears in the MCP list; authorize it there if asked.
Authorization
If the service needs sign-in, an authorize button appears next to the server in the MCP list.
Server tool list (7)
Raw names from tools/list. Only developers need these.
| search_markets | Search Polymarket markets by title or description. Returns matching markets with: current price, liquidity, volume, end date, and active status. |
| get_market_details | Get full details for a single market — outcomes, prices, volume, liquidity, resolution source, token IDs, and trading parameters. A 'market' is an individual Yes/No question inside an event. |
| get_trending_markets | Get trending Polymarket events ranked by trading activity. Returns active events with: slug, 24h volume, total volume, liquidity, end date, and active status. Use tag_slug to filter by category (e.g. politics, crypto, sports). |
| get_market_holders | Get the top holders for a Polymarket market, grouped by outcome (Yes/No). Provide a condition_id, slug, or Polymarket market URL. Use get_market_details to find the condition_id for a market. |
| get_user_positions | Get current positions for a Polymarket wallet address. Returns each position with: current price, position size, average entry price, current value, and the market it belongs to. |
| get_user_performance | Get a user's trading performance summary: total positions value, volume, P&L across all positions, and their rank on the Polymarket leaderboard. Combines /value (portfolio worth) and /v1/leaderboard (rank + PnL stats). |
| get_leaderboard | Get top Polymarket traders ranked by P&L or volume. Returns rank, username, wallet address, P&L, and trading volume. Distinct from get_user_performance, which looks up a single wallet. |