Polymarket
An MCP tool for interacting with the Polymarket prediction market platform.
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+
Installation
- Clone this repository:
git clone https://github.com/fernandezpablo85/polymarket-mcp.git
cd polymarket-mcp
- Install
uvif you haven't already:
curl -LsSf https://astral.sh/uv/install.sh | sh
- Install dependencies:
uv sync
Configure Claude Desktop
- Open Claude Desktop configuration directory:
open ~/Library/Application\ Support/Claude
- Create or edit
claude_desktop_config.json:
touch ~/Library/Application\ Support/Claude/claude_desktop_config.json
- Add 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 correct - Restart Claude Desktop
- Check your Python path and dependencies
- Verify your
-
If authentication fails:
- Verify your
.envfile has correct credentials - Check Polymarket API status
- Verify your
License
MIT
Contributing
Feel free to open issues or submit pull requests.
Related Servers
Trade Agent
Execute stock and crypto trades via Trade Agent
MCP Trader Server
An MCP server for stock and cryptocurrency analysis with technical analysis tools.
PancakeSwap PoolSpy
Tracks newly created liquidity pools on PancakeSwap, providing real-time data for DeFi analysts, traders, and developers.
TechMCP
Integrates with PSG College of Technology's e-campus portal to provide AI assistants access to student academic data like marks, attendance, and timetables.
MCP Simple Timeserver
Provides current local time, UTC time, and timezone information.
Weather
Provides weather alerts and forecasts using the National Weather Service API.
Baseball MCP
An MCP server for retrieving Major League Baseball (MLB) game results, schedules, and specific game details using the mlb-statsapi library.
Fibrous MCP Server
A server for Fibrous Finance, a DeFi aggregation platform.
QGold
A server for natural language processing of asset prices and financial modeling for withdrawal rate impact analysis.
Context Lens
Semantic search knowledge base for MCP-enabled AI assistants