MCP Catalogs
Home

polymarket-mcp

by pab1it0·6·Score 40

MCP server providing access to Polymarket's prediction markets data through standardized interfaces.

financeai-llmdeveloper-tools
3
Forks
1
Open issues
2 mo ago
Last commit
2d ago
Indexed

Overview

The polymarket-mcp server serves as a bridge between AI assistants and Polymarket's Gamma Markets API, allowing AI systems to query prediction market data, access market details, retrieve order book information, and analyze market trends. It provides both Docker and UV installation methods, making it accessible for various deployment scenarios.

Try asking AI

After installing, here are 5 things you can ask your AI assistant:

you:AI assistants providing market analysis and insights on prediction markets
you:Automated trading systems that react to Polymarket data changes
you:Research tools that aggregate and analyze prediction market trends
you:What is the Gamma Markets API?
you:How do I authenticate with the API?

When to choose this

Choose this MCP server if you need AI assistants to access Polymarket's prediction market data through standardized interfaces without implementing custom API integrations.

When NOT to choose this

Don't choose this if you need access to other prediction markets beyond Polymarket or require more advanced trading functionality than market data access.

Tools this server exposes

8 tools extracted from the README
  • get_markets

    Get a list of all available markets with comprehensive filtering options

  • get_market_by_id

    Get detailed information about a specific market

  • get_order_book

    [EXPERIMENTAL] Get the current order book for a market

  • get_recent_trades

    [EXPERIMENTAL] Get latest trades for a market

  • get_market_history

    [EXPERIMENTAL] Get historical market data

  • search_markets

    Search for markets by keyword using slug filtering

  • get_events

    Get a list of all available events with comprehensive filtering options

  • get_event_by_id

    Get detailed information about a specific event

Comparable tools

prediction-mcpmarket-data-mcptrading-mcp

Installation

Docker Installation

  1. Build the Docker image:
docker build -t polymarket-mcp-server .
  1. Add to Claude Desktop configuration:
{
  "mcpServers": {
    "polymarket": {
      "command": "docker",
      "args": [
        "run",
        "--rm",
        "-i",
        "-e", "GAMMA_API_URL",
        "-e", "GAMMA_REQUIRES_AUTH",
        "polymarket-mcp-server"
      ],
      "env": {
        "GAMMA_API_URL": "https://gamma-api.polymarket.com",
        "GAMMA_REQUIRES_AUTH": "false"
      }
    }
  }
}

UV Installation (Alternative)

  1. Set up environment:
cp .env.template .env
# Edit .env with your configuration
  1. Add to Claude Desktop configuration:
{
  "mcpServers": {
    "polymarket": {
      "command": "/usr/local/bin/uv",
      "args": [
        "run",
        "-m", "polymarket_mcp_server.main"
      ],
      "cwd": "<full path to polymarket-mcp directory>",
      "env": {
        "GAMMA_API_URL": "https://gamma-api.polymarket.com",
        "GAMMA_REQUIRES_AUTH": "false"
      }
    }
  }
}

FAQ

What is the Gamma Markets API?
Gamma Markets API is Polymarket's official API for accessing prediction market data, including markets, events, order books, and historical data.
How do I authenticate with the API?
Set GAMMA_REQUIRES_AUTH=true in your environment and provide appropriate authentication credentials in your requests.

Compare polymarket-mcp with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.