Skip to main content
Glama

PolyOrderbooks MCP Server

面向 Claude、Cursor 以及任何其他 MCP 客户端的 Polymarket 历史订单簿深度——以 1 秒分辨率提供完整的 L2 买盘与卖盘档位,并附带已结算的结果。

npm

Polymarket 自身的 API 能很好地提供价格历史。但其不会以任何粒度归档订单簿深度——/book 只返回当前状态,无人保存。本服务器提供的数据是实时采集的深度信息,也就是事后无法再次恢复的那部分。


安装

无需安装。把它添加到你的 MCP 客户端配置中,即可通过 npx 运行。

Claude Desktop —— claude_desktop_config.json:

{
  "mcpServers": {
    "polyorderbooks": {
      "command": "npx",
      "args": ["-y", "@polyorderbooks/mcp-server"],
      "env": { "POLYORDERBOOKS_API_KEY": "pob_..." }
    }
  }
}

Cursor —— .cursor/mcp.json,格式相同。

修改配置后请重启客户端;MCP 服务器是在启动时启动的。


Related MCP server: polymarket-mcp-server

获取 API 密钥

  1. 在 polyorderbooks.com/signup 注册。无需绑定银行卡。

  2. 打开仪表盘并创建一个密钥。它的形式是 pob_ 后面跟一长串随机字符。

  3. 把它放进 MCP 客户端配置的 env 块中,如上所示。

免费版 Starter 计划即可按 1 秒分辨率查询——与付费计划相同。付费计划提供的是更长的时间窗口和更高的请求配额,而不是更细的数据。在你决定是否付费之前,Starter 计划已足够回答实际问题。

你可以随时调用 get_usage 工具,查看已配置密钥对应的计划、限制和剩余配额。

环境变量

变量

是否必填

用途

POLYORDERBOOKS_API_KEY

是

你的 API 密钥。若缺失,服务器会在启动时报错退出,而不是等到首次调用工具时才失败。

POLYORDERBOOKS_BASE_URL

否

覆盖 API 的基础 URL。默认值为 https://api.polyorderbooks.com。仅自托管或预发布部署时才需要。

请将这些变量设置在 MCP 客户端配置中,不要放在你的 shell 里。客户端会以子进程方式启动服务器,不会将你的交互式 shell 环境传递给它,因此在 .zshrc 中导出的密钥对服务器是不可见的。


工具

工具

说明

search_series

周期性系列——每一轮 BTC 5 分钟市场都属于其中。

search_events

共同结算的市场分组。

search_markets

按关键词或日期范围搜索单个市场。

get_market

完整获取单个市场,包括结果代币和胜出方。

get_order_book_history

随时间变化的 L2 档位。“Polymarket 没有归档的那部分。”

get_price_history

每个结果代币的价格序列。

get_market_metrics

价差、流动性和成交量的时间序列。

get_usage

套餐、速率限制和剩余配额。

整个目录结构是 series → events → markets。先用 search_series 查找某一类市场,再用 search_events 查找一同结算的一组市场,最后用 search_markets 查找具体市场。


解读数据前,你需要知道这些

订单簿会随着市场结算而变为单边。 在一个 5 分钟市场的最后一分钟内,76% 的快照会出现买盘或卖盘为空——没有人愿意为失败的结果挂单。这是真实的市场行为,不是数据缺失,也会导致那些假设双边订单簿的分析失效。

合约时长改变一切。 4 小时合约在 0.5% 的时间是单边;5 分钟合约则是 17%。从一个合约得出的结论无法迁移到另一个合约。

响应会很快变得很大。 以 1 秒分辨率记录 1 小时,每个结果代币会产生 3,600 个数据桶,而每个市场有 2 个结果代币。因此请把时间窗口缩小或把分辨率调粗,并使用返回的 next_cursor 分页。


示例提示词

查找昨天已结算的 BTC 5 分钟市场,并展示结算前最后两分钟订单簿深度是如何变化的。

