Bitcoin Data Labs MCP
OfficialFetches and caches Bitcoin Data Labs JSON and Parquet datasets from github.com/bitcoindatalabs/* on demand, enabling zero-clone queries over the hosted data repositories.
bitcoindatalabs-mcp
Zero-clone Model Context Protocol (MCP) server for Bitcoin Data Labs open telemetry, open-source ecosystem security metrics, and reproducible empirical research.
Query 1,009 ecosystem OSS repositories, Bitcoin Core governance & BIPs, developer funding, three peer-cited Lightning Network security studies (arXiv:2610.20952, 2610.30350, 2611.16311), mining pool HHI concentration, and aggregate on-chain forensics inside Claude, Cursor, Antigravity, or VS Code — without cloning any data repositories.
Quick Start (Zero Clone)
bitcoindatalabs-mcp lazily fetches only the JSON and Parquet files your query needs from github.com/bitcoindatalabs/* and caches them in ~/.cache/bitcoindatalabs-mcp/ (DuckDB queries Parquet slices in memory).
Claude Desktop / Cursor / Antigravity (mcpServers)
{
"mcpServers": {
"bitcoindatalabs-mcp": {
"command": "uvx",
"args": ["bitcoindatalabs-mcp"]
}
}
}Local Python Install (also installs the bdl-mcp CLI alias)
pip install bitcoindatalabs-mcp
bitcoindatalabs-mcp # or CLI alias: bdl-mcpFor local development against cloned bitcoindatalabs/* repositories, set BDL_GITHUB_ROOT to avoid HTTPS requests:
export BDL_GITHUB_ROOT=/path/to/github/checkouts
pip install -e ".[dev]"
pytest -vRelated MCP server: Openchainbench
Datasets, Tools & Resources (11 Repositories, 13 Tools, 7 Resources)
Repository | MCP Tool | Empirical Coverage |
Meta / Papers |
| Full catalog + summaries, arXiv DOIs & BibTeX for the 3 Lightning security papers |
| 857 gossip snapshots, 132,360 closes, 2026 CLN shutdown metrics ( | |
| 814 usable daily snapshots, 12 disclosures, release-line patch lag ( | |
| 973,581 channel closes (523,815 force closes) through block 974,041 ( | |
| Weekly network snapshot + DuckDB PlebRank top-node leaderboard ( | |
| Monthly State of Bitcoin Core engineering KPIs, review health & maintainer footprints | |
| Maintainer footprints + DuckDB search over 218 BIPs ( | |
| 20 funding organizations & 277 sponsored open-source developers | |
| Release cadence, GitHub stars & download counts across 29 core OSS projects | |
| 1,009 ecosystem repos & 109 curated projects across 14 layers: security maturity tiers, | |
| Aggregate Coldcard weak-RNG sweep metrics, 10 attack waves & timeline (aggregates only) | |
| 167 mining pools tracked with per-year HHI and top-3 share across |
Read-Only MCP Resources & Prompts
Resources:
bdl://attribution,bdl://overview,bdl://papers,bdl://lightning/snapshot,bdl://core-dev/latest,bdl://ecosystem,bdl://coldcard/summaryPrompts:
lightning_security_brief,core_governance_brief,regulatory_data_brief
Data Ethics & Attribution
Security outputs are aggregates only (no per-node vulnerability rankings or victim PII).
Server code is MIT-licensed; underlying Bitcoin Data Labs datasets are published under CC BY 4.0.
Attribution:
Source: Bitcoin Data Labs (bitcoindatalabs.org)— ORCID0009-0004-7944-3492.
Available Tools
13 toolsget_bip_statusARead-onlyIdempotent
Search Bitcoin Improvement Proposals (BIPs) by keyword/ID or status (e.g. Deployed, Complete, Draft, Closed).
Inputs: limit, query, status. Returns: object
get_coldcard_forensics_summaryARead-onlyIdempotent
Get aggregate Coldcard weak-RNG sweep metrics, timeline, and external cross-validation sources.
Inputs: no named parameters. Returns: object
get_core_dev_healthBRead-onlyIdempotent
Get State of Bitcoin Core monthly engineering KPIs, review health, and maintainer footprints.
Inputs: month. Returns: object
get_ecosystem_fundingCRead-onlyIdempotent
Query Bitcoin open-source developer sponsors and funded contributors.
Inputs: limit, query. Returns: object
get_ln_client_diversityARead-onlyIdempotent
Query Lightning Network client diversity and 2026 Core Lightning shutdown metrics (arXiv:2610.20952). Section: summary | outage | hubs | census.
Inputs: section. Returns: object
get_ln_force_close_costsBRead-onlyIdempotent
Query 973,581 Lightning channel closes, anchor outputs, and HTLC outcomes (arXiv:2611.16311). Section: summary | breach_wave | pre_anchor | all.
Inputs: section. Returns: object
get_ln_network_snapshotBRead-onlyIdempotent
Get latest Lightning Network weekly snapshot and top public nodes ranked by PlebRank.
Inputs: top_nodes_limit. Returns: object
get_ln_upgrade_dynamicsBRead-onlyIdempotent
Query Lightning Network release-line inference and security patch-lag metrics (arXiv:2610.30350). Section: summary | advisories | panel | all.
Inputs: section. Returns: object
get_mining_pool_concentrationARead-onlyIdempotent
Get Bitcoin mining pool block attribution, top-3 share %, and HHI concentration index for a year (2009-2026).
Inputs: year, limit. Returns: object
get_oss_app_statsBRead-onlyIdempotent
Get release cadence, stars, and download stats for 29+ Bitcoin/Lightning open-source projects.
Inputs: limit, project, category. Returns: object
get_oss_ecosystem_healthBRead-onlyIdempotent
Query orange-eco-data across 1,009 OSS repos and 109 curated projects: security maturity tiers, SECURITY.md adoption, and issue health.
Inputs: layer, limit, query, security_tier. Returns: object
get_research_papersBRead-onlyIdempotent
Get summaries, DOIs, key metrics, and BibTeX for Bitcoin Data Labs Lightning security papers.
Inputs: paper_id. Returns: object
list_datasetsARead-onlyIdempotent
List all Bitcoin Data Labs datasets, coverage windows, attribution, and corresponding tools.
Inputs: no named parameters. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 13 tools
Each tool maps to a specific dataset or paper, and the descriptions carry arXiv IDs plus explicit section enums that help separate the four Lightning tools (client diversity, upgrade dynamics, force-close costs, network snapshot). The only real friction is the cluster of ecosystem tools (get_oss_app_stats, get_oss_ecosystem_health, get_ecosystem_funding) and the overlap between get_research_papers and the per-paper query tools, but these remain distinguishable on closer reading.
All 13 names follow a strict snake_case verb_noun pattern with a consistent 'get_' prefix for retrievals and a single 'list_' for enumeration. Domain prefixes (ln_, oss_, core_, bip_, mining_) further group related tools predictably.
13 tools is squarely in the well-scoped range, and each one maps to a named dataset or paper rather than being a redundant variant. Nothing appears padded, since the breadth comes from the underlying catalog of distinct research datasets.
The server is read-only by nature, and list_datasets serves as an index tying datasets to their tools, with per-dataset query tools covering the announced surface. Minor gaps exist: no cross-dataset search or aggregation, no pagination/time-range retrieval beyond the weekly snapshot and year parameter, and no tool for arbitrary metric lookups within a paper's raw tables.
Maintenance
Related MCP Connectors
Library (L402, x402, Lightning, stablecoins): 18 read-only tools plus 3 writers.
Live GitHub repo AST X-Ray, 42 coding-agent DoD gates, Git worktree guards & brownfield baselines.
Live GitHub repo AST X-Ray, 42 coding-agent DoD gates, Git worktree guards & brownfield baselines.
Cited Bitcoin coordination record search (~783k). Lightning. MCP. Not prices/chain analytics.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceProvides MCP tools that help AI agents get their bearings in a codebase with unified SQL views over code, git, docs, and conversations, powered by DuckDB.6Apache 2.0

Openchainbenchofficial
AlicenseNot gradedqualityAmaintenanceLive, reproducible crypto infrastructure benchmarks for AI agents: RPC latency, bridge fees, L1 finality, gas oracle accuracy, stablecoin pegs. Three tools (list_benchmarks, get_benchmark,query_prom), no API key, CC-BY-4.0 data.11MIT- AlicenseAqualityBmaintenanceEvidence-backed, read-only codebase diagnostics for coding agents: secrets, dependency, RLS, and source-impact audits with a verify loop and PR review verdicts. Never writes files or uses the network by default.7101 npmMIT
- AlicenseNot gradedqualityBmaintenanceExposes read-only local analysis tools for source auditing, web traffic review, binary reverse engineering, exploit scaffolding, OSINT, and reporting via JSON-RPC over stdio, enabling LLMs to orchestrate evidence-based security workflows without executing targets or sending network requests.1MIT