{"jsonrpc":"2.0","id":0,"result":{"protocolVersion":"2024-11-05","capabilities":{"tools":{},"resources":{}},"serverInfo":{"name":"polymarkets-platphormnews","version":"1.0.0","description":"Real-time Polymarket prediction market data — Platphorm News Network. 12 tools covering search, orderbook depth, related markets, emoji lookup, and documentation. Created by Michael Barbine & PH3AR. Supports Unicode 15.1 / CLDR emoji and W3C standards.","homepage":"https://polymarkets.platphormnews.com","feeds":{"rss":"https://polymarkets.platphormnews.com/api/feed","atom":"https://polymarkets.platphormnews.com/api/feed/atom","json":"https://polymarkets.platphormnews.com/api/feed/json"},"llms_txt":"https://polymarkets.platphormnews.com/llms.txt"},"tools":[{"name":"search_markets","description":"Search Polymarket prediction markets by keyword. Returns markets whose question or description matches the query. Useful for finding specific topics like 'election', 'bitcoin price', or 'sports championship'.","inputSchema":{"type":"object","properties":{"query":{"type":"string","description":"Search query — matches against market question and description text"},"limit":{"type":"number","description":"Number of results to return (1–50, default 10)","default":10},"category":{"type":"string","description":"Filter results to a specific category (e.g. Crypto, Politics, Sports)"},"active_only":{"type":"boolean","description":"When true, only returns markets that are currently open for trading (default true)","default":true}},"required":["query"]}},{"name":"get_market","description":"Retrieve complete details for a single Polymarket prediction market including current odds, volume, liquidity, and outcome probabilities.","inputSchema":{"type":"object","properties":{"id":{"type":"string","description":"Market ID from Polymarket (use either id or slug)"},"slug":{"type":"string","description":"Market slug (URL-friendly identifier)"}}}},{"name":"list_markets","description":"List Polymarket prediction markets with powerful filtering and sorting. Returns paginated results with full market data including real-time odds.","inputSchema":{"type":"object","properties":{"limit":{"type":"number","description":"Results per page (1–100, default 20)","default":20},"offset":{"type":"number","description":"Pagination offset (default 0)","default":0},"category":{"type":"string","description":"Filter by category"},"sort":{"type":"string","enum":["volume","liquidity","createdAt","endDate"],"description":"Sort field (default createdAt)","default":"createdAt"},"ascending":{"type":"boolean","description":"Sort direction (default false = newest first)"},"min_volume":{"type":"number","description":"Minimum USD trading volume filter"},"featured_only":{"type":"boolean","description":"Return only Polymarket featured markets"},"end_before":{"type":"string","description":"ISO 8601 date — only return markets closing before this date"},"end_after":{"type":"string","description":"ISO 8601 date — only return markets closing after this date"},"active_only":{"type":"boolean","description":"Only return open markets (default true)","default":true}}}},{"name":"get_price_history","description":"Get historical odds/price movements for a specific Polymarket prediction market. Shows how market probabilities have changed over time.","inputSchema":{"type":"object","properties":{"market_id":{"type":"string","description":"Market ID to retrieve price history for"},"limit":{"type":"number","description":"Number of historical records (1–200, default 50)","default":50}},"required":["market_id"]}},{"name":"get_categories","description":"List all market categories available on Polymarket with market counts. Use this to discover what types of prediction markets exist.","inputSchema":{"type":"object","properties":{"active_only":{"type":"boolean","description":"Only count active markets toward category totals (default true)","default":true}}}},{"name":"get_trending","description":"Get the currently trending Polymarket prediction markets — highest volume, most liquidity, or largest recent odds movement. Perfect for surfacing what the market is paying close attention to right now.","inputSchema":{"type":"object","properties":{"by":{"type":"string","enum":["volume","liquidity","price_delta"],"description":"Ranking signal: volume (most traded), liquidity (deepest books), price_delta (biggest odds swing)","default":"volume"},"limit":{"type":"number","description":"Number of trending markets to return (1–50, default 10)","default":10},"category":{"type":"string","description":"Limit trending results to a category"}}}},{"name":"get_feed_urls","description":"Return all available feed subscription URLs for this Polymarket data service. Includes RSS 2.0, Atom, JSON Feed, and MCP endpoints — optionally filtered by category or locale.","inputSchema":{"type":"object","properties":{"category":{"type":"string","description":"Pre-filter feed URL for a specific category"},"locale":{"type":"string","description":"BCP-47 locale for localized feeds (e.g. 'es', 'fr')"},"sort":{"type":"string","enum":["volume","liquidity","createdAt","endDate"],"description":"Sort feed items"},"min_volume":{"type":"number","description":"Minimum USD trading volume filter for feed items"},"featured":{"type":"boolean","description":"Return only Polymarket featured markets in the feed"},"days":{"type":"number","description":"Include markets created within the last N days (1-30)"}}}},{"name":"get_market_stats","description":"Get aggregate platform statistics: total active markets, total traded volume, number of categories, and last sync timestamp.","inputSchema":{"type":"object","properties":{}}},{"name":"get_market_orderbook","description":"Fetch real-time CLOB (Central Limit Order Book) depth data for a Polymarket prediction market. Returns bid/ask spreads, mid-market price, and order book depth per outcome. Uses the live Polymarket CLOB API.","inputSchema":{"type":"object","properties":{"market_id":{"type":"string","description":"The Polymarket market ID (conditionId) to fetch order book data for"},"slug":{"type":"string","description":"Market slug — resolved to conditionId automatically"}}}},{"name":"get_related_markets","description":"Find Polymarket prediction markets related to a given market or topic. Matches by category, keyword overlap, and temporal proximity. Useful for understanding the broader forecasting landscape around a topic.","inputSchema":{"type":"object","properties":{"market_id":{"type":"string","description":"Source market ID to find related markets for"},"slug":{"type":"string","description":"Source market slug — resolved automatically"},"topic":{"type":"string","description":"Free-text topic to find related markets for (alternative to market_id/slug)"},"limit":{"type":"number","description":"Number of related markets to return (1–20, default 5)","default":5}}}},{"name":"get_docs","description":"Access Platphorm News Network documentation directly from this MCP server. Returns architecture docs, API reference, principles, changelog, and more. Use this to understand how this server works, what feeds are available, and how to integrate.","inputSchema":{"type":"object","properties":{"document":{"type":"string","enum":["principles","architecture","api","changelog","contributing","packages","security","deployment","implementation-plan","readme"],"description":"Which document to retrieve (default: principles)","default":"principles"}}}},{"name":"lookup_emoji","description":"Look up emoji by Unicode codepoint, CLDR name, or keyword. Returns the emoji character, its Unicode codepoint (e.g. U+1F525), official CLDR name, category, and Unicode version. All emoji follow the Unicode standard — no proprietary shortcodes.","inputSchema":{"type":"object","properties":{"query":{"type":"string","description":"Emoji character (🔥), Unicode codepoint (U+1F525 or 1F525), or CLDR keyword (e.g. 'fire', 'trending', 'money bag')"},"category":{"type":"string","description":"Filter by Unicode emoji category: Smileys, People, Animals, Food, Travel, Objects, Symbols, Flags"},"limit":{"type":"number","description":"Number of results for keyword searches (1–20, default 5)","default":5}},"required":["query"]}}]}}