PolyMarket MCP Server logo

PolyMarket MCP Server

by berlinbra

The PolyMarket MCP Server provides access to prediction market data through the PolyMarket API. It implements a standardized interface for retrieving market information, prices, and historical data from prediction markets.

View on GitHub

Last updated: N/A

What is PolyMarket MCP Server?

A Model Context Protocol (MCP) server that provides access to real-time and historical data from PolyMarket, a prediction market platform. It allows users to retrieve market information, prices, and historical data in a standardized format.

How to use PolyMarket MCP Server?

Install the server using Smithery or manually by cloning the repository and installing dependencies. Configure the server with your PolyMarket API key and wallet address. Connect your Claude client to the server via a JSON configuration file. Then, use the available tools (get-market-info, list-markets, get-market-prices, get-market-history) to retrieve data.

Key features of PolyMarket MCP Server

  • Real-time prediction market data

  • Detailed market information

  • Historical price and volume data

  • Built-in error handling and rate limit management

  • Clean data formatting

Use cases of PolyMarket MCP Server

  • Analyzing prediction market trends

  • Building prediction models based on market data

  • Integrating prediction market data into other applications

  • Monitoring market sentiment and forecasting outcomes

FAQ from PolyMarket MCP Server

What is the purpose of the PolyMarket API key?

The PolyMarket API key is required to access the PolyMarket API and retrieve data. You need to obtain a valid API key from PolyMarket and configure the server with it.

How do I handle rate limiting errors?

The server includes built-in rate limit management. If you encounter rate limiting errors (429), try reducing the frequency of your requests or implementing a retry mechanism.

What timeframes are available for historical data?

The server supports the following timeframes for historical data: 1d, 7d, 30d, and all.

How do I filter markets when listing them?

You can filter markets by status (open, closed, resolved) using the 'status' parameter in the list-markets tool.

What happens if the market ID is invalid?

If you provide an invalid market ID, the server will return a 404 error.