对于这个市场,在收盘前 5 秒钟,按照实际档位买入 100 股需要花费多少?对比当时的中点价是更高还是更低?

对比 5 分钟、15 分钟和 4 小时 BTC 合约在过去一天的价差和流动性。

第二个提示是 L2 数据的价值所在。价格序列告诉你市场当时在哪里;只有档位能告诉你当时实际可以成交的价格。


与其他 Polymarket MCP 服务器的区别

市场已有几个不错的实现——kukapay/polymarket-predictions-mcp、demwick/polymarket-agent-mcp、PaulieB14/graph-polymarket-mcp。它们对 Polymarket 自己的 Gamma 和 CLOB API 进行了很好的包装。

那些服务器

本服务器

实时赔率和当前盘口

有

无

提交交易(下单)

部分

无

市场元数据和结算结果

有

有

价格历史

1 分钟,来自 Polymarket

1 秒

历史订单簿深度

不可用

有

这种差异是结构性的,而非取舍。Polymarket 的 /book 端点只返回当前状态,没有人对它进行归档,因此任何基于该 API 构建的服务器都无法提供过去的档位。本服务器读取的是当时实时捕获的归档数据。

如果你要交易或需要实时赔率,请使用他们的服务器——他们在这方面更出色。当问题是“某个过去时刻的盘口是什么样的”时,再使用本服务器。


故障排查

“POLYORDERBOOKS_API_KEY is not set” —— 密钥缺失。它应放在客户端配置的 env 块中,而不是放在你的 shell 里。请参阅 环境变量。

身份验证失败 —— 密钥已经传送到服务器,但 API 拒绝了它。密钥以 pob_ 开头;如果是从终端粘贴的,请检查是否为末尾新增了空格或引号。若密钥本身正确,调用 get_usage 确认密钥是否仍然有效。

响应被截断还很慢 —— 1 小时按 1 秒分辨率就是每个结果代币 3,600 个数据桶,而一个市场有两个代币。可以缩小时间窗口,或使用 resolution: "1m",并用 next_cursor 分页。

空档位 —— 在临近结算时出现是正常的。感谢上面关于单边订单簿的说明。


开放数据

897,192 个快照覆盖 805 个已结算市场和三种合约期限,以 CC BY 4.0 协议发布并附 DOI,无需注册即可访问:

doi.org/10.5281/zenodo.22084114

适合你在决定依赖 API 之前,自行验证上述结论。


开发

npm install
npm run build
POLYORDERBOOKS_API_KEY=pob_... npm run dev

该服务器使用 stdio 通信。要在不使用 MCP 客户端的情况下 test 它,可以通过 stdin 发送 JSON-RPC 消息——先是 initialize,然后是 tools/list,最后是 tools/call。


链接

许可证

MIT。本服务器与 Polymarket 无任何关联、无权提出自己有额外的 SOURCE 全覆盖托管的说法。

Available Tools

8 tools
get_marketGet one marketA

Full detail for a single market by slug or id, including its outcome tokens, resolution status and winning outcome. Use this to get token ids before calling the token-level tools.

NameRequiredDescriptionDefault
id_or_slugYesMarket slug, e.g. btc-updown-5m-1787551200

TDQS

A4.2/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the behavioral disclosure. It indicates this is a retrieval operation and specifies what the response contains: outcome tokens, resolution status, and winning outcome. This is sufficient for a simple read-only market-detail tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two concise sentences: one states what the tool returns, the other states when to use it. No repetition, no filler, and useful context is front-loaded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter getter with no output schema, the description covers the important contents and a concrete downstream use. It could also mention using search_markets when the slug is unknown, but that is not essential because the tool's scope is otherwise well specified.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema already fully describes id_or_slug with an example, so the baseline is 3. The description adds only the clarification 'or id', which is helpful but not substantial beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the specific verb and resource: getting full detail for a single market by slug or id. It also enumerates what is included, so it is easy to distinguish from search_markets and the other sibling tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives an explicit use case: call this tool to get token ids before using token-level tools. It does not explicitly say when not to use it or point to search_markets for discovering a slug, but the simple single-market context makes the intended usage clear.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_market_metricsSpread and liquidity over timeA

