← 返回 Skills 市场
aisofialuz

Polymarket MCP — Live Markets & Prices

作者 AIsofialuz · GitHub ↗ · v1.1.0 · MIT-0
cross-platform ✓ 安全检测通过
65
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install polymarket-live-markets
功能描述
Real-time access to Polymarket prediction markets via the official Gamma API and CLOB v2 order book. Search thousands of markets on politics, crypto, sports,...
使用说明 (SKILL.md)

Polymarket MCP — Live Markets & Prices

Access the world's largest prediction market platform directly from your AI assistant.

What is Polymarket?

Polymarket is a decentralized prediction market platform where people trade on the outcomes of real-world events. Market prices represent the crowd's probability estimate for each outcome — making them some of the most accurate real-time forecasts available.

Why this MCP server?

Most tools that access Polymarket use cached API data with stale prices. polymarket-mcp pulls live prices directly from the CLOB v2 order book — the same data traders use — so you always get the most accurate numbers.

APIs used

API URL Purpose
Gamma API https://gamma-api.polymarket.com Market catalogue, search, metadata
CLOB v2 https://clob.polymarket.com Live order-book midpoint prices, price history

Smart slug resolution

When you search for markets, you get back event slugs. These same slugs work directly with get_market_details and get_current_prices — the server automatically resolves event slugs → most active embedded market, so you never need to manually look up a separate ID.

search_markets("bitcoin")
  → slug: "when-will-bitcoin-hit-150k"

get_current_prices("when-will-bitcoin-hit-150k")   ← works directly
get_market_details("when-will-bitcoin-hit-150k")   ← works directly
get_price_history("when-will-bitcoin-hit-150k", "7d")  ← works directly

Price history sparklines

get_price_history("will-bitcoin-hit-150k-by-june-30-2026", "24h")

  YES outcome  (25 data points)
  Open:   1.5%   Close: 1.1%
  Change: ▼ -0.40pp  (-26.7%)
  High:   1.5%   Low:   0.9%

  Chart: █▅▄█▇▇█▃▃▃▁▁▂▃▃▃▃▃▃▂▄▄▄▄▄
         0.9%                        1.5%
安全使用建议
Before installing, be comfortable with npm-based setup and with sending Polymarket-related search terms to Polymarket's public APIs. The reviewed artifacts do not show wallet access, trading actions, credential use, persistence, or local data collection.
功能分析
Type: OpenClaw Skill Name: polymarket-live-markets Version: 1.1.0 The polymarket-live-markets skill bundle is a legitimate, read-only MCP server designed to fetch prediction market data from Polymarket's official Gamma and CLOB v2 APIs. Analysis of the source code (server.ts, server.js, and server.py) confirms that it only performs standard HTTP GET requests to authorized endpoints (gamma-api.polymarket.com and clob.polymarket.com) and contains no evidence of data exfiltration, malicious execution, or prompt injection. The included test scripts (test.mjs and test-direct.mjs) are standard for local development and do not pose a security risk.
能力标签
cryptorequires-walletrequires-sensitive-credentials
能力评估
Purpose & Capability
The stated purpose, documented tools, and visible code align around read-only market search, pricing, history, and statistics from Polymarket APIs; no trading, wallet use, or credential handling is shown.
Instruction Scope
The skill exposes tools the agent can call to query public market data. This is coherent with the purpose, but user search terms and market identifiers may be sent to Polymarket APIs.
Install Mechanism
Registry install metadata says no install spec, while SKILL.md and README describe npm-based setup for a Node MCP server. This is purpose-aligned, but users should intentionally run install/build steps and trust the npm dependency chain.
Credentials
Network access to Polymarket Gamma and CLOB APIs is expected for live prices. The provided capability signals mention wallet/sensitive credentials, but the reviewed artifacts claim no auth/no wallet and the visible code uses public GET requests.
Persistence & Privilege
No persistent storage, background worker, privilege escalation, local file indexing, account mutation, or destructive behavior is evident in the provided artifacts.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install polymarket-live-markets
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /polymarket-live-markets 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.1.0
v1.1.0: Added search_by_category (browse by politics/crypto/sports/ai) and get_price_history (OHLC stats + Unicode sparkline charts for 1h/6h/24h/7d/30d). Improved search_markets with multi-field relevance scoring across titles, questions, and tags. get_current_prices now shows 24h price change indicator. All output reformatted with compact numbers and section headers. 3-step slug resolver handles market slugs, event slugs, and 0x condition IDs interchangeably. Zero credentials required.
元数据
Slug polymarket-live-markets
版本 1.1.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Polymarket MCP — Live Markets & Prices 是什么?

Real-time access to Polymarket prediction markets via the official Gamma API and CLOB v2 order book. Search thousands of markets on politics, crypto, sports,... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 65 次。

如何安装 Polymarket MCP — Live Markets & Prices?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install polymarket-live-markets」即可一键安装,无需额外配置。

Polymarket MCP — Live Markets & Prices 是免费的吗?

是的,Polymarket MCP — Live Markets & Prices 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Polymarket MCP — Live Markets & Prices 支持哪些平台?

Polymarket MCP — Live Markets & Prices 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Polymarket MCP — Live Markets & Prices?

由 AIsofialuz(@aisofialuz)开发并维护,当前版本 v1.1.0。

💬 留言讨论