blocklens-mcp-server
MCP server by blocklens Community
Connects AI assistants to 127 Bitcoin on-chain metrics from Blocklens, computed from raw blockchain data. It suits anyone who wants MVRV, SOPR, NUPL, HODL Waves and similar analysis in chat. A demo mode works without an API key.
Install blocklens-mcp-server
Built from the published package, never by AI.
claude mcp add blocklens-mcp-server -e BLOCKLENS_API_KEY=YOUR_BLOCKLENS_API_KEY -- npx -y blocklens-mcp-serverRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"blocklens-mcp-server": {
"env": {
"BLOCKLENS_API_KEY": "YOUR_BLOCKLENS_API_KEY"
},
"args": [
"-y",
"blocklens-mcp-server"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
Step-by-step: install blocklens-mcp-server in Claude Desktop
{
"mcpServers": {
"blocklens-mcp-server": {
"env": {
"BLOCKLENS_API_KEY": "YOUR_BLOCKLENS_API_KEY"
},
"args": [
"-y",
"blocklens-mcp-server"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"blocklens-mcp-server": {
"env": {
"BLOCKLENS_API_KEY": "YOUR_BLOCKLENS_API_KEY"
},
"args": [
"-y",
"blocklens-mcp-server"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add blocklens-mcp-server --env BLOCKLENS_API_KEY=YOUR_BLOCKLENS_API_KEY -- npx -y blocklens-mcp-server{
"mcpServers": {
"blocklens-mcp-server": {
"env": {
"BLOCKLENS_API_KEY": "YOUR_BLOCKLENS_API_KEY"
},
"args": [
"-y",
"blocklens-mcp-server"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
Step-by-step: install blocklens-mcp-server in Antigravity CLI
gemini mcp add blocklens-mcp-server npx -y blocklens-mcp-serverGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the blocklens-mcp-server block.
About
blocklens-mcp-server is an MCP server for Blocklens Bitcoin on-chain analytics. It gives an AI assistant access to 127 on-chain metrics computed from raw blockchain data. The source lists categories including market data, supply, valuation, profitability, coin days, ETF analytics and blockchain data.
The server offers 15 tools, such as get_metric, get_holder_valuation, get_holder_profit, get_coindays and render_chart. Users can connect to the hosted remote endpoint at mcp.blocklens.co, or install it locally with npx and a Blocklens API key. Demo mode works without a key and returns 60 days of history for basic-tier metrics. The project is aimed at analysts and investors who want on-chain data inside their AI tools.
Written from the project's README and checked against it.
Tools it gives your assistant
list_metricsLists all 127 available metrics with categories and tiers.search_metricsSearches metrics by keyword.get_metricReturns the full definition of a single metric.get_pricesReturns BTC daily OHLC, market cap, volume, drawdown and realized volatility.get_holder_valuationReturns realized cap and price, MVRV, thermo cap and balanced price.get_holder_profitReturns NUPL, realized and unrealized P/L, and SOPR with LTH and STH breakdowns.get_cohort_metricsReturns age cohort supply, realized cap and realized price across 12 age brackets.get_coindaysReturns Coin Days Destroyed, liveliness, vaultedness, dormancy and dormancy flow.get_cycle_performanceReturns cycle performance indexed from lows, ATHs and halvings.render_chartRenders any metric as a PNG chart with annotations and templates.
What you need
- Blocklens API key for full access (optional for demo mode)
- Pro plan at $50 per month for holder profit metrics
- Node.js and npx for local install
| Setting | Needed | What it is |
|---|---|---|
BLOCKLENS_Environment variable, secret | Required | Blocklens API key (get one at https://blocklens.co/settings) |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Try asking
- What's Bitcoin's current MVRV ratio and what does it say about valuation?
- Chart dormancy flow with price overlay for the last 2 years
- Are long-dormant coins waking up? Check liveliness and CDD
Good to know
- Demo mode without an API key returns 60 days of history for basic-tier metrics.
- Some metrics, such as get_holder_profit, require the Pro tier.
- Pro allows 10,000 daily requests and Enterprise allows 100,000.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to blocklens-mcp-server
All alternatives →Connects AI assistants to Stripe through the hosted Stripe MCP server at mcp.stripe.com. It is for developers building AI-powered products and businesses on Stripe.
Gives AI assistants market data, technical analysis, backtests, options activity and news sentiment for stocks, crypto, FX and metals. Built for traders and developers using Claude, ChatGPT, Cursor or other MCP clients. Its outputs are informational, not financial advice.
CCXT is an official MCP server for market data and trading across more than 100 exchanges and prediction markets. It is aimed at developers, traders and AI agents.
Calculates over 1400 transparent financial methods from raw statements and exposes them to AI assistants through an MCP server. Suited to analysts and developers who want to see how each metric is computed.
Lets an AI assistant search x402 APIs and pay for them in USDC from a local, non-custodial wallet. Built for people and agents that need to pay APIs per call under spend caps.
Lets AI assistants explore a free database of over 300,000 symbols, including equities, ETFs, funds, indices, currencies and cryptocurrencies, categorised by sector, industry and country. It suits private investors who want to discover products rather than look up fundamentals or stock data.
Compare with mcp, TradingMCP or CCXT
blocklens-mcp-server: common questions
Does blocklens-mcp-server need an API key?
No. The source says it works without an API key in demo mode, which gives 60 days of history for basic-tier metrics. A key from blocklens.co/api-keys is needed for full access.
How many metrics does blocklens-mcp-server cover?
The source states 127 on-chain metrics across market data, supply, valuation, profitability, coin days, ETF analytics and blockchain data.
Can I use it without installing anything?
Yes. The source describes a hosted remote endpoint at mcp.blocklens.co that can be added as a connector in Claude.ai or accessed by any MCP HTTP client.
How do I install blocklens-mcp-server?
In Claude Code run claude mcp add blocklens-mcp-server -e BLOCKLENS_API_KEY=YOUR_BLOCKLENS_API_KEY -- npx -y blocklens-mcp-server. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is blocklens-mcp-server the official server?
blocklens-mcp-server is a community project by blocklens, not verified by a company domain.
Is blocklens-mcp-server free?
The code is public, but no licence file was found, so check the repository before commercial use.
Is blocklens-mcp-server safe to use?
It scores 50 of 100. Grades: maintenance D, licence F, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to blocklens-mcp-server?
Similar MCP servers: mcp, TradingMCP, CCXT, Finance Toolkit.
Does blocklens-mcp-server work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
