Glassnode (On-chain Data) MCP Server for Mastra AIGive Mastra AI instant access to 6 tools to Get Bulk Metric, Get Metric, Get Metric Details, and more
Mastra AI is a TypeScript-native agent framework built for modern web stacks. Connect Glassnode (On-chain Data) through Vinkius and Mastra agents discover all tools automatically. type-safe, streaming-ready, and deployable anywhere Node.js runs.
Ask AI about this MCP Server for Mastra AI
The Glassnode (On-chain Data) MCP Server for Mastra AI is a standout in the Data Analytics category — giving your AI agent 6 tools to work with, ready to go from day one.
Vinkius delivers Streamable HTTP and SSE to any MCP client
import { Agent } from "@mastra/core/agent";
import { createMCPClient } from "@mastra/mcp";
import { openai } from "@ai-sdk/openai";
async function main() {
// Your Vinkius token. get it at cloud.vinkius.com
const mcpClient = await createMCPClient({
servers: {
"glassnode-on-chain-data": {
url: "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp",
},
},
});
const tools = await mcpClient.getTools();
const agent = new Agent({
name: "Glassnode (On-chain Data) Agent",
instructions:
"You help users interact with Glassnode (On-chain Data) " +
"using 6 tools.",
model: openai("gpt-4o"),
tools,
});
const result = await agent.generate(
"What can I do with Glassnode (On-chain Data)?"
);
console.log(result.text);
}
main();
* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure
About Glassnode (On-chain Data) MCP Server
Connect your Glassnode account to any AI agent to analyze crypto markets with precision. Fetch real-time and historical on-chain metrics, exchange flows, and network health data through natural conversation.
Mastra's agent abstraction provides a clean separation between LLM logic and Glassnode (On-chain Data) tool infrastructure. Connect 6 tools through Vinkius and use Mastra's built-in workflow engine to chain tool calls with conditional logic, retries, and parallel execution. deployable to any Node.js host in one command.
What you can do
- Asset Discovery — List all supported assets and blockchains using
list_assetsto identify available data points. - Metric Exploration — Query thousands of metric paths with
list_metricsand get detailed documentation on parameters viaget_metric_details. - Time-Series Analysis — Retrieve historical data for active addresses, exchange balances, and price metrics using
get_metric. - Bulk Data — Fetch metrics for multiple assets simultaneously with
get_bulk_metricto compare market trends. - Point-in-Time Data — Access immutable historical snapshots via
get_pit_metricto eliminate look-ahead bias in backtesting.
The Glassnode (On-chain Data) MCP Server exposes 6 tools through the Vinkius. Connect it to Mastra AI in under two minutes — credentials fully managed, no infrastructure to provision, no vendor lock-in. Your configuration, your data, your control.
All 6 Glassnode (On-chain Data) tools available for Mastra AI
When Mastra AI connects to Glassnode (On-chain Data) through Vinkius, your AI agent gets direct access to every tool listed below — spanning on-chain-data, market-intelligence, crypto-analytics, and more. Every call runs in a secure, isolated environment with full audit visibility. Beyond a simple connection, you get real-time monitoring of agent activity, enterprise governance, and optimized token usage.
Get bulk metric on Glassnode (On-chain Data)
Use a="*" for all assets. Get bulk metric data for multiple assets
Get metric on Glassnode (On-chain Data)
Path should be the metric name like "addresses/active_count" or "market/price_usd_close". Get time-series data for a specific metric
Get metric details on Glassnode (On-chain Data)
Get details, allowed parameters, and description for a specific metric
Get pit metric on Glassnode (On-chain Data)
Get Point-in-Time (PIT) metric data
List assets on Glassnode (On-chain Data)
List all supported assets on Glassnode
List metrics on Glassnode (On-chain Data)
Can be filtered by asset, interval, etc. List all available metric paths on Glassnode
Connect Glassnode (On-chain Data) to Mastra AI via MCP
Follow these steps to wire Glassnode (On-chain Data) into Mastra AI. The entire setup takes under two minutes — your credentials stay safe behind Vinkius.
Install dependencies
npm install @mastra/core @mastra/mcp @ai-sdk/openaiReplace the token
[YOUR_TOKEN_HERE] with your Vinkius tokenRun the agent
agent.ts and run with npx tsx agent.tsExplore tools
Why Use Mastra AI with the Glassnode (On-chain Data) MCP Server
Mastra AI provides unique advantages when paired with Glassnode (On-chain Data) through the Model Context Protocol.
Mastra's agent abstraction provides a clean separation between LLM logic and tool infrastructure. add Glassnode (On-chain Data) without touching business code
Built-in workflow engine chains MCP tool calls with conditional logic, retries, and parallel execution for complex automation
TypeScript-native: full type inference for every Glassnode (On-chain Data) tool response with IDE autocomplete and compile-time checks
One-command deployment to any Node.js host. Vercel, Railway, Fly.io, or your own infrastructure
Glassnode (On-chain Data) + Mastra AI Use Cases
Practical scenarios where Mastra AI combined with the Glassnode (On-chain Data) MCP Server delivers measurable value.
Automated workflows: build multi-step agents that query Glassnode (On-chain Data), process results, and trigger downstream actions in a typed pipeline
SaaS integrations: embed Glassnode (On-chain Data) as a first-class tool in your product's AI features with Mastra's clean agent API
Background jobs: schedule Mastra agents to query Glassnode (On-chain Data) on a cron and store results in your database automatically
Multi-agent systems: create specialist agents that collaborate using Glassnode (On-chain Data) tools alongside other MCP servers
Example Prompts for Glassnode (On-chain Data) in Mastra AI
Ready-to-use prompts you can give your Mastra AI agent to start working with Glassnode (On-chain Data) immediately.
"List all supported assets on Glassnode."
"Get the 'addresses/active_count' metric for BTC from the last 7 days with a 24h interval."
"Show me the details and allowed parameters for the metric path 'market/price_usd_close'."
Troubleshooting Glassnode (On-chain Data) MCP Server with Mastra AI
Common issues when connecting Glassnode (On-chain Data) to Mastra AI through Vinkius, and how to resolve them.
createMCPClient not exported
npm install @mastra/mcpGlassnode (On-chain Data) + Mastra AI FAQ
Common questions about integrating Glassnode (On-chain Data) MCP Server with Mastra AI.
How does Mastra AI connect to MCP servers?
MCPClient with the server URL and pass it to your agent. Mastra discovers all tools and makes them available with full TypeScript types.Can Mastra agents use tools from multiple servers?
Does Mastra support workflow orchestration?
Explore More MCP Servers
View all →
Phyllo
10 toolsAutomate creator economy analysis via Phyllo — fetching live creator metrics, cross-platform audience growth, and campaign reach directly from any AI agent.

Olostep
10 toolsScrape web pages at scale with a headless browser API that renders JavaScript and returns clean structured data instantly.

NeetoInvoice
20 toolsAutomate billing and project management via NeetoInvoice — manage clients, track time, and generate invoices directly from any AI agent.

Fintoc
12 toolsAccess bank accounts, movements, and initiate transfers via AI agents with Fintoc.
