Polymarket MCP Server
MCP server for Polymarket prediction markets, enabling search, market details, pricing, and bet analysis through 6 tools, with optional authenticated trading via API key.
README
Polymarket MCP Server
MCP server for Polymarket prediction markets — powered by the official polymarket-us TypeScript SDK.
Features
- 6 MCP tools for reading market data, searching, and analyzing bets
- Public data — no API key needed for reading markets
- Trading ready — supports authenticated endpoints with API key
- Dual mode — runs as stdio MCP (DuckHive/OpenClaw) or HTTP server
Installation
cd polymarket-mcp
npm install
DuckHive / OpenClaw Setup
Add to ~/.duckhive.json:
{
"mcpServers": {
"polymarket": {
"command": "node",
"args": ["/path/to/polymarket-mcp.mjs"]
}
}
}
For trading (optional), add your API key:
{
"mcpServers": {
"polymarket": {
"command": "node",
"args": ["/path/to/polymarket-mcp.mjs"],
"env": {
"POLYMARKET_KEY_ID": "your_key_id",
"POLYMARKET_SECRET_KEY": "your_secret_key"
}
}
}
}
Get your API key at: https://app.polymarket.com/api-keys
Tools
| Tool | Description |
|---|---|
search_polymarket |
Search markets by keyword |
get_polymarket_market |
Full market details by slug |
get_polymarket_trending |
Trending events by volume |
get_polymarket_price |
Current odds + best bid/ask |
get_polymarket_bet_analysis |
Odds, profit calc, vig, value rating |
get_polymarket_events |
Browse events by category |
HTTP Mode (testing)
node polymarket-mcp.mjs --http
curl http://localhost:3457/health
Known 2026 Midterm Slugs
| Market | Slug |
|---|---|
| Senate GOP win | paccc-usse-midterms-2026-11-03-rep |
| Senate Democrat win | paccc-usse-midterms-2026-11-03-dem |
| House Democrat win | paccc-usho-midterms-2026-11-03-dem |
| House GOP win | paccc-usho-midterms-2026-11-03-rep |
Docs
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.