Derived market quality metrics — spread, liquidity and volume — as a time series. Cheaper than pulling full order books when the question is about market quality rather than specific price levels. Note that spread is only meaningful while both sides of the book are populated, which stops being true near settlement.

NameRequiredDescriptionDefault
limitNoDefault 100, max 200
cursorNo
end_tsYesISO-8601 UTC, e.g. 2026-08-23T14:00:00Z
start_tsYesISO-8601 UTC, e.g. 2026-08-23T14:00:00Z
id_or_slugYesMarket slug
resolutionNoDefaults to 1m

TDQS

A4.4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full burden. It discloses that the metrics are derived, cheaper than order-book retrieval, and that spread validity is conditional on both order book sides being populated. The settlement caveat adds beyond the title, but it does not mention pagination behavior or response format beyond 'time series', still leaving a minor gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two concise sentences: first presents what it does, second adds the use-case distinction and an important caveat. No filler or redundant restatement of the name.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Despite six parameters and no output schema, the description clearly conveys the expected output type (time series of metrics) and the main usage condition. Given the schema supplies high parameter coverage, the only missing part is pagination/cursor semantics, which the schema's 'cursor' field already hints at. Overall adequate, but not exhaustive.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 83%, so the schema already documents most parameters well. The description adds meaningful context about what the returned metrics refer to (spread, liquidity, volume), but does not explain specific parameter details like cursor or limit beyond what schema says.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Clearly states the verb and object: it gets derived market quality metrics (spread, liquidity, volume) as a time series. It also distinguishes itself from the order-book sibling by saying it is cheaper than pulling full order books, making its scope unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly tells when to use: 'when the question is about market quality rather than specific price levels' and contrasts with the costlier 'full order books' alternative. It also provides a specific caution about spread near settlement, which acts as a when-not-to-trust boundary.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_order_book_historyHistorical order book depthA

Full L2 bid and ask ladders over time for a market — every price level and the size resting at each. This is data Polymarket does not archive: its /book endpoint returns only the current state, so depth exists only where it was captured live.

One thing to expect when reading the results: binary markets go one-sided as they resolve. In the final minute of a 5-minute market most snapshots have an empty bid or ask side, because nobody offers the losing outcome. That is real market behaviour rather than missing data, so guard before indexing the first level of a ladder.

Responses are large. Keep the window narrow or the resolution coarse: a one-hour window at 1s is 3,600 buckets per token, and a market has two tokens.

NameRequiredDescriptionDefault
limitNoBuckets per page, default 50. Use the returned next_cursor to page.
cursorNonext_cursor from a previous response
end_tsYesISO-8601 UTC, e.g. 2026-08-23T14:00:00Z
start_tsYesISO-8601 UTC, e.g. 2026-08-23T14:00:00Z
id_or_slugYesMarket slug, e.g. btc-updown-5m-1787551200
resolutionNoDefaults to 1m. Use 1s only for short windows.

TDQS

