Skip to main content
Glama
Polymarket MCP Server

Polymarket MCP Server

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

Related MCP server: Polymarket MCP 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

Available Tools

6 tools
get_polymarket_bet_analysisA

Full bet analysis: current odds, implied probability, potential profit on a $100 bet, vig estimate, and value assessment.

Inputs: slug (required), betSize.

get_polymarket_eventsA

List Polymarket events (groupings of related markets). Good for browsing by category like politics, sports, crypto.

Inputs: category, limit.

get_polymarket_marketA

Get full details for a specific Polymarket market by slug. Includes current odds, outcomes, volume, liquidity, and order book.

Inputs: slug (required), includeBook.

get_polymarket_priceA

Get current odds for a specific market by slug. Shows all outcomes with implied probability.

Inputs: slug (required).

search_polymarketA

Search Polymarket markets by keyword. Returns matching events with their markets, odds, and volume. Use this to find slugs for other tools.

Inputs: query (required), limit.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.1/5.0

    Scored across 6 tools

    Disambiguation5/5

    Each tool has a clearly distinct function: analysis, event listing, market details, price, trending, and search. No overlapping purposes.

    Naming Consistency5/5

    All tools use a consistent 'get_' or 'search_' prefix followed by the domain name 'polymarket' with underscore-separated words, making them predictable.

    Tool Count5/5

    Six tools is optimal for a prediction market server, covering browsing and analysis without being too sparse or overly numerous.

    Completeness4/5

    The tools cover key operations: listing, searching, getting details, pricing, trending, and analysis. However, actions like placing bets or managing accounts are absent, which might limit full workflow integration.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    • Read-only MCP server for live Polymarket, Kalshi, Limitless odds; Manifold sentiment.

      https://mcp.parlay.run/mcp
    • Your agent needs the crowd's number — live odds on elections, policy, macro prints and sport, from the venues where people put money behind the opinion. **What you can ask for** • "What are the current odds on this event?" • "List the open markets on this topic across both venues." • "Show recent trades and how the price moved." • "What is the implied probability now versus a week ago?" **How to use it** Point any MCP client at https://mcp.aisa.one/prediction-market-data/mcp and sign in with OAuth — there is no key to create or paste. 5 tools: Kalshi markets and trades, Polymarket markets, events and activity. **Why this rather than the source** Both venues in one shape, so the same question can be priced twice. **It is also a door to the rest** The same login reaches 26 sources and 580+ operations. Read the odds here, then ask the same agent for the market data or the news behind them — without adding a second server. **What it costs** Finding and inspecting an operation is free. Running one is billed per call at API prices, with no seat and no monthly minimum, and every call takes max_price_usd so an agent cannot overspend by accident. **Where else it reaches** https://mcp.aisa.one/finance/mcp for equities, crypto and prediction markets in one place.

    • Historical tick, order book and settlement data for Polymarket and Predict.fun crypto up/down markets, plus smart-money lists and backtest quotes, over a read-only MCP server.

    • Polymarket & Kalshi live prediction market odds aggregator and cross-venue arbitrage scanner MCP.

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      A Model Context Protocol server that enables seamless integration with Polymarket, providing tools to search markets, fetch events, analyze leaderboards, query user activity, and more via MCP-compatible clients like Claude.
      44 npm
      MIT
    • A
      license
      C
      quality
      D
      maintenance
      MCP server exposing 47 Polymarket API tools for AI assistants. Covers the full Gamma, CLOB, and Data APIs plus a fluent MarketBuilder for multi-source queries.
      47
      44 npm
      2
      MIT