mcp-server

v0.1.1
io.github.assymetrix/mcp-server Checked 4 days ago Published 1 month ago

Read-only prediction market data (Polymarket, Kalshi, Limitless) from the Assymetrix Data API.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

search_markets Search prediction markets

Find prediction markets on Polymarket, Kalshi and Limitless by text in the market question. The query (at least 3 characters) is matched as one phrase, so use one or two distinctive words ("bitcoin", "rate cut"), not a sentence. Results are sorted by 24-hour volume. Each market has its id (pass it to get_market_prices or get_market_history), its last price as a 0-1 probability, best bid and ask, 24-hour volume in USD and end date. Defaults to active markets.

ParameterTypeDescription
query *stringText to find in the market question, at least 3 characters, matched as one phrase (case-insensitive). Use one or two distinctive words, e.g. "bitcoin" or "rate cut".
categorystringCategory, e.g. crypto or politics
limitintegerMarkets per page (default 10, max 25)
pageintegerPage number (default 1)
platformstringOnly this venue
statusstringMarket status (default active)

get_market_prices Get market prices

Get one prediction market's current odds and details: last price, best bid and ask, spread, 1-hour, 24-hour and 7-day price change, each outcome's price (all as 0-1 probabilities), volume, liquidity, open interest, status, dates and the start of its description (resolution rules). Accepts the id from search_markets (e.g. "polymarket:0x…"), a Polymarket condition id, a Kalshi ticker or a market slug.

ParameterTypeDescription
market_id *stringMarket id from search_markets (e.g. "polymarket:0x…"), or a Polymarket condition id, a Kalshi ticker or a market slug

get_market_history Get market price history

Get a prediction market's price history as OHLCV candles (kind candles, the default) or its trades (kind trades, newest first). Prices are 0-1 probabilities. For candles, give from and to (default: the last 7 days) and leave interval on auto: the server picks the finest interval that keeps the answer within max_points candles. How far back history goes depends on the user's Assymetrix plan (Free: 30 days); when the plan cut the range, historyClamped is true and note says so.

ParameterTypeDescription
market_id *stringMarket id from search_markets (e.g. "polymarket:0x…"), or a Polymarket condition id, a Kalshi ticker or a market slug
fromstringRange start, ISO 8601 (UTC if no zone). Candles default to 7 days before "to"; trades default to no start.
intervalstringCandle interval. auto (default) picks the finest one that fits max_points.
kindstringcandles: OHLCV price history (default). trades: individual trades, newest first.
limitintegerTrades only: trades per page (default 50, max 100)
max_pointsintegerMost candles to return (default 120, max 300)
pageintegerTrades only: page number (default 1)
rolestringTrades only: taker (default) is one row per match; maker is one row per resting order filled; all is both
sidestringTrades only: just buys or just sells
tostringRange end, ISO 8601 (UTC if no zone). Default: now.