A3.8/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full disclosure burden and does it well: it warns that binary markets go one-sided near resolution (empty bid/ask is real market behavior, not missing data), that depth exists only where it was captured live, and that responses are large (a one-hour window at 1s yields 3,600 buckets per token across two tokens). No contradiction with annotations; it omits authentication, rate limits, and explicit side-effect statements, but otherwise is strong.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is structured into three crisp paragraphs — what it returns, a data-quality caveat, and an operational size warning — with the core purpose front-loaded. Every sentence pulls its weight; even the data-architecture note ('exists only where it was captured live') explains why the data can be sparse without adding redundancy. It is longer than one sentence but earned length.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description conveys the essential shape of the data (price levels and resting sizes), its most surprising behavioral trait (one-sided resolution), and directly actionable guidance for choosing a window and resolution. The only real gap is that, with no output schema present, the description does not spell out the exact JSON/bucket structure of a snapshot; likewise pagination/phrasing is left to the schema's next_cursor reference, but for a read-only depth-history tool the coverage is otherwise impressively thorough.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, with defaults and examples for every parameter (e.g., one-hour window at 1s, resolution default 1m, cursor use), so the schema is already solid. 3100% schema description coverage means the description doesn't need to repeat parameter details; the description adds valuable cross-parameter trade-off reasoning: 1s only for short windows, and concrete bucket-count math for a given resolution/window. That raises it above the baseline of 3.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a completely new resource — 'Full L2 bid and ask ladders over time' with every price level and resting size — and pairs it with a specific verb, so an agent knows it retrieves historical depth snapshots, not current price. It does not explicitly route the agent away from sibling tools like get_price_history or get_market, so it falls slightly short of full sibling differentiation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies when the tool is the right choice ('This is data Polymarket does not archive: its /book endpoint returns only the current state') and hence when its output is needed beyond live data sources. It gives no explicit 'when not to use' or pointers to siblings (get_price_history, get_market), so tool-selection guidance is inferred rather than stated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_price_historyHistorical pricesA

Price series per outcome token over time. Prices are probabilities in [0, 1].

Polymarket serves its own price history down to 1-minute buckets and that is free — use this tool when you need finer than a minute, or when you want prices aligned to the same timeline as order book depth. For 1-minute or coarser history alone, Polymarket's public API is equivalent.

NameRequiredDescriptionDefault
limitNoDefault 100, max 200
cursorNo
end_tsYesISO-8601 UTC, e.g. 2026-08-23T14:00:00Z
start_tsYesISO-8601 UTC, e.g. 2026-08-23T14:00:00Z
id_or_slugYesMarket slug
resolutionNoDefaults to 1m

TDQS

A4.2/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Without annotations, the description carries full behavioral burden. It adds meaningful context: price is in [0,1] probability, the tool provides sub-minute precision, and the data is aligned to order book depth. It does not describe output pagination or exact return shape, but not a keiner gap for this read-only price data tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is concise and front-loaded with the core purpose. It is slightly verbose in the comparison sentence, but every clause adds value to the stories all relevant decision and semantic information. Might be trimmed slightly without losing content.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description handles when-to-use and data semantics well, but there is no output schema and no description of return-format details such as the list structure of per-outcome price points, cursor pagination behavior, or limit implications. Input parameters are well covered in the schema, so not critical, but the absent output narrative leaves some room for ambiguity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 83%, so by baseline it is a 3. The description adds no direct parameter-specific details beyond implying fine-grained resolution; the input schema already covers parameter defaults, limits, ISO timestamps, and resolution enum.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States the resource (outcome token price series over time) and core semantic (prices are probabilities). It distinguishes the tool from Polymarket's public API and implicitly from siblings by focusing on finer-than-minute history and alignment with vibrancy and order-book timeline.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly identifies when to use this tool: finer than one-minute buckets, or timelines aligned to order book depth. It also says not to use it for 1-minute or coarser history alone, directing to the Polymarket public API as an equivalent alternative.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_usagePlan and quotaA

Current plan, rate limits, history window and requests used. Call this when a request fails with a limit error, or before planning a large extraction, to see what the key is allowed to do.

NameRequiredDescriptionDefault

No parameters

TDQS

A4.7/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden. It clearly discloses the tool is a read-only usage/limits check that reports plan level, rate limits, history window, and request consumption. This is sufficient for a zero-parameter introspection tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences, front-loaded with the core return values and then immediate usage context. No filler or repetition exists.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a zero-parameter usage/learning tool with no output schema, the description fully equips an agent to call it at the right time and know what it will receive. There are no gaps affecting selection or invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool has no parameters, and the description correctly avoids inventing parameter-related detail. The baseline of 4 applies because there is nothing for the description to add beyond confirming that calling it requires no inputs.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly identifies the tool as returning usage and quota information: current plan, rate limits, history window, and requests used. This is distinct from all sibling tools, which focus on market, series, event, and price data.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides explicit trigger conditions: call it when a request fails with a limit error, or before planning a large extraction. This tells the agent exactly when to invoke it, with no ambiguity.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

