关于 Predmcp
Predmcp 是面向 AI 交易 Agent 的只读 MCP 服务,汇集 Polymarket、Hyperliquid 和 HIP-4 实时数据及跨平台信号。它提供市场分析工具,但不执行订单,也不接触私钥。
主要功能
- 01Polymarket 市场与订单簿数据
- 02Hyperliquid 永续合约及资金费率
- 03跨平台信号与背离分析
- 04巨鲸活动与市场异动
- 05只读访问,不执行订单
适用场景
- 01查看预测市场赔率与成交量
- 02对比 BTC 永续合约与预测市场动态
- 03追踪资金费率和巨鲸交易
MCP 相关
向 MCP 客户端提供 44 个只读查询工具,涵盖 Polymarket、Hyperliquid 和 HIP-4 数据及分析。托管服务支持 HTTP 传输。
配置
远程服务无需本地安装。选择你使用的客户端,复制配置或使用一键安装。
https://predmcp.com/mcpclaude mcp add --transport http predmcp https://predmcp.com/mcp{"mcpServers":{"predmcp":{"type":"http","url":"https://predmcp.com/mcp"}}}在 Cursor 中打开{"servers":{"predmcp":{"type":"http","url":"https://predmcp.com/mcp"}}}在 VS Code 中打开{"mcpServers":{"predmcp":{"type":"http","url":"https://predmcp.com/mcp"}}}{"mcpServers":{"predmcp":{"serverUrl":"https://predmcp.com/mcp"}}}命令在终端中运行;JSON 粘贴到对应客户端的 MCP 配置后重启。需要授权的服务会在首次连接时提示登录。
https://predmcp.com/mcp需要授权工具
52| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
| string | 是 | 您的电子邮件地址——用于识别您的密钥和恢复账户 |
详细介绍
PredMCP
为 AI 交易 Agent 提供安全、只读的市场数据。
44 个 MCP 工具,覆盖 Polymarket 预测市场、Hyperliquid 永续合约和原生预测功能 HIP-4。让你的 Agent 接入实时交易数据,却始终无法执行订单。
在线托管,抢先体验期间免费:predmcp.com
为什么只读很重要
将大模型接入交易平台时,人们最担心的问题在每次讨论中都一样:“它实际上不能交易,对吧?” PredMCP 的设计让这个问题只有一个答案。
- 没有执行端点。 这份代码库中不存在任何下单代码。不是被限制访问,也不是被注释掉了——而是根本没有实现。没有任何东西可启用。
- 不会接触私钥。 我们使用公开的 Hyperliquid Info API 和 Polymarket Gamma API。你的钱包、助记词、账户——我们从未见过,也不会索要。
- 44 个工具,全部用于查询。 市场、订单簿、资金费率、大户活动、信号。每个工具都只读。你的 Agent 分析市场;只有你能采取行动。
包含内容
公开数据(任意免费密钥)
| 系列 | 工具 |
|---|---|
| Polymarket | get_markets · get_odds · get_orderbook · get_whale_positions · search_markets · get_movers · get_markets_near_resolution · get_volume_spikes · get_late_game_sports |
| Hyperliquid 永续合约 | get_funding_rates · get_open_interest · get_whale_trades · get_orderbook_depth · get_top_funding_rates · get_oi_near_cap · get_funding_momentum |
| 宏观与价格 | get_price_summary · get_basic_macro · get_recent_news · get_simple_iv |
智能分析(抢先体验——开放阶段免费)
| 系列 | 工具 |
|---|---|
| 跨平台信号 | get_signals · get_market_context · get_pm_hl_divergences · get_hl_funding_pm_correlation · get_hip4_vs_pm_arb · get_whale_convergence |
| 信号智能分析 | get_signal_backtest · get_conviction_score · get_funding_curve_anomaly · get_setup_quality · explain_signal |
| 宏观与资金流 | get_macro_context · get_macro_liquidity · get_cex_outflows · get_upcoming_catalysts · get_news_correlation |
| 面向 Agent 的体验 | get_portfolio_risk · get_options_iv · get_social_velocity · get_whale_label |
每个工具都是 Agent 可调用的一个动词。通过 MCP 实现自描述。
示例
伊朗——预测市场当前的看法:
"US x Iran peace deal by May 15" → YES 20% ($9M volume)
"US x Iran peace deal by May 31" → YES 34% ($16M volume, +4% today)
"Iranian regime falls before 2027" → YES 15% ($17M volume)
"US invades Iran before 2027" → YES 21% ($26M volume)
调用一次 get_market_context 即可。
BTC 跨平台信号:
HL perps: $79,740 | funding: neutral | OI: 31,100 BTC
HIP-4: BTC > $81,041 by 6am tomorrow → YES 12% (market says no)
Signal: ✓ ALIGNED — perps neutral, prediction bearish
出现背离时就意味着存在信号。get_signals 会计算该信号。
24 小时涨跌幅榜:
"Will Bitcoin hit $150k by June 30?" $5.8M traded in 24h
"US x Iran permanent peace deal" $3.2M in 24h (+4% move)
Athletics vs Phillies +55% price move
使用托管服务(推荐)
在 predmcp.com/signup 获取免费 API 密钥(邮箱注册,无需信用卡,每天 100 次调用),然后将以下内容添加到你的 claude_desktop_config.json:
{
"mcpServers": {
"predmcp": {
"type": "http",
"url": "https://predmcp.com/mcp",
"headers": { "x-api-key": "YOUR_KEY" }
}
}
}
也适用于 Cursor、Windsurf、Claude.ai(OAuth)以及任何支持 HTTP 传输的 MCP 客户端。
向你的 Agent 提问:
- “预测市场目前对伊朗有什么看法?”
- “BTC 永续合约交易者和预测市场之间是否存在背离?”
- “过去 24 小时内哪些市场波动最大?”
- “目前是否有大户同时在 Hyperliquid 和 Polymarket 上交易 BTC?”
抢先体验
我们目前处于开放的抢先体验阶段:全部 44 个工具均可使用,无访问限制,无需信用卡。付费套餐推出后,前 50 位注册用户可保留原有权益 90 天。
自托管
公开的开源核心涵盖只读数据层(Polymarket 和 Hyperliquid 封装器、MCP 服务、注册/身份验证)。智能分析/私有工具(信号、信心评分、宏观资金流)位于私有侧边模块中——托管版本会提供这些工具,开源版本则不会。
git clone https://github.com/RavioleLabs/predmcp
cd predmcp
npm install
npm run build
IP_HASH_PEPPER="$(openssl rand -hex 32)" npm start
服务运行在 http://localhost:3000/mcp。公开数据源无需上游 API 密钥。
技术栈
TypeScript · Fastify · MCP SDK · SQLite (better-sqlite3) · Polymarket Gamma API · Hyperliquid Info API
许可证
MIT — Raviole Labs。
评论
一个开放协议,规定了 AI 应用如何以统一方式连接外部工具与数据源。客户端负责与模型对话,MCP 服务负责提供工具、资源和提示模板,两者通过标准消息通信,同一个服务可以被不同客户端复用。