Polymarket MCP server for AI agents
Let Claude, ChatGPT or your own agent read Polymarket: 2 typed functions through one MCP server. No Polymarket API key needed.
- Site
- polymarket.com
- Functions
- 2
- Sign-in
- Not needed
- Works with
- MCP, HTTP, Node, Python
Connect
Just Polymarket
An MCP server for Polymarket alone, with one tool per function. Paste it into Claude, ChatGPT, Cursor or any MCP client as a remote server.
https://api.bowmark.ai/mcp/site/polymarketEvery site
One MCP server for Polymarket and every other site Bowmark covers. Your agent looks up what it needs and calls it.
https://api.bowmark.ai/mcpSet it up in your clientBoth need a Bowmark API key. The quickstart gets you one and a first result in a few minutes.
Functions
Open a function to see its arguments, what it returns and how to call it.
Read 2
getMarketReads one Polymarket market by its slug (the id search returns).Arguments
Name Type Required slugstringYes Returns
polymarketMarketinterface polymarketMarket { slug: string; question: string; outcomes: string[]; outcomePrices: number[]; volume: number; liquidity: number | null; endDate: string | null; active: boolean; closed: boolean; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/polymarket/getMarketCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.polymarket.getMarket("xi-jinping-out-before-2027");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.polymarket.getMarket("xi-jinping-out-before-2027"))curl -X POST https://api.bowmark.ai/v1/sites/polymarket/getMarket \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"slug":"xi-jinping-out-before-2027"}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.polymarket.getMarket("xi-jinping-out-before-2027");searchSearches Polymarket's own prediction markets by keyword (via its public-search API) or, with no query, lists the newest active markets.Arguments
Name Type Required querystringNo limitnumberNo Returns
polymarketMarket[]interface polymarketMarket { slug: string; question: string; outcomes: string[]; outcomePrices: number[]; volume: number; liquidity: number | null; endDate: string | null; active: boolean; closed: boolean; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/polymarket/searchCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.polymarket.search("election");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.polymarket.search("election"))curl -X POST https://api.bowmark.ai/v1/sites/polymarket/search \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"query":"election"}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.polymarket.search("election");
Use it from code
- Node
npm i @bowmark/web - Python
pip install bowmark-web - HTTP
POST /v1/sites/polymarket/<function> - OpenAPI
/v1/sites/polymarket/openapi.json