search_eventsSearch eventsA

An event groups markets that resolve together — "what-price-will-solana-hit-august-17-23-2026" holds every price threshold for that week, and "btc-updown-5m-1787685000" is one 5-minute round. Use this to find the set of related markets to compare, then search_markets to get the markets themselves. Date filters are useful here: events carry an end_date.

NameRequiredDescriptionDefault
limitNoDefault 20
searchNoSubstring matched against slug and title
end_date_maxNoISO-8601, events ending at or before this
end_date_minNoISO-8601, events ending at or after this

TDQS

A4.1/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden, and it does substantive work: it defines what an event is, illustrates both an event and a market identifier, and notes that events carry end_date. The only notable gap is explaining the response shape or pagination behavior, but for a read-only search tool the operational behavior is reasonably clear.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a few sentences long, includes concrete id examples, and connects the tool to the next step with search_markets. It is slightly front-loaded with background rather than the main purpose, but every sentence earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a search tool with no required parameters, the description gives enough information for an agent to know why it might call this tool and how it relates to the surrounding workflow. A full response format is not described, but the event/market relationship and date semantics largely compensate.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents all four parameters. The description adds context around end_date and the event/market grouping, but it does not materially deepen the meaning of the individual search or limit parameters.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description precisely defines the resource: an event is a grouping of markets that resolve together, and the tool's purpose is to find related market sets before using search_markets. It clearly separates this from the sibling tool search_markets by explaining the event/market relationship.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives an explicit workflow: use this tool to find events, then use search_markets for the actual markets. It also points out that date filters are relevant because events carry an end_date. It does not name explicit exclusions or alternative tools like search_series, but the usage context is clear.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

search_marketsSearch Polymarket marketsA

Find Polymarket markets by keyword. Start here — the other tools need a market slug, and slugs are not guessable. Coverage is Polymarket crypto markets: up/down contracts at 5m, 15m and 4h, price thresholds like "bitcoin-above-80k", and related event markets. Resolved markets are excluded unless include_closed is true, which is usually what you want for historical analysis. For a whole family of markets rather than one, search_series is more reliable than guessing slug patterns here.

NameRequiredDescriptionDefault
limitNoDefault 20
searchNoSubstring matched against slug and question, e.g. "btc-updown" or "bitcoin-above"
end_date_maxNoISO-8601, markets ending at or before this
end_date_minNoISO-8601, markets ending at or after this
include_closedNoInclude markets that have already resolved. Set true for historical work.

TDQS

A4.2/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so this description carries the behavioral-disclosure burden. It does that reasonably well by explaining that resolved markets are excluded by default, that include_closed flips that behavior, and that coverage is limited to Polymarket crypto markets. It stops short on return-shape/pagination expectations, but the important filtering defaults are clearly stated.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The five sentences are information-dense without being padded: purpose, first-step rationale, scope, closed-market default, and sibling alternative each contribute distinct meaning. The introduction is a bit of run-on phrasing, but there is no fluff.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description supplies the essential context an agent needs to choose and use the tool, especially the entry-point position and the default exclusion of resolved markets. However, there is no output schema or explicit statement about what the result shape contains, ordering, or whether pagination matters, so the agent has to infer something important about how to consume the results.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema already covers all five parameters with useful descriptions, including call behavior. The tool description mainly paraphrases that behavior (include_closed/historical analysis) rather than adding new semantics. Since schema coverage is 100%, a baseline of 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Opens with a specific verb and resource: 'Find Polymarket markets by keyword.' It clarifies coverage (crypto up/down and threshold contracts) and differentiates itself from slug-dependent sibling tools by explicitly warning that slugs are not guessable and that search_series is better for a family of markets.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description says to 'start here' and explains why: other tools need a market slug, and this tool is the way to obtain it. It also names search_series as an alternative for whole market families and explains that historical work should pass include_closed everything.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

search_seriesSearch recurring market seriesA

