Back to Home
ozgureyilmaz icon

polymarket-mcp

Verified Safe

by ozgureyilmaz

Overview

Integrate Polymarket prediction market data into external applications, particularly AI agents like Claude Desktop, providing real-time market insights and tools.

Installation

Run Command
polymarket-mcp serve

Environment 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

Stats

Interest Score44
Security Score9
Cost ClassMedium
Avg Tokens1500
Stars33
Forks8
Last Update2026-01-11

Tags

Prediction MarketsFinancial DataCLI ToolMCP ServerRust