Tool ยท prediction_markets
Prediction market data for AI agents
morigraph's prediction markets tool lets Claude, ChatGPT, Cursor, Codex or your own code read open markets, current odds, price history and order books from Polymarket and Kalshi in one call. It needs no account or API key with either venue and costs no credits. It reads data only and does not place trades.
- Price
- Free: no credits
- Venues
- Kalshi and Polymarket
- Call it from
- MCP, command line and HTTP API
- Needs
- One morigraph connection. No vendor account or API key
What it is for
- What the market thinksSearch by a plain question and get the open markets on both venues.
- How odds movedHistory for one outcome over a day, a week, a month or all time.
- DepthBids and asks for one outcome.
Three ways to call it
The same tool and the same price, whichever way you call it.
In your assistant (MCP). Connect once, then ask in plain words
claude mcp add --transport http --scope user morigraph https://morigraph.com/mcp
What are the current odds of a Fed rate cut at the next meeting on Polymarket and Kalshi, and how have they moved this week?From a terminal or script (CLI)
npx @morigraph/cli@latest login
morigraph call prediction_markets --json-args '{"op":"search","query":"fed rate cut","limit":5}'From your own code (HTTP API)
curl https://api.morigraph.com/v1/tools/prediction_markets \
-H "Authorization: Bearer $MORIGRAPH_API_KEY" \
-H "Content-Type: application/json" \
-d '{"op":"search","query":"fed rate cut","limit":5}'What comes back. Markets with their outcomes and odds, kept separate for each venue because their volume units differ.
Arguments
| Argument | Type | Required | What it is |
|---|---|---|---|
op | search | odds | history | orderbook | yes | search = find open markets by words; odds = one event's current odds; history = how one outcome's odds moved; orderbook = bids and asks for one outcome. |
query | string | no | For search: the question in plain words, e.g. 'fed rate cut december'. |
id | string | no | For odds, history, orderbook: a market or outcome id from an earlier result, or a polymarket.com / kalshi.com link the user pasted. |
venue | polymarket | kalshi | no | Only this venue. Omit to search both. |
limit | integer | no | For search: events per venue (1-10, default 5). |
range | 1d | 1w | 1m | max | no | For history: the window. Default "1w". |
Every tool with more than one provider also takes cost, depth, speed and provider to steer the choice: see the tools reference.
Good to know
- Through the API and command line it is rate limited instead of charged: 10 calls a minute and 200 a day for each workspace.
- It covers open markets. For a market that has resolved, use web search.
- It is a data tool. It does not recommend or place bets.
When to choose something else
Choose the venue's own API when you need to trade, stream prices live or pull full historical data sets.
Questions
Is prediction market data free?
Yes. It costs no credits. Through the API it is limited to 10 calls a minute and 200 a day for each workspace.
Which venues are covered?
Polymarket and Kalshi. A search covers both unless you name one.
Can it place a bet?
No. It reads public market data only.
Prices and availability read from the production service on . A credit is about 10 cents of tool use; see pricing. Your assistant can quote the exact cost before a paid call.