BPE (Bitcoin Pricing Engine)

io.github.bxetech由 GitHub 账号 bxetech 发布v0.2.1更新于 Oct 24, 2026

Consolidated Bitcoin market data for AI agents: BBO pricing, ML signals, funding skew, briefings.

已验证STDIO仅桌面金融数据与分析

概览

AI 生成的概览

本地 MCP 服务器,为 AI 助手提供整合的比特币市场数据:聚合价格、机器学习信号、资金费率偏斜、情绪与简报。

可以做什么
获取 BPE 网络聚合的当前 BTC 价格,并取得涵盖价格、资金费率偏斜、机器学习信号、情绪与异常的自然语言市场简报,可选简要或详细版本。查询各交易所的年化资金费率及最大价差组合,并读取指定时间范围内的机器学习预测(方向、概率、置信度)。获取情绪快照,包括加密恐惧与贪婪指数、新闻情绪和内存池压力。
适用场景
适合需要比特币市场背景的智能体,无需逐一对接多家交易所 API,用一个密钥和一套数据结构即可获得价格、资金费率、信号与情绪。
运行要求
通过 stdio 在本地运行,通常使用 npx 或全局 npm 安装,因此需要 Node.js。需要在 BPE_API_KEY 环境变量中提供 BPE API 密钥;有免费额度可供评估,Agent 套餐可解锁完整简报接口。可选设置 BPE_BASE_URL 和 BPE_TIMEOUT_MS。需要访问 BPE 后端的网络。
安装前请注意
BPE_API_KEY 密钥通过环境变量传入,应避免出现在共享配置中。市场数据与简报来自第三方后端,查询会发送到该服务。该服务器仅提供只读市场数据,不进行交易或转移资金。套餐限制可能影响完整简报接口的使用。

安装

在 SourceWeft 中

  1. 打开 控制台中的 BPE (Bitcoin Pricing Engine),将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

BPE MCP Server

Model Context Protocol server for the BPE market-data API. Lets Claude Desktop, Cursor, Goose, and other MCP-enabled agents query consolidated Bitcoin pricing, ML signals, funding-rate skew, and natural-language market briefings — without writing any HTTP boilerplate.

Status: v0.2 — five tools, local stdio transport, no LLM calls inside the briefing endpoint (template-rendered). API key required.

Listed in the official MCP Server Registry as io.github.bxetech/bpe-mcp. Install via npm install -g @bxetech/bpe-mcp or npx -y @bxetech/bpe-mcp.

Why use it

If you're building an agent that touches Bitcoin markets, you have two options today:

  1. Talk to 36 different exchange APIs directly. Each has a different schema, different auth, different rate limits, different reliability. Your agent burns tokens reasoning over inconsistent payloads.
  2. Use one consolidated source. BPE aggregates all 36 venues into a single normalised feed with derived signals (ML predictions, sentiment, funding skew, basis). One auth, one schema, one tool call.

This MCP server is option 2 dressed up as native tools your agent can discover and call.

Tools (v0.2)

ToolWhat it does
get_consolidated_priceCurrent BTC price aggregated across the BPE network
get_market_briefing~4 lines (brief) or 6–8 (detailed) natural-language summary — price, funding skew, ML signal, sentiment, anomalies
get_funding_skewPer-venue annualised funding rates + max-spread pair
get_ml_signalCurrent ML prediction (direction, probability, confidence) at the requested horizon
get_sentiment_snapshotCrypto Fear & Greed index, news sentiment, mempool stress

Install

bash
npm install -g @bxetech/bpe-mcp

Or use npx with no install (recommended for Claude Desktop):

jsonc
// ~/Library/Application Support/Claude/claude_desktop_config.json{  "mcpServers": {    "bpe": {      "command": "npx",      "args": ["-y", "@bxetech/bpe-mcp"],      "env": {        "BPE_API_KEY": "bpe_..."      }    }  }}

Restart Claude Desktop. The five tools appear under the MCP server picker.

Configuration

Env varDefaultNotes
BPE_API_KEY(required)Get one at https://bxetech.com/contact
BPE_BASE_URLhttps://mcp.bxetech.comOverride for self-hosted / local dev
BPE_TIMEOUT_MS5000Per-request timeout

Local development

bash
git clone https://github.com/bxetech/bpe-mcpcd bpe-mcpnpm installnpm run buildBPE_API_KEY=... npm run dev

To dogfood in Claude Desktop while iterating, point at the local build:

jsonc
{  "mcpServers": {    "bpe-dev": {      "command": "node",      "args": ["/abs/path/to/mcp-server/dist/index.js"],      "env": {        "BPE_API_KEY": "...",        "BPE_BASE_URL": "http://localhost:8082"      }    }  }}

Roadmap

  • v0.2 — get_sentiment_snapshot ✅, friendly tier-aware errors ✅, timestamped briefings ✅
  • v0.3 — get_basis, subscribe_alert (webhook subscription), hosted HTTP transport for non-developer install (Cursor extension, ChatGPT Desktop)
  • v0.4 — Optional LLM-rendered briefing via Haiku (richer prose, with per-call cost)

See docs/research/AGENT_INTEGRATION_AND_MONETISATION_2026-04-27.md for the broader product / monetisation plan.

License

MIT — see LICENSE.

来源:README.md,提交 dd4f64c

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.2.1最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分