OP

ozgureyilmaz/polymarket-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

48 stars 14 forks 质量 59 趋势 13MIT

ozgureyilmaz/polymarket-mcp 是从 https://github.com/ozgureyilmaz/polymarket-mcp. 导入的 MCP 服务器候选服务器

概览

ozgureyilmaz/polymarket-mcp 是从 https://github.com/ozgureyilmaz/polymarket-mcp. 导入的 MCP 服务器候选服务器

概述(AI 翻译)

🎲 预测市场触手可及

Polymarket的MCP服务器和CLI。获取实时市场数据、价格,并通过Claude桌面或终端进行搜索。

特色

实时数据:活跃市场、成交量趋势、当前价格。

搜索:通过关键词在问题和描述中查找市场。

多接口:Claude Desktop 集成 + 独立 CLI。

输出格式:JSON、漂亮打印表或干净表。

缓存:内置智能缓存,带有自动重试逻辑。

要求

锈蚀 1.70+(curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh)

Claude Desktop for MCP 集成(下载)

安装

二进制安装到 ~/.cargo/bin/polymarket-mcp。

布置

配置Claude桌面:

编辑 ~/Library/Application Support/Claude/claude_desktop_config.json(macOS):

重启 Claude 桌面。

使用

CLI

和克劳德

设置好后,问问Claude:

  • “向我展示趋势预测市场”
  • “搜索关于特朗普的市场”
  • “美联储决策市场当前价格是多少?”

开发

链接

  • 问题
  • MCP文档
  • 多市场-MCP文件
  • 多市场API

本页由 AI 翻译,技术细节请以原文为准。

README

polymarket-mcp

🎲 prediction markets at your fingertips

mcp server and cli for polymarket. get real-time market data, prices, and search through claude desktop or terminal.

features

real-time data: active markets, trending by volume, current prices.

search: find markets by keyword across questions and descriptions.

multiple interfaces: claude desktop integration + standalone cli.

output formats: json, pretty-printed, or clean tables.

caching: built-in smart caching with auto-retry logic.

requirements

rust 1.70+ (curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh)

claude desktop for mcp integration (download)

install

cargo install --git https://github.com/ozgureyilmaz/polymarket-mcp

binary installs to ~/.cargo/bin/polymarket-mcp.

setup

configure claude desktop:

edit ~/Library/Application Support/Claude/claude_desktop_config.json (macos):

{
  "mcpServers": {
    "polymarket": {
      "command": "polymarket-mcp"
    }
  }
}

restart claude desktop.

usage

cli

# trending markets
polymarket-mcp --output table trending --limit 5

# active markets
polymarket-mcp --output table markets --limit 10

# search
polymarket-mcp --output table search "fed" --limit 5

# market details
polymarket-mcp market 601700

# prices
polymarket-mcp prices 601700

with claude

after setup, ask claude:

  • “show me trending prediction markets”
  • “search for markets about trump”
  • “what’s the current price on the fed decision market?”

development

cargo test
cargo build --release
在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "polymarket": { "command": "polymarket-mcp" } } }