Skip to main content
Glama
ozgureyilmaz

Polymarket MCP

by ozgureyilmaz

polymarket-mcp

🎲 prediction markets at your fingertips

mcp server and cli for polymarket. get real-time market data, prices, and search through claude desktop or terminal.

CI Release License: MIT Ask DeepWiki

features

real-time data: active markets, trending by volume, current prices.

search: find markets by keyword across questions and descriptions.

multiple interfaces: claude desktop integration + standalone cli.

output formats: json, pretty-printed, or clean tables.

caching: built-in smart caching with auto-retry logic.

requirements

rust 1.70+ (curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh)

claude desktop for mcp integration (download)

install

cargo install --git https://github.com/ozgureyilmaz/polymarket-mcp

binary installs to ~/.cargo/bin/polymarket-mcp.

setup

configure claude desktop:

edit ~/Library/Application Support/Claude/claude_desktop_config.json (macos):

{
  "mcpServers": {
    "polymarket": {
      "command": "polymarket-mcp"
    }
  }
}

restart claude desktop.

usage

cli

# trending markets
polymarket-mcp --output table trending --limit 5

# active markets
polymarket-mcp --output table markets --limit 10

# search
polymarket-mcp --output table search "fed" --limit 5

# market details
polymarket-mcp market 601700

# prices
polymarket-mcp prices 601700

with claude

after setup, ask claude:

  • "show me trending prediction markets"

  • "search for markets about trump"

  • "what's the current price on the fed decision market?"

development

cargo test
cargo build --release
-
security - not tested
A
license - permissive license
-
quality - not tested

Resources

Looking for Admin?

Admins can modify the Dockerfile, update the server description, and track usage metrics. If you are the server author, to access the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ozgureyilmaz/polymarket-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server