Polymarket MCP
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Polymarket MCPSearch for markets about Dogecoin"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Polymarket MCP
MCP server that exposes read-only Polymarket prediction market data to AI agents. Tools wrap Polymarket's public Gamma (market discovery) and Data (positions, portfolio, leaderboard) APIs. There is no CLOB integration — this server cannot place trades or read order books.
Tools
Tool | Description |
| Search markets by title or description |
| Full details for a single market (by slug or Polymarket URL) |
| Trending events ranked by volume, liquidity, or competitiveness |
| Top holders per outcome for a market (by condition ID, slug, or URL) |
| Top traders ranked by P&L or volume |
| Open positions for a wallet address |
| Portfolio value, P&L, volume, and leaderboard rank for one wallet |
All tools return markdown formatted for agent consumption. No API keys or wallet signing are required.
Related MCP server: Polymarket MCP Server
Resources
Static reference context (no API calls). Attach in MCP clients or read via Inspector.
URI | Description |
| Event, market, slug, conditionId, and wallet terminology |
| Leaderboard categories, time periods, and tag slugs |
| When to use each tool and chaining workflows |
Prompts
User-triggered workflow templates that orchestrate tools:
Prompt | Description |
| Market details → holders → research summary ( |
| Side-by-side performance and positions for two wallets |
| Trending events scan with optional |
Requirements
Quick start
This server uses streamable HTTP at http://127.0.0.1:8000/mcp. Start the server first, then connect your MCP client to that URL.
git clone https://github.com/0xChron/polymarket-mcp.git
cd polymarket-mcp
uv sync
uv run polymarket-mcpOn Windows, use the same commands in PowerShell, Command Prompt, or Git Bash. Leave the terminal open while your MCP client is connected.
Docker
Works the same on all platforms if Docker Desktop is installed:
git clone https://github.com/0xChron/polymarket-mcp.git
cd polymarket-mcp
docker build -t polymarket-mcp .
docker run --rm -p 8000:8000 -e FASTMCP_HOST=0.0.0.0 polymarket-mcpFASTMCP_HOST=0.0.0.0 lets the server accept connections from outside the container.
Verify the server
Open MCP Inspector in another terminal:
npx -y @modelcontextprotocol/inspectorConnect to http://localhost:8000/mcp using the Streamable HTTP transport.
Connect from an MCP client
This server uses the streamable-http transport (not stdio). Start the server first (see Quick start), then add the config below to your MCP client.
Claude Desktop
Go to Claude → Settings → Developer → Edit Config to open claude_desktop_config.json, then include the following:
{
"mcpServers": {
"polymarket": {
"url": "http://localhost:8000/mcp"
}
}
}If you already have other MCP servers configured, add the "polymarket" entry inside your existing mcpServers object instead of replacing the whole file.
Config file location if you prefer to edit it manually:
Platform | Path |
macOS |
|
Windows |
|
Save the file and fully quit and restart Claude Desktop. The server must be running in a terminal before you start a new chat.
Cursor
Go to Settings → Tools & MCP → New MCP Server to open ~/.cursor/mcp.json (Windows: %USERPROFILE%\.cursor\mcp.json), then add the same polymarket entry:
{
"mcpServers": {
"polymarket": {
"url": "http://localhost:8000/mcp"
}
}
}Restart Cursor after saving.
Example agent prompts
Once connected, an agent can call tools naturally:
"Search Polymarket for active markets about Bitcoin ETFs"
"What are the trending markets right now?"
"Who are the top holders of the Trump election market?"
"Show the all-time P&L leaderboard for crypto traders"
"Get details for https://polymarket.com/event/will-bitcoin-hit-100k"
"Show open positions for wallet
0x…""What is the all-time P&L and leaderboard rank for
0x…?"
In MCP Inspector, try the Prompts tab (e.g. research_market) or read Resources for the glossary and tool guide.
Configuration
Optional environment variables override API endpoints and server settings.
macOS / Linux / Git Bash
export FASTMCP_HOST=0.0.0.0
export FASTMCP_PORT=8000
uv run polymarket-mcpWindows (PowerShell)
$env:FASTMCP_HOST = "0.0.0.0"
$env:FASTMCP_PORT = "8000"
uv run polymarket-mcpVariable | Default | Description |
|
| Gamma API base URL |
|
| Data API base URL |
|
| HTTP request timeout (seconds) |
|
| Bind address ( |
|
| Listen port |
Development
uv run polymarket-mcp # Start the server
uv run pytest # Run tests
npx -y @modelcontextprotocol/inspector # Open MCP Inspector
docker build -t polymarket-mcp . # Build Docker imageOn macOS/Linux, make run, make test, and similar shortcuts in the Makefile wrap the same commands.
See docs/PROJECT_KNOWLEDGE_BASE.md for architecture, conventions, and how to add new tools.
License
MIT — see LICENSE.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityCmaintenanceAn MCP server that enables querying Polymarket prediction market data through The Graph subgraphs. It provides tools for accessing market stats, trader P\&L, user positions, and orderbook activity using AI agents.Last updated31733MIT
- AlicenseAqualityDmaintenanceMCP server for Polymarket prediction markets, enabling search, market details, pricing, and bet analysis through 6 tools, with optional authenticated trading via API key.Last updated641MIT
- FlicenseAqualityBmaintenanceAI-agent ready FastMCP server for Polymarket market discovery, wallet analytics, and public CLOB data, providing a read-only interface for querying markets, wallets, and order books.Last updated22
- AlicenseAqualityBmaintenanceA read-only MCP server exposing Polymarket's public prediction-market data. Search markets, read live odds and order books, pull historical probability time-series, and inspect public wallet positions.Last updated14MIT
Related MCP Connectors
Read-only MCP server for live Polymarket, Kalshi, Limitless odds; Manifold sentiment.
Polymarket MCP — prediction-market data via Gamma + CLOB public APIs.
Read-only MCP server for Robinhood Chain token discovery, research, and due diligence via GMGN.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/0xChron/polymarket-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server