Token导航 LogoToken导航TokenDH.com
MCP Predictive Market logo
数据服务stdio官方级别未说明来源级核验

MCP Predictive Market

MCP Server

MCP Predictive Market 是一个通过自然语言查询和分析预测市场数据的工具,支持多平台搜索、套利检测和市场跟踪功能。

工具数

8

提示词数

0

GitHub Stars

3

资源数

0
PythonClaude数据分析Claude DesktopClaudeCursor

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

作者 / 组织

EricGrill

提供方

EricGrill

最后核验

2026/5/17 20:20

运行时

Python

快速接入

先看主来源和安装命令,再打开仓库或文档;下面只保留这个条目的关键接入事实。

命令预览

uv run python -m mcp_predictive_market.server

详细介绍

MCP Predictive Market

Query and analyze prediction markets through Claude

= 3.11">

Quick Start | Tools | Platforms | Configuration | Plugin Marketplace

______________________________________________________________________

这是什么?

一个MCP(模型上下文协议)服务器,从以下位置聚合预测市场数据 5大平台.搜索市场,比较赔率,发现套利机会,并通过自然语言跟踪预测。

适用于Claude Desktop、Claude Code、Cursor和任何兼容MCP的客户端。

部分 克劳德代码插件市场.

______________________________________________________________________

快速开始

# Clone and install
git clone https://github.com/EricGrill/mcp-predictive-market.git
cd mcp-predictive-market
uv sync

# Run the server
uv run python -m mcp_predictive_market.server

添加到您的Claude配置并开始查询市场:

“寻找人工智能监管的预测市场”

______________________________________________________________________

为什么使用这个?

特性描述
多平台搜索同时查询5个预测市场
套利检测查找不同平台的价格差异
市场跟踪建立观察名单并监控赔率变化
平台比较类似问题的并列赔率
统一数据模型跨所有平台的一致市场模式

______________________________________________________________________

可用工具

搜索与发现

工具说明
search_markets按关键字搜索所有平台上的市场
list_categories获取可用的市场类别
browse_category浏览特定类别的市场

市场数据

工具说明
get_market_odds获取特定市场的当前赔率
compare_platforms类似市场的并排比较

追踪

工具说明
track_market将市场添加到您的观察名单中
get_tracked_markets查看所有跟踪的市场和当前价格

分析

工具说明
find_arbitrage检测平台之间的价格差异

______________________________________________________________________

支持的平台

平台URL专业化
多种市场歧管市场玩钱,品种繁多
多市场polymarket.com加密货币,高流动性
Metaulusmetaculus.com科学,长期预测
预测predictit.org美国政治
卡尔希kalshi.comCFTC监管的真实货币

______________________________________________________________________

配置

Claude桌面设置

添加到您的Claude Desktop配置中:

平台配置路径
macOS~/Library/Application Support/Claude/claude_desktop_config.json
窗户%APPDATA%\Claude\claude_desktop_config.json
Linux~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "prediction-market": {
      "command": "uv",
      "args": ["run", "--directory", "/path/to/mcp-predictive-market", "python", "-m", "mcp_predictive_market.server"]
    }
  }
}

Claude代码设置

添加到您的项目 .mcp.json~/.config/claude-code/mcp.json:

{
  "mcpServers": {
    "prediction-market": {
      "command": "uv",
      "args": ["run", "--directory", "/path/to/mcp-predictive-market", "python", "-m", "mcp_predictive_market.server"]
    }
  }
}

______________________________________________________________________

例子

Search & Discovery

"Find prediction markets about AI"
"What categories of markets are available?"
"Show me crypto markets on Polymarket"
"Browse politics markets"

Market Analysis

"Get current odds for Manifold market abc123"
"Compare odds for 'Will Bitcoin hit $100k?' across all platforms"
"Show me the probability of a 2024 recession on different platforms"

Arbitrage Detection

"Find arbitrage opportunities with at least 10% spread"
"Are there any markets with significantly different odds across platforms?"
"Show me the biggest price discrepancies right now"

Market Tracking

"Track the Polymarket election market"
"Show all my tracked markets"
"What are the current prices on my watchlist?"

______________________________________________________________________

发展

# Clone
git clone https://github.com/EricGrill/mcp-predictive-market.git
cd mcp-predictive-market

# Install with dev dependencies
uv sync --extra dev

# Run tests
uv run pytest -v

# Run specific test file
uv run pytest tests/test_integration.py -v

项目结构

src/mcp_predictive_market/
├── server.py           # MCP server entry point
├── tools.py            # Tool handler implementations
├── schema.py           # Unified market data models
├── errors.py           # Custom exceptions
├── rate_limiter.py     # Per-platform rate limiting
├── adapters/           # Platform-specific adapters
│   ├── base.py         # Adapter protocol
│   ├── manifold.py
│   ├── polymarket.py
│   ├── metaculus.py
│   ├── predictit.py
│   └── kalshi.py
├── analysis/           # Market analysis modules
│   ├── matching.py     # Cross-platform market matching
│   └── arbitrage.py    # Arbitrage detection
└── state/              # State management
    └── memvid_client.py

______________________________________________________________________

故障排除

No results from a platform

  1. 平台API可能有费率限制-等待并重试
  2. 检查平台是否在线:直接访问网站
  3. 一些平台过滤某些市场类型

Arbitrage opportunities not found

  1. 降低 min_spread 参数(默认值为5%)
  2. 尝试更广泛的搜索词
  3. 有效市场中的机会更少

Market not found

  1. 验证市场ID格式(因平台而异)
  2. 确保市场尚未解决/关闭
  3. 检查您是否使用了正确的平台名称

______________________________________________________________________

相关项目

______________________________________________________________________

贡献

欢迎投稿!

  1. 分叉存储库
  2. 创建要素分支: git checkout -b feature/my-feature
  3. 进行更改和测试: uv run pytest
  4. 承诺: git commit -m 'Add my feature'
  5. 推: git push origin feature/my-feature
  6. 打开拉取请求

______________________________________________________________________

许可证

麻省理工学院

目录标签

目录标签

PythonClaude数据分析预测市场本地部署套利检测市场跟踪多平台搜索

支持客户端

Claude DesktopClaudeCursor

接入字段

传输方式(transport,传输协议)

stdio

鉴权方式(authType,认证方式)

none

运行时(runtime,运行环境)

Python

部署方式(deploymentType,部署类型)

remote-capable

工具数量(toolCount,工具数)

8

资源数量(resourceCount,资源数)

0

提示词数量(promptCount,提示词数)

0

权限和风险

stdiononeremote-capable

接入前请确认传输方式、认证方式和部署位置,并根据实际工具能力限制访问范围。

安装前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

来源信息

继续浏览同类 MCP