Prototype · Preview: every server in the official registry, synced every 30 minutes. Reviews and accounts come in a later step.
PopNx MCPMCP servers for people who use AI · explained in plain words

Graph Polymarket MCP

by PaulieB14version 1.4.0i★ –iRuns on your computer
Registry nameio.github.PaulieB14/graph-polymarket-mcp

Install

Overview

Description from the maker (original English)

Query Polymarket prediction markets via The Graph — 20 tools, 8 subgraphs

PopNx MCP’s three pillars

These three are never merged into one score: opinions, measurements and popularity are different things.

What you can do with it

We have not written a plain-language summary for this one yet. Below are the facts we read from the registry.

  • Connection: Runs on your computer
  • Transport: stdio
  • Category: Crypto & blockchain
  • You need to fill in: GRAPH_API_KEY

Install

Pick the AI app you use, then copy the settings.

Before you install

  • Basic checks: 1 of 1 passed
  • Runs on your computer with your user’s permissions (files, network, apps).
  • You fill in yourself: GRAPH_API_KEY

Values marked secret are keys to your account. Never share them or paste them into a chat.

You need

  • npmNode.js installed (for the npx command)

Which app do you use?

Pick your app above. We remember it, so next time the button says “Install in …”.

Open Claude Desktop → Settings → Developer → Edit Config, and paste this into claude_desktop_config.json

{
  "mcpServers": {
    "graph-polymarket": {
      "command": "npx",
      "args": [
        "-y",
        "graph-polymarket-mcp"
      ],
      "env": {
        "GRAPH_API_KEY": "your-value"
      }
    }
  }
}

Run this in your terminal

claude mcp add graph-polymarket --env GRAPH_API_KEY=your-value -- npx -y graph-polymarket-mcp

Fill in the empty values before running it.

Open in Cursor

Or copy the settings yourself

Paste into .cursor/mcp.json in your project, or ~/.cursor/mcp.json

{
  "mcpServers": {
    "graph-polymarket": {
      "command": "npx",
      "args": [
        "-y",
        "graph-polymarket-mcp"
      ],
      "env": {
        "GRAPH_API_KEY": "your-value"
      }
    }
  }
}

Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.

Open in VS Code

Or copy the settings yourself

Paste into .vscode/mcp.json in your project

{
  "servers": {
    "graph-polymarket": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "graph-polymarket-mcp"
      ],
      "env": {
        "GRAPH_API_KEY": "your-value"
      }
    }
  }
}

Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.

This one runs on your computer, and ChatGPT can only connect to servers on the internet. Pick another app.

Your choice stays on this device in a cookie; no account needed.

Values you fill in

  • GRAPH_API_KEY secret required env
    API key for The Graph network (optional, for higher rate limits)

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 9, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account PaulieB14, which owns the repo

  • … Not checked yet

    Still maintained

    We have not read this repo from GitHub yet

  • … Not checked yet

    Has a licence

    We have not read this repo from GitHub yet

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Compared with others in Crypto & blockchaini

  • More stars than 0% of the other 1622 servers in this category
  • Published to the registry more recently than 5% of the other 1622 servers in this category
  • Basic checks equal to or better than 100% of the other 1622 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is Graph Polymarket MCP safe?

It passed 1 of 1 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

You need to fill in: GRAPH_API_KEY

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed –, and the latest version (1.4.0) reached the registry 8 months ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.

What can I use instead?

In the same category: Verdict: DeFi risk ratings, Highwire, Nftdata MCP

Alternatives

Servers in the same category from other makers, sorted by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

Verdict: DeFi risk ratings

Verdict, the security marketplace for DeFi: keyless ratings, methodology and a hack incident feed.

by Verdict-CapitalVery new↓ 71/wkUpdated today

Runs on your computer

Highwire

Trade, launch and research higher.fun coins on Solana, from any AI agent. Unsigned or policy-signed.

by HigherMaestroGrowing↓ 1.7K/wkUpdated today

Computer or cloud✓ highwire.fun

Nftdata MCP

OpenSea NFT data, paid per request in USDC on Base via x402 (default) or MPP.

by Nomad07Early↓ 735/wkUpdated today

Runs on your computer

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

graph-polymarket-mcp