A series is a recurring family of markets — "btc-up-or-down-5m" is every BTC 5-minute up/down contract ever created. Use this when the question is about a kind of market rather than a specific one: it is more reliable than guessing at slug patterns with search_markets. Take the series slug, then use search_events to find its individual rounds.

NameRequiredDescriptionDefault
limitNoDefault 20
searchNoSubstring, e.g. "btc-up-or-down" or "solana"

TDQS

A4.2/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description covers some behavior: it clarifies that series names like 'btc-up-or-down-5m' represent many recurring contracts and that the tool is more reliable than search_markets. However, it does not mention pagination, default/limit behavior, or any response details. It is a middle ground.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences: concept with example, when-to-use, and next-step instruction. It is compact, front-loaded, and every sentence adds value.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No schema exists; the description provides a clear workflow and example, making it complete enough to call. It could add details about default limit or filtering, but the description plus schema is strong and the extra context would be marginal.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema fully covers both parameters (100% coverage), so the baseline is 3. The description adds context about using the slug as search input but does not add meaning beyond the schema's parameter descriptions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description defines what a series is, gives a concrete example, and clearly distinguishes the tool from sibling tools like search_markets and search_events. The behavior is specific: searching recurring series rather than individual markets.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit guidance says this tool is for 'a kind of market rather than a specific one,' warns against guessing slug patterns with search_markets, and instructs the next step to use search_events on the resulting slug. This is clear routing with alternatives.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 2 tool updatesv0.2.3
    • Changedget_market_metrics2 fields changed
      • changedInput schema / properties / limit / description
        Previous value: -"Default 100"New value: +"Default 100, max 200"
      • changedInput schema / properties / limit / maximum
        Previous value: -500New value: +200
    • Changedget_price_history2 fields changed
      • changedInput schema / properties / limit / description
        Previous value: -"Default 100"New value: +"Default 100, max 200"
      • changedInput schema / properties / limit / maximum
        Previous value: -500New value: +200
  2. 8 tool updatesv0.1.0
    • First observedget_market
    • First observedget_market_metrics
    • First observedget_order_book_history
    • First observedget_price_history
    • First observedget_usage
    • First observedsearch_events
    • First observedsearch_markets
    • First observedsearch_series

TDQS

A4.1/5.0

Scored across 8 tools

Disambiguation4/5

The three search_* tools target distinct entities (individual markets, recurring series, and event groupings), and the descriptions clarify which search to start with, but an agent could still hesitate between search_series and search_events for some workflows. The get_* tools are clearly separated by data type: order book depth, price series, and derived metrics.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern: search_* for discovery and get_* for retrieval. There is no mixed casing, vague verb, or off-pattern name.

Tool Count5/5

With eight tools, the server is well-scoped: discovery tools for each Polymarket entity, one market detail tool, three historical data tools, and one usage-account tool. Each tool fills a distinct role.

Completeness4/5

The read-only analytics workflow is well covered: find a market, expand to series or events, inspect a market, and then retrieve price, orderbook, or quality time series. A minor gap is the lack of an explicit current-orderbook snapshot endpoint, though historical snapshots and market detail cover most needs.

Maintenance

ActivityMaintained
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    B
    quality
    D
    maintenance
    Enables comprehensive read access to Polymarket prediction market data, including live prices, order books, and market statistics. It allows AI assistants to analyze events, search markets, and monitor real-time signals without requiring API keys or authentication.
    22
    1
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    Polymarket prediction markets for Claude — market search, order books, price history, and a liquidity-rewards scanner. Credential-free.
    6
    34 npm
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Reference data layer for prediction markets: resolution-clarity grades (A/B/C), named resolution sources with provenance, cross-venue linking, and per-contract eligibility screens across Kalshi and Polymarket. Open,read-only, no key required.
    3
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    A read-only MCP server exposing Polymarket's public prediction-market data. Search markets, read live odds and order books, pull historical probability time-series, and inspect public wallet positions.
    14
    63 PyPI
    MIT