Polymarket MCP Tool
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Polymarket MCP Tool show me the current odds for the 2024 US presidential election"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Polymarket MCP Tool
A Model Context Protocol (MCP) tool for interacting with Polymarket through Claude Desktop.
Prerequisites
Claude Desktop App for Mac
Python 3.8+
Related MCP server: Polymarket MCP Server
Installation
Clone this repository:
git clone https://github.com/fernandezpablo85/polymarket-mcp.git
cd polymarket-mcpInstall
uvif you haven't already:
curl -LsSf https://astral.sh/uv/install.sh | shInstall dependencies:
uv syncConfigure Claude Desktop
Open Claude Desktop configuration directory:
open ~/Library/Application\ Support/ClaudeCreate or edit
claude_desktop_config.json:
touch ~/Library/Application\ Support/Claude/claude_desktop_config.jsonAdd the following configuration:
{
"mcpServers": {
"polymarket": {
"command": "/Users/YOUR_USERNAME/.local/bin/uv",
"args": [
"--directory",
"/Users/YOUR_USERNAME/projects/polymarket-mcp",
"run",
"main.py"
]
}
}
}Replace YOUR_USERNAME with your actual macOS username.
Usage
Invoke the tool via Claude Desktop.
Troubleshooting
If tools don't appear in Claude Desktop:
Verify your
claude_desktop_config.jsonis correctRestart Claude Desktop
Check your Python path and dependencies
If authentication fails:
Verify your
.envfile has correct credentialsCheck Polymarket API status
License
MIT
Contributing
Feel free to open issues or submit pull requests.
Available Tools
3 toolsprediction_markets_markets_by_topicA
Call after you have a Polymarket topic slug (from the user or
prediction_markets_trending_topics) and need the top markets under it.
Parameters
topic_slug : str Identifier such as "trump-presidency". limit : int, default 10 Number of markets to return, ranked by 24-hour volume (desc).
Returns
str
JSON array of objects with the schema:
[
{
"title": "Trump to win 2024?",
"volume": 123456.78,
"outcomes": [
{"option": "Yes", "probability": 0.42},
{"option": "No", "probability": 0.58}
]
},
…
]
Parse with json.loads.
Inputs: topic_slug (required), limit.
prediction_markets_trending_topicsA
Use when analysing a user’s portfolio and you need external sentiment from prediction markets.
Retrieves today’s trending Polymarket topics (ordered by 24-hour volume).
Pass any slug from this list to prediction_markets_markets_by_topic
to pull the individual markets for that theme.
Returns
str A JSON array (string) of topic slugs ordered by 24-hour volume, e.g. '["Trump-Presidency", "Oil-Prices", "Iran"]'.
Inputs: no named parameters.
search_prediction_marketsB
Search prediction markets by any term.
Parameters
search_term : str Identifier such as "argentina".
Returns
str
JSON array of objects with the schema:
[
{
"title": "Trump to win 2024?",
"volume": 123456.78,
"outcomes": [
{"option": "Yes", "probability": 0.42},
{"option": "No", "probability": 0.58}
]
},
…
]
Parse with json.loads.
Inputs: search_term (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
The three tools have distinct primary purposes: getting trending topics, fetching markets by topic, and searching markets by term. However, there is some functional overlap between `prediction_markets_markets_by_topic` and `search_prediction_markets` as both return market data, which could cause minor confusion about when to use each.
All tool names follow a consistent snake_case pattern with a clear `prediction_markets_` prefix and descriptive suffixes (`trending_topics`, `markets_by_topic`, `search_prediction_markets`). The naming is predictable and follows a logical structure throughout.
With only 3 tools, the server feels somewhat thin for a prediction markets domain. While the tools cover basic discovery and search functionality, the limited count suggests potential gaps in comprehensive market interaction capabilities that might be expected from such a service.
The tools provide good discovery and search capabilities but lack any market interaction functions (like placing bets, viewing user positions, or managing portfolios). For a prediction markets server, this represents notable gaps in the full lifecycle of market participation, though the provided tools work well together for information gathering.
Maintenance
Related MCP Connectors
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.
Read-only MCP server for live Polymarket, Kalshi, Limitless odds; Manifold sentiment.
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Polymarket MCP — prediction-market data via Gamma + CLOB + Data public APIs.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol (MCP) server for Polymarket prediction markets, providing real-time market data, prices, and AI-powered analysis tools for Claude Desktop integration.48MIT
- FlicenseNot gradedqualityDmaintenanceMCP server that exposes Polymarket prediction markets via CLI wrapper. Enables AI agents to discover markets, check prices, and place trades programmatically.-
- FlicenseAqualityCmaintenanceA 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.15-
- AlicenseNot gradedqualityCmaintenanceMCP server for querying and optionally trading across prediction markets (Polymarket, Kalshi, Limitless, Manifold) through a unified API.31MIT