
Polymarket Mcp
io.github.0xChronPublished by GitHub account 0xChronv0.1.1Updated Oct 24, 2026
Read-only Polymarket prediction market data for AI agents.
Overview
Read-only MCP server that gives an assistant Polymarket prediction market data: market search, details, trending events, holders, leaderboards and wallet stats.
- What you can do
- Search markets by title or description and fetch full details for a single market by slug or URL, plus trending events ranked by volume, liquidity or competitiveness. Look up top holders per outcome for a market. Read trader leaderboards ranked by P&L or volume. Check a wallet's open positions and its portfolio value, P&L, volume and leaderboard rank. Reference resources explain Polymarket terminology and tool workflows, and prompts run research, trader comparison and trending scans.
- When to use it
- Useful when you want an assistant to research prediction markets, compare traders or wallets, or scan trending Polymarket events without leaving the chat. Not for trading or order book data, which it does not cover.
- Requirements
- Python 3.12+ and uv (or Docker); Node.js only for the optional MCP Inspector. The server runs locally over streamable HTTP at and must be started before the MCP client connects. No API keys or wallet signing; outbound access to Polymarket's public Gamma and Data APIs is needed.
Installation
In SourceWeft
- Open Polymarket Mcp in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
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
All tools return markdown formatted for agent consumption. No API keys or wallet signing are required.
Resources
Static reference context (no API calls). Attach in MCP clients or read via Inspector.
Prompts
User-triggered workflow templates that orchestrate tools:
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.
On 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:
FASTMCP_HOST=0.0.0.0 lets the server accept connections from outside the container.
Verify the server
Open MCP Inspector in another terminal:
Connect 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:
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:
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:
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
Windows (PowerShell)
Development
On 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.
Source: README.md at commit 2471b59
Tools
0Version history
1- v0.1.1LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts