This PolyMarket MCP server, developed by berlinbra, provides a robust interface for interacting with the PolyMarket API, enabling AI assistants to access and analyze prediction market data. Built with Python and leveraging libraries like httpx and python-dotenv, it offers tools for fetching market information, prices, and historical data. The implementation focuses on clean data formatting, comprehensive error handling, and rate limit management, making it accessible for AI models to perform tasks like market analysis, trend identification, and price tracking. It's particularly useful for financial analysis, decision-making support, or integrating prediction market insights into AI-driven systems, allowing assistants to interact with PolyMarket without requiring deep knowledge of the underlying API complexities.
暂无评论. 成为第一个评论的人!
登录以参与讨论
Get detailed information about a specific prediction market. Parameters: market_id (string) - Market ID or slug.
List available prediction markets with filtering options. Parameters: status (string) - Filter by market status (open, closed, resolved), limit (integer) - Number of markets to return (default: 10), offset (integer) - Number of markets to skip (for pagination, default: 0).
Get current prices and trading information for a specific market. Parameters: market_id (string) - Market ID or slug.
Get historical price and volume data for a specific market. Parameters: market_id (string) - Market ID or slug, timeframe (string) - Time period for historical data (1d, 7d, 30d, all). Default is 7d.