MCP server for querying [Polymarket](https://polymarket.com/) prediction market data via [The Graph](https://thegraph.com/) 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):

  1. Go to The Graph Studio
  2. Connect your wallet (MetaMask, WalletConnect, etc.)
  3. Click "API Keys" in the sidebar and create one
  4. Free tier includes 100,000 queries/month

Installation

npm install -g graph-polymarket-mcp

Or use directly with npx:

npx graph-polymarket-mcp

Configuration

Claude Desktop

Add to your claude_desktop_config.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-mcp

Set the environment variable GRAPH_API_KEY before running.

Cursor / Other MCP Clients

Use the stdio transport with npx graph-polymarket-mcp as the command, passing GRAPH_API_KEY 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* GRAPH_API_KEY 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 --http

Then point your agent at the SSE endpoint:

{

"mcpServers": { "graph-polymarket": { "url": "http://localhost:3851/sse" } } }

Transport Modes
InvocationTransportsUse case
npx graph-polymarket-mcpstdioClaude Desktop, Cursor, Claude Code
npx graph-polymarket-mcp --httpstdio + SSE :3851Dual — local + remote agents
npx graph-polymarket-mcp --http-onlySSE :3851OpenClaw, remote deployments

A /health endpoint is available at http://localhost:3851/health when HTTP transport is active.

Available Tools

Core Tools
ToolDescription
list_subgraphsList all available Polymarket subgraphs with descriptions and key entities
get_subgraph_schemaGet the full GraphQL schema for a specific subgraph
query_subgraphExecute a custom GraphQL query against any subgraph
Domain-Specific Tools
ToolDescriptionSubgraphs
get_market_dataGet market/condition data with outcomes and resolution statusMain
get_global_statsGet platform stats: market counts + real volume/fees/tradesMain + Orderbook
get_account_pnlGet a trader's P&L and performance metrics (winRate, profitFactor, maxDrawdown)Beefy P&L
get_top_tradersLeaderboard ranked by PnL, winRate, volume, or profitFactor. Cross-refs Orderbook to flag rows where OB volume exceeds Beefy-tracked volume and surface OB-only traders absent from the leaderboard.Beefy P&L + Orderbook
get_daily_statsDaily volume, fees, trader counts, and market activity (1–90 days)Beefy P&L
get_market_positionsTop holders for a specific outcome token with their P&LBeefy P&L
get_user_positionsCurrent token positions. Cross-refs Orderbook: flags ⚠ orderbook-only entry when totalBought=0 but OB volume exists, and ⚠ mixed entry when OB volume > 2× split collateral.Slimmed P&L + Orderbook
get_recent_activityUnified chronological feed interleaving splits, merges, and redemptions with orderbook fills. Supports optional address filter.Activity + Orderbook
get_orderbook_tradesGet recent order fills with maker/taker filteringOrderbook
get_market_open_interestTop markets ranked by USDC locked in outstanding positions. Cross-refs Main subgraph to flag ⚠ dead money OI on resolved markets (losing-side tokens that will never be redeemed on-chain).Open Interest + Main
get_oi_historyHourly OI snapshots for a specific market (for charting trends)Open Interest
get_global_open_interestTotal platform-wide open interest and market countOpen Interest
get_market_resolutionUMA oracle resolution status with filtering by statusResolution
get_disputed_marketsMarkets disputed during oracle resolution (high-signal events)Resolution
get_market_revisionsModerator interventions and updates on market resolutionResolution
get_trader_profileFull trader profile combining CTF events and USDC flows with Orderbook fills. Classifies wallet as hybrid / orderbook-only / split-collateral-only and warns when P&L subgraphs are unreliable.Traders + Orderbook
get_trader_usdc_flowsUSDC deposit/withdrawal history with direction filteringTraders
Polymarket REST API Tools (no Graph API key needed)
ToolDescriptionAPI
search_marketsSearch markets by text query with filters (active, closed, sort by volume/liquidity)Gamma
get_market_infoGet detailed market metadata by slug or condition IDGamma
list_polymarket_eventsBrowse events (groups of related markets) with tag/status filtersGamma
get_polymarket_eventGet a single event with all its associated marketsGamma
get_live_pricesReal-time CLOB prices for outcome tokens (buy/sell, single or batch)CLOB
get_live_spreadBid-ask spread + midpoint for assessing market liquidityCLOB
get_live_orderbookFull order book (all resting bids and asks) for a tokenCLOB
get_price_historyHistorical price time-series (1m to max interval, configurable fidelity)CLOB
get_last_tradeLast trade price for an outcome tokenCLOB
get_clob_marketCLOB market details: token IDs, live prices, min order/tick sizesCLOB
search_markets_enrichedPower tool: search + auto-enrich with live CLOB prices AND on-chain resolution status in one callGamma + CLOB + Graph
CLOB V2 Tools

Polymarket migrated to V2 exchange contracts on 2026-04-28. These tools read the V2 subgraphs, which index from block 84902353 and hold no pre-migration history — V1 and V2 are different eras, not old and new.

ToolDescriptionSubgraphs
get_builder_leaderboardRank V2 builders by routed volume, order count or fees, with each builder's share of V2 volume. No V1 equivalent — the V1 contracts never emitted a builder codeV2 Orderbook
get_builder_activityRecent fills routed by one builder code, plus that builder's aggregate totalsV2 Orderbook
get_v2_top_tradersTop real V2 traders, with the exchange contracts filtered outV2 Orderbook
check_subgraph_freshnessHow far behind chainhead any subgraph is, read live from its _meta blockAny

Builder attribution is the capability V2 adds. Every V2 fill carries the builder code of the frontend, bot or integrator that routed it, so "who is actually routing this flow" becomes an answerable question — 3,325 builders as of 2026-08-08.

Two traps these tools handle for you. The V2 exchange contracts appear as Account rows, because the exchange is the taker when an order matches the book — ranking accounts naively returns 0xe111…996b (176M fills) and 0xe222…0f59 (41M fills) above every human. get_v2_top_traders excludes them. check_subgraph_freshness reports any subgraph's head block before you trust a number.

Data Sources

The Graph Subgraphs (requires GRAPH_API_KEY)

On-chain indexed data — authoritative for historical analytics, P&L, open interest, and resolution status.

Subgraphs

CLOB V2 — primary (from block 84902353)
NameIPFS HashStatusDescription
V2 MainQmTKrqyYg23BjhihmsrRjbV9cVS2piNmnHsr7cjYaTgdWuat chainheadConditions, resolution status and counters (default for market tools)
V2 OrderbookQmNtJGxpAjFgoHhMwdijyvbLrpPPiHHX2qct56nTpk42Bsat chainheadV2 fills with builder-code attribution
V2 P&LQmT21E4p8r6FCzW2EPK4NVj1dbcggdvKxZr8uuMcB4P5Cuat chainheadCost basis and realized P&L from V2 fills only
Open Interest V2QmbT2MmS2VGbGihiTUmWk6GMc2QYqoT9ZhiupUicYMWt6H⚠️ no indexer allocated (2026-10-15)Per-market and global OI with hourly snapshots

Status verified via _meta on 2026-10-15.

V1 — legacy (pre-2026-04-28 migration history)
NameIPFS HashDescription
Main (legacy)QmdyCguLEisTtQFveEkvMhTH7UzjyhnrF9kpvhYeG4QX8aAll-time conditions incl. pre-migration; pass subgraph: "main"
Beefy P&LQmbHwcGkumWdyTK2jYWXV3vX4WyinftEGbuwi7hDkhPWqGComprehensive P&L tracking
Slimmed P&LQmZAYiMeZiWC7ZjdWepek7hy1jbcW3ngimBF9ibTiTtwQUMinimal position data
ActivityQmf3qPUsfQ8et6E3QNBmuXXKqUJi91mo5zbsaTkQrSnMAPPosition management events
OrderbookQmVGA9vvNZtEquVzDpw8wnTFDxVjB6mavTRMTrKuUBhi4tOrder fill analytics (all-time volume)
ResolutionQmZnnrHWCB1Mb8dxxXDxfComjNdaGyRC66W8derjn3XDPgUMA oracle resolution lifecycle
TradersQmfT4YQwFfAi77hrC2JH3JiPF7C4nEn27UQRGNpSpUupqnPer-trader event logs and USDC flows

Open Interest is already a V2 deployment; it reads ConditionalTokens, which V2 left unchanged, so it has no migration discontinuity.

Which era to ask: all-time or pre-2026-04-28 → V1. Post-migration activity, or anything about builders → V2. beefy_pnl keeps the hedge-fund metrics (winRate, profitFactor, maxDrawdown, daily series) that V2 P&L does not have, so trader-quality scoring stays on V1.

Example Queries

Once connected, an AI agent can:

Market Discovery (Gamma API)
  • "Search for prediction markets about AI"
  • "Show me the most active Polymarket events right now"
  • "Find markets about the 2024 election sorted by volume"
  • "What markets are in the 'crypto' category?"
Live Trading

Only the beginning is shown; read the rest in the repo

Ask PopNx