polymarket-mcp
Verified Safeby ozgureyilmaz
Overview
Integrate Polymarket prediction market data into external applications, particularly AI agents like Claude Desktop, providing real-time market insights and tools.
Installation
polymarket-mcp serveEnvironment Variables
- POLYMARKET_SERVER_NAME
- POLYMARKET_SERVER_MAX_CONNECTIONS
- POLYMARKET_SERVER_TIMEOUT
- POLYMARKET_API_BASE_URL
- POLYMARKET_CLOB_URL
- POLYMARKET_API_KEY
- POLYMARKET_API_TIMEOUT
- POLYMARKET_API_MAX_RETRIES
- POLYMARKET_API_RETRY_DELAY
- POLYMARKET_API_RATE_LIMIT
- POLYMARKET_CACHE_ENABLED
- POLYMARKET_CACHE_TTL
- POLYMARKET_CACHE_MAX_ENTRIES
- POLYMARKET_RESOURCE_CACHE_TTL
- POLYMARKET_LOG_LEVEL
- POLYMARKET_LOG_FORMAT
- POLYMARKET_LOG_COLORS
- POLYMARKET_LOG_TO_FILE
- POLYMARKET_LOG_FILE_PATH
- RUST_LOG
Security Notes
The project is written in Rust, which offers strong memory safety guarantees. Configuration handles API keys as optional and redacts them in debug output. Network requests include retry and basic rate-limiting logic. JSON input from stdin (for MCP server mode) is parsed into strongly typed structures, preventing common injection vulnerabilities. Dependencies are managed, with specific security fixes (RUSTSEC-2025-0047, RUSTSEC-2025-0055) noted in Cargo.toml. No direct 'eval' or malicious patterns were found. A high score is given due to robust Rust practices, but external API interaction and complex JSON deserialization always carry an inherent, minimal risk.
Similar Servers
alpha_vantage_mcp
Enables LLMs and agentic workflows to seamlessly interact with real-time and historical stock market data through the Model Context Protocol (MCP).
prediction-market-mcp
Provides real-time prediction market data from Polymarket, PredictIt, and Kalshi for AI coding environments.
mcp-framework
A Rust framework for building AI agents with built-in Model Context Protocol (MCP) support, multi-LLM integration, and a web-based inspector for debugging.
Crawleo-MCP
Provides AI assistants with real-time web search and crawling capabilities via the Model Context Protocol (MCP).