Glassnode MCP Server
A guide to using Glassnode's Model Context Protocol (MCP) server for AI agents.
The Glassnode MCP Server is currently in beta, and its tools are subject to change. Although this MCP server produces accurate data, it is possible that it could be misinterpreted by the LLM you are using.
Overview
Crypto on-chain metrics and market intelligence for AI agents.
A Model Context Protocol (MCP) server providing access to Glassnode's API. The server enables AI agents to access on-chain metrics, market data, and analytics.
For detailed information about the API and available data:
Features
Asset and metrics discovery
Metric metadata retrieval
Single and bulk data retrieval
Tools
The server provides seven tools for accessing Glassnode data:
get_assets_list: Get a list of all cryptocurrencies and tokens supported by Glassnodeget_metrics_list: Get a catalog of all available metrics and their paths, optionally filtered by categoryget_asset_metrics: Get metrics available for a specific assetget_metric_metadata: Get detailed information about a specific metric's structure and parametersfetch_metric: Fetch data (max 30d history) for a specific metric with customizable parametersfetch_bulk_metrics: Fetch data (max 30d history) for multiple assets simultaneously in a single request
Quick Setup
Install the Glassnode MCP server across all your AI clients with a single command:
This auto-detects installed clients (Claude Code, Cursor, VS Code, Codex, and more) and configures them.
Or follow the per-client instructions below.
The Authenticated tab in each section removes the 30-day time range limit. When using an API key, each request consumes API credits just like a direct API call. Get your key at studio.glassnode.com/settings/api.
Only configure one version of the Glassnode MCP server per client — either public access or authenticated, not both. See Troubleshooting for more details.
Claude.ai and Claude for desktop
Open Claude desktop or web app
Go to
Settings > Connectors > Add custom connector(https://claude.ai/settings/connectors)Enter the URL:
https://mcp.glassnode.comClick
AddClaude will automatically configure the connection
Connectors do not support custom headers. To use an API key, use the Claude Desktop (Manual Configuration) method instead.
Claude Code
Claude Desktop (Manual Configuration)
Add the following to your claude_desktop_config.json:
Cursor
Add to .cursor/mcp.json in your project root:
ChatGPT
Enable Developer mode in ChatGPT settings
Go to Settings > Connectors and click Create
Enter the following:
Name:
GlassnodeMCP server URL:
https://mcp.glassnode.com
Click Create
The Glassnode connector will appear in the composer's Developer mode tools.
ChatGPT connectors do not support custom headers. Use the public access version, or access the Glassnode API directly for authenticated queries.
Windsurf
Add to your mcp_config.json:
VS Code with Copilot
Open the Command Palette (
Ctrl+Shift+P/Cmd+Shift+P)Search for MCP: Add Server
Select Command (stdio)
Enter
npxas the commandEnter
mcp-remote https://mcp.glassnode.comas the argumentsName it
glassnode
Open the Command Palette (
Ctrl+Shift+P/Cmd+Shift+P)Search for MCP: Add Server
Select Command (stdio)
Enter
npxas the commandEnter
mcp-remote https://mcp.glassnode.com --header X-Api-Key:YOUR_API_KEYas the argumentsName it
glassnode
Codex CLI
Gemini CLI
Add the following to your ~/.gemini/settings.json:
Gemini Code Assist
Gemini Code Assist shares the same configuration as Gemini CLI. Add the config above to your ~/.gemini/settings.json, then restart your IDE.
Other MCP Clients
Most MCP-compatible clients support a JSON configuration file. Add the following to your client's MCP config:
Restart your client after updating the configuration.
Troubleshooting
Duplicate MCP servers
If you added both the public access and API key versions of the Glassnode MCP server, your AI client may see duplicate tools or fail to connect. Keep only one configuration at a time.
To remove the extra server:
Claude Code:
claude mcp remove glassnode, then re-add the version you want.Claude Desktop / Cursor / Windsurf: Edit your JSON config file and remove the duplicate
glassnodeentry.VS Code with Copilot: Open the Command Palette, search for MCP: List Servers, and remove the duplicate.
Connection issues
Restart your client after changing any MCP configuration.
Verify
npxis available by runningnpx --versionin your terminal. If not found, install Node.js.Firewall or proxy — ensure your network allows outbound HTTPS connections to
mcp.glassnode.com.
Example Prompts
Get an overview of the MCP tools.
Simple prompts:
More advanced:
Last updated