Graph Polymarket MCP server
Query Polymarket prediction markets via The Graph — 20 tools, 8 subgraphs
4 stars
Reviews
Write oneNobody has reviewed Graph Polymarket yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Graph Polymarket tools (20, 1 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
get_account_pnlGet a trader's P&L and performance metrics from the Beefy P&L subgraph
get_daily_statsGet daily platform statistics from the Beefy P&L subgraph: volume, fees, trader counts, and market activity per day. Use this for trend analysis and historical performance.
get_disputed_marketsGet Polymarket markets that were disputed during the UMA oracle resolution process. Disputes happen when someone challenges a proposed outcome — these are high-signal events.
get_global_open_interestGet the total open interest across all Polymarket markets — the aggregate USDC locked in outstanding positions platform-wide.
get_global_statsGet aggregate Polymarket platform statistics. Combines market counts from the Main subgraph with accurate volume/fee/trade data from the Orderbook subgraph.
get_market_dataGet Polymarket market/condition data including outcomes and volumes from the Main subgraph
get_market_open_interestGet the top Polymarket markets ranked by open interest (USDC locked in outstanding positions). This data is unique to the Open Interest subgraph — no other Polymarket subgraph tracks OI.
get_market_positionsGet the top positions for a specific market token from the Beefy P&L subgraph. Shows who holds the largest positions and their P&L.
get_market_resolutionGet the UMA oracle resolution status for Polymarket markets. Shows whether a market is initialized, proposed, disputed, or resolved, plus proposed/final prices and dispute history.
get_market_revisionsGet moderator revisions/updates for Polymarket markets. Shows when and how moderators intervened in market resolution.
get_oi_historyGet hourly open interest snapshots for a specific Polymarket market. Use this to chart OI trends over time. The conditionId can be obtained from get_market_open_interest or the main subgraph.
get_orderbook_tradesGet recent order fills from the Orderbook subgraph
get_recent_activityGet recent splits, merges, and redemptions from the Activity subgraph
get_subgraph_schemaGet the full GraphQL schema (introspection) for a Polymarket subgraph
get_top_tradersGet the top Polymarket traders ranked by realized P&L, win rate, or volume from the Beefy P&L subgraph.
get_trader_profileGet a trader's on-chain profile from the Traders subgraph: when they first appeared, their recent CTF events (splits, merges, transfers), and USDC flows.
get_trader_usdc_flowsGet USDC deposit/withdrawal history for a trader. Shows inbound and outbound USDC transfers, useful for tracking when traders fund or withdraw from Polymarket.
get_user_positionsGet a user's current positions from the Slimmed P&L subgraph. Falls back gracefully if indexers are behind.
list_subgraphsList all available Polymarket subgraphs with descriptions and key entities
query_subgraphwrite actionExecute a custom GraphQL query against a Polymarket subgraph
Public scan report
scanner v0.1.10 · 2026-09-28 · same rubric, same numbers if you re-run it
- Code scan7 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitystatic API keys via environment variables6/15
- Maintenancelast push 50 days ago12/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How Graph Polymarket compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 78/100
- higher than 57% of 48,255 servers
- Tools
- 20
- the typical server has 7
- Tools that change things
- 5%
- typical: 0%. Fewer write tools means less an agent can break
- GitHub stars
- 4
- more than 82% of 28,688 servers
What its tools let an agent do: 19 read · 1 change
Install Graph Polymarket in Claude Code, Cursor or VS Code
Runs npx -y graph-polymarket-mcp on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add graph-polymarket-mcp -- npx -y graph-polymarket-mcp
What the publisher says
From the Graph Polymarket repository's README, as published. We do not edit it. Read it on GitHub
graph-polymarket-mcp
MCP server for querying Polymarket prediction market data via The Graph subgraphs and Polymarket REST APIs.
Exposes 31 tools that AI agents (Claude, Cursor, etc.) can use to search markets, get real-time CLOB prices and order books, query on-chain data, trader P&L, positions, activity, open interest, market resolution status, and trader profiles.
v2.0.0 — adds 10 new tools powered by Polymarket's Gamma and CLOB APIs (inspired by polymarket-cli): market search, event browsing, live prices, spreads, order books, price history, and more. No API key needed for these tools — they hit Polymarket's public REST endpoints directly.
Published to the MCP Registry as io.github.PaulieB14/graph-polymarket-mcp
Prerequisites
You need a free Graph API key (takes ~2 minutes):
- Go to The Graph Studio
- Connect your wallet (MetaMask, WalletConnect, etc.)
- Click "API Keys" in the sidebar and create one
- Free tier includes 100,000 queries/month
Installation
npm install -g graph-polymarket-mcpOr use directly with npx:
npx graph-polymarket-mcpConfiguration
Claude Desktop
Add to your claudedesktopconfig.json:
{
"mcpServers": {
"graph-polymarket": {
"command": "npx",
"args": ["-y", "graph-polymarket-mcp"],
"env": {
"GRAPH_API_KEY": "your-api-key-here"
}
}
}
}Claude Code
claude mcp add graph-polymarket -- npx -y graph-polymarket-mcpSet the environment variable GRAPHAPIKEY before running.
Cursor / Other MCP Clients
Use the stdio transport with npx graph-polymarket-mcp as the command, passing GRAPHAPIKEY as an environment variable.
OpenClaw / Remote Agents (SSE)
The SSE transport has no authentication. Anyone who can reach the port can call every tool,
and those calls spend your GRAPHAPIKEY quota. --http binds 0.0.0.0 inside a container,
so publish it to 127.0.0.1 on the host and put a reverse proxy with TLS and auth in front of
anything reachable off-box. For local agents, prefer the default stdio transport — it has no
network surface at all.
Start the server with the HTTP transport:
# Dual transport — stdio + SSE on port 3851
GRAPH_API_KEY=your-key npx graph-polymarket-mcp --http
# SSE only (for remote/server deployments)
GRAPH_API_KEY=your-key npx graph-polymarket-mcp --http-only
# Custom port
MCP_HTTP_PORT=4000 GRAPH_API_KEY=your-key npx graph-polymarket-mcp --httpThen point your agent at the SSE endpoint:
{
"mcpServers": {
"graph-polymarket": {
"url": "http://localhost:3851/sse"
}
}
}Transport Modes
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Graph Polymarket: common questions
- Is Graph Polymarket MCP server safe?
- Mostly: it is graded B (78/100). Read the Graph Polymarket safety report
- How do I install Graph Polymarket?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Graph Polymarket need an API key?
- Yes. The registry entry asks for
GRAPH_API_KEY. - Is Graph Polymarket maintained?
- The last commit was 87 days ago (2026-08-09). The latest release is v1.4.0.
- What can I use instead of Graph Polymarket?
- Servers from other publishers that do the same job: CCXT MCP server.
- How does Graph Polymarket compare with other MCP servers?
- safety score 78/100 (higher than 57% of 48,255 servers); tools 20 (the typical server has 7); tools that change things 5% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to Graph Polymarket
Same job from other publishers: the closest match first, then the best rated.
- CCXTOfficial CCXT MCP server - Market data and trading across 100+ exchanges and prediction marketsnot reviewedWidely usedA