polymarket-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| polymarket_searchA | Natural-language search across Polymarket events, markets, and tags. The primary entry point for "find me markets about X". Each returned event includes a short list of its markets with parsed outcomes and probabilities. Args: query: Free text, e.g. "2024 election" or "bitcoin 100k". limit_per_type: Max results per type (events/tags), capped at 20. events_status: Optional status filter, e.g. "active". keep_closed_markets: Include closed markets in results (default False). |
| polymarket_list_marketsA | Browse and filter markets. Defaults to active, open markets by 24h volume. Args:
active: Best-effort active filter (Gamma honors it though it's under-documented).
closed: Include resolved/closed markets (default False).
tag_id: Single numeric tag id to filter by.
order: Sort field, e.g. "volume24hr", "liquidity_num", "volume_num", "endDate".
ascending: Sort ascending (default False = highest first).
volume_num_min: Minimum total volume (note the |
| polymarket_get_marketA | Resolve one market in full detail by id, slug, OR condition_id (provide one). Args: id: Numeric Gamma market id (e.g. "507034"). A "0x..." value is treated as a condition id. slug: Market slug (e.g. "will-trump-win-the-2024-us-presidential-election"). condition_id: On-chain condition id ("0x..."). |
| polymarket_list_eventsA | Browse and filter events (groups of related markets). Same shape as list_markets. Note: events use |
| polymarket_get_eventA | Event detail with all child markets (parsed outcomes/prices/tokenIds). Useful for multi-candidate / neg-risk events. Provide an id or a slug. |
| polymarket_trending_marketsA | What's hot right now: active, open markets sorted by 24h volume (descending). |
| polymarket_get_live_priceA | Freshest live odds for one outcome token from the CLOB.
|
| polymarket_get_order_bookA | Live order book for one outcome token: best bid/ask, midpoint, spread, top levels.
|
| polymarket_get_price_historyA | Historical probability time-series for one outcome token.
Args: interval: One of "1h", "6h", "1d", "1w", "1m" (1 month), "max", "all". Ignored when an explicit start_ts/end_ts range is given. fidelity: Resolution in minutes. Defaults to a safe value per interval (wider ranges require a higher minimum). start_ts/end_ts: Optional unix-second bounds (override interval). Long series are downsampled to <=500 points (flagged in the result). |
| polymarket_get_user_positionsA | Public current holdings for a wallet address (0x...). Args: wallet: EVM address, e.g. "0x...". limit: 1-100 (default 20). sort_by: One of CURRENT, CASHPNL, PERCENTPNL, TOKENS, INITIAL, PRICE, AVGPRICE, TITLE, RESOLVING (default CURRENT). Sorted descending. |
| polymarket_get_user_activityA | Recent on-chain activity (trades, splits, merges, redeems...) for a wallet. Args: wallet: EVM address (0x...). limit: 1-100 (default 20). type: Optional activity type, e.g. "TRADE", "SPLIT", "MERGE", "REDEEM", "REWARD". |
| polymarket_get_market_holdersA | Top holders per outcome token for a market. Args:
condition_id: The market's on-chain condition id ("0x..."). (Maps to the
Data API's |
| polymarket_get_user_valueA | Total current value (USDC) of a wallet's Polymarket positions. Args: wallet: EVM address (0x...). |
| polymarket_market_snapshotA | Live odds for one market in a single call (the recommended starting point). Resolves a market (by slug, or by searching free text and picking the most liquid
match), then fetches the freshest CLOB midpoint for each outcome token. Gamma's
cached price can lag the live book — Provide a |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/fzlzjerry/polymarket-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server