Blocklens Mcp Server

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

Bitcoin on-chain analytics — 109 metrics: MVRV, SOPR, NUPL, HODL Waves, CDD, cycles & more

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

概览

AI 生成的概览

Blocklens MCP 服务器让 AI 助手获取比特币链上分析数据:127 项指标(如 MVRV、SOPR、NUPL、HODL Waves、CDD),并可将指标渲染为 PNG 图表。

可以做什么
浏览和搜索指标目录,读取指标定义与分类,并获取各类别的最新快照(list_metrics、search_metrics、get_metric、get_categories、get_latest_metrics)。获取 BTC 市场数据:每日 OHLC、市值、成交量、回撤及各周期已实现波动率(get_prices)。查询持有者与供应数据:长期/短期持有者供应、已实现市值与价格、MVRV、NUPL、SOPR、年龄分组及 UTXO 历史(get_holder_supply、get_holder_valuation、get_holder_profit、get_cohort_metrics、get_utxo_history)。读取币天类指标(CDD、活跃度、休眠度、休眠流)以及区块高度和周期表现(get_coindays、get_blockchain、get_cycle_performance)。
适用场景
适合让助手回答比特币估值、供应、盈利能力和周期相关问题,并在对话中直接绘制这些指标的图表,而无需手动查数。
运行要求
以本地 npm 包通过 stdio 运行,或连接托管远程端点。完整访问需要 BLOCKLENS_API_KEY 环境变量;未提供时进入演示模式,仅提供基础指标 60 天历史。付费 Pro 与 Enterprise 套餐可解锁无限历史与全部指标。
安装前请注意
需要 BLOCKLENS_API_KEY 密钥,需写入客户端配置文件。完整历史与更高等级指标需要付费订阅(Pro 或 Enterprise)。指标数据从 Blocklens 服务器获取,查询会发送给该第三方。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Blocklens Mcp Server,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

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

其他 MCP 客户端

参照 仓库 中的启动说明。

README

blocklens-mcp-server

MCP (Model Context Protocol) server for Blocklens Bitcoin on-chain analytics. Connect your AI agent to 127 on-chain metrics computed from raw blockchain data — no API wrappers, no delays.

Quick Start

Remote Access (No Install)

Connect directly to the hosted endpoint — no packages, no local setup:

Claude.ai (Browser): Settings → Connectors → Add → URL: https://mcp.blocklens.co

Claude Desktop / Cursor / Windsurf (via mcp-remote):

json
{  "mcpServers": {    "blocklens": {      "command": "npx",      "args": ["mcp-remote", "https://mcp.blocklens.co"]    }  }}

Any MCP HTTP client: POST to https://mcp.blocklens.co (Streamable HTTP transport)

Local Install

Claude Desktop

Add to your claude_desktop_config.json:

json
{  "mcpServers": {    "blocklens": {      "command": "npx",      "args": ["-y", "blocklens-mcp-server"],      "env": {        "BLOCKLENS_API_KEY": "blk_your_key_here"      }    }  }}

Config file location:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
Cursor / Windsurf

Add to your MCP config (.cursor/mcp.json):

json
{  "blocklens": {    "command": "npx",    "args": ["-y", "blocklens-mcp-server"],    "env": {      "BLOCKLENS_API_KEY": "blk_your_key_here"    }  }}
Demo Mode (No API Key)

Works without an API key — you get 60 days of history for basic-tier metrics. Get an API key at blocklens.co/api-keys for full access.

Available Tools (15)

ToolDescription
list_metricsList all 127 available metrics with categories and tiers
search_metricsSearch metrics by keyword
get_metricGet full definition of a single metric
get_categoriesList metric categories with counts
get_pricesBTC daily OHLC, market cap, volume, drawdown, realized volatility (1W–1Y)
get_holder_supplyLTH/STH supply breakdown, circulating supply
get_holder_valuationRealized cap/price, MVRV, thermo cap, delta cap, balanced price, investor cap
get_holder_profitNUPL, realized/unrealized P/L, SOPR — LTH/STH breakdowns (Pro tier)
get_cohort_metricsAge cohort supply, realized cap, realized price (12 age brackets)
get_utxo_historyUTXO set breakdown by age cohort
get_coindaysCoin Days Destroyed, liveliness, vaultedness, dormancy, dormancy flow
get_blockchainBlock height, blocks mined
get_cycle_performanceCycle performance indexed from lows, ATHs, halvings
get_latest_metricsLatest snapshot across all categories
render_chartRender any metric as PNG with annotations and templates

Metrics Coverage (127 total)

Market Data (27 metrics)

Price, OHLC, volume, market cap, drawdown from ATH, 6 realized volatility windows (1W, 2W, 1M, 3M, 6M, 1Y), cycle performance, and individual cycle tracks from lows, ATHs, and halvings.

Supply (16 metrics)

Circulating supply, LTH/STH supply, cost basis distribution heatmap, and 12 age cohort supplies (<24h through 10y+) for HODL Waves analysis.

Valuation (41 metrics)

Realized cap, realized price, MVRV (aggregate + LTH/STH), thermo cap, delta cap, average cap, balanced price, investor cap, market cap/thermo cap ratio, and 24 age cohort realized prices and caps.

Profitability (12 metrics)

NUPL, unrealized/realized P/L, SOPR — each with aggregate, LTH, and STH breakdowns.

Coin Days (11 metrics)

Coin Days Destroyed (CDD), binary CDD, supply-adjusted CDD, liveliness, vaultedness, dormancy, dormancy flow, net coin days, coin days accumulated, transferred price, transfer volume.

ETF Analytics (11 metrics)

Total BTC holdings, AUM, net/cumulative flows, cumulative money flow, ETF realized price, US Spot ETF realized price, US Spot cumulative money flow, BTC dominance, US BTC holdings, ETF premium average.

Blockchain (2 metrics)

Block height, blocks mined.

Chart Rendering

The render_chart tool generates PNG charts inline in the conversation.

Quick examples:

render_chart({ metric: "price", days: 365 })render_chart({ template: "mvrv_ratio" })render_chart({ metrics: ["lth_supply", "sth_supply"], style: "area" })render_chart({ metric: "dormancy_flow", overlay: "price" })render_chart({ template: "realized_volatility", days: 730 })

Annotations — reference lines and areas:

render_chart({  metric: "lth_mvrv",  reference_lines: [    { "y": 3.5, "label": "Overheated", "stroke": "#ef4444", "dash": "3 3" }  ],  reference_areas: [    { "y1": 0, "y2": 0.85, "label": "Undervalued", "fill": "#22c55e", "fill_opacity": 0.15 }  ]})

Example Prompts

  • "What's Bitcoin's current MVRV ratio and what does it say about valuation?"
  • "Show me realized volatility — is short-term vol higher than long-term?"
  • "Chart dormancy flow with price overlay for the last 2 years"
  • "Compare LTH and STH supply trends over 90 days"
  • "Are long-dormant coins waking up? Check liveliness and CDD"
  • "Show cycle performance from each halving — are we tracking historical patterns?"
  • "What's the current NUPL level? Is the market in euphoria or fear?"

Access Tiers

TierHistoryMetricsDaily Requests
Demo (no key)60 daysBasic (grade 0)Unlimited
Pro ($50/mo)UnlimitedAll grade 0–110,000
Enterprise ($900/mo)UnlimitedAll grade 0–2100,000

Links

License

MIT

来源:README.md,提交 8cc2dc0

工具

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

版本历史

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

评分

已满足适用检查项的 40%

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

  • 近 30 天内可连通25 分

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

  • 已声明认证方式10 分

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

  • 已列出工具15 分

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

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

    请在仓库或注册中心条目中声明许可证。