Nansen (Blockchain Analytics) MCP Server for Mastra AIGive Mastra AI instant access to 48 tools to Agent Expert, Agent Fast, Perp Leaderboard, and more
Mastra AI is a TypeScript-native agent framework built for modern web stacks. Connect Nansen (Blockchain Analytics) 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 Nansen (Blockchain Analytics) MCP Server for Mastra AI is a standout in the Data Analytics category — giving your AI agent 48 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: {
"nansen-blockchain-analytics": {
url: "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp",
},
},
});
const tools = await mcpClient.getTools();
const agent = new Agent({
name: "Nansen (Blockchain Analytics) Agent",
instructions:
"You help users interact with Nansen (Blockchain Analytics) " +
"using 48 tools.",
model: openai("gpt-4o"),
tools,
});
const result = await agent.generate(
"What can I do with Nansen (Blockchain Analytics)?"
);
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 Nansen (Blockchain Analytics) MCP Server
Connect your Nansen API to any AI agent to unlock deep on-chain insights through natural language. Nansen provides the data that helps investors and teams identify opportunities and perform due diligence on-chain.
Mastra's agent abstraction provides a clean separation between LLM logic and Nansen (Blockchain Analytics) tool infrastructure. Connect 48 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.
Key Capabilities
- Smart Money Tracking — Monitor where the most sophisticated on-chain entities are moving their capital with netflow and holdings tools.
- Wallet Profiling — Inspect any address or entity to see current balances, historical snapshots, and behavioral labels.
- PnL Analysis — Calculate aggregate profit and loss for specific wallets or deep dive into performance for individual tokens.
- DEX & Perp Activity — Track real-time trading on decentralized exchanges and perpetual platforms like Hyperliquid.
- Entity Search — Quickly find tokens, entities, or contract addresses by name or symbol.
The Nansen (Blockchain Analytics) MCP Server exposes 48 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 48 Nansen (Blockchain Analytics) tools available for Mastra AI
When Mastra AI connects to Nansen (Blockchain Analytics) through Vinkius, your AI agent gets direct access to every tool listed below — spanning smart-money, on-chain-analytics, wallet-profiling, 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.
Agent expert on Nansen (Blockchain Analytics)
Deep multi-step analysis and synthesis
Agent fast on Nansen (Blockchain Analytics)
Low-latency streamed answers for simple research questions
Perp leaderboard on Nansen (Blockchain Analytics)
Most profitable Hyperliquid traders
Points address on Nansen (Blockchain Analytics)
Tier lookup for a wallet on the Nansen points leaderboard
Points leaderboard on Nansen (Blockchain Analytics)
Paginated Nansen points leaderboard
Portfolio defi holdings on Nansen (Blockchain Analytics)
Track DeFi positions across protocols
Prediction address summary on Nansen (Blockchain Analytics)
Win rate, PnL, and wallet age in prediction markets
Prediction categories on Nansen (Blockchain Analytics)
Stats for market categories (Politics, Crypto, etc.)
Prediction event screener on Nansen (Blockchain Analytics)
Browse groups of related prediction markets
Prediction market screener on Nansen (Blockchain Analytics)
Browse and filter all prediction markets
Prediction ohlcv on Nansen (Blockchain Analytics)
1-hour price history candles for prediction markets
Prediction orderbook on Nansen (Blockchain Analytics)
Real-time bid/ask depth for prediction markets
Prediction pnl by address on Nansen (Blockchain Analytics)
Total PnL for a trader in prediction markets
Prediction pnl by market on Nansen (Blockchain Analytics)
Profitability rankings for a prediction market
Prediction position detail on Nansen (Blockchain Analytics)
Granular holder positions for prediction markets
Prediction top holders on Nansen (Blockchain Analytics)
Largest conviction holders in prediction markets
Prediction trades by address on Nansen (Blockchain Analytics)
All trades for a specific wallet in prediction markets
Prediction trades by market on Nansen (Blockchain Analytics)
Recent trades for a specific prediction market
Profiler counterparties on Nansen (Blockchain Analytics)
Top addresses/entities interacted with
Profiler current balance on Nansen (Blockchain Analytics)
Current token balances for an address or entity
Profiler historical balances on Nansen (Blockchain Analytics)
Historical holding snapshots for an address
Profiler labels on Nansen (Blockchain Analytics)
Non-premium labels (ENS, behavioral)
Profiler perp positions on Nansen (Blockchain Analytics)
Real-time Hyperliquid positions
Profiler perp trades on Nansen (Blockchain Analytics)
Hyperliquid trade history
Profiler pnl on Nansen (Blockchain Analytics)
Detailed PnL for a specific address and token
Profiler pnl summary on Nansen (Blockchain Analytics)
Aggregate PnL and top profitable tokens
Profiler premium labels on Nansen (Blockchain Analytics)
All labels including Smart Money
Profiler related wallets on Nansen (Blockchain Analytics)
Wallets related by on-chain behavior
Profiler transactions on Nansen (Blockchain Analytics)
Recent blockchain transactions for an address
Search general on Nansen (Blockchain Analytics)
Search for tokens and entities by name, symbol, or contract address
Smart money dcas on Nansen (Blockchain Analytics)
DCA strategies on Jupiter (Solana)
Smart money dex trades on Nansen (Blockchain Analytics)
Real-time DEX trading activity (last 24h)
Smart money historical holdings on Nansen (Blockchain Analytics)
Daily snapshots of smart money holdings (Beta)
Smart money holdings on Nansen (Blockchain Analytics)
Aggregated token balances held by smart money
Smart money netflow on Nansen (Blockchain Analytics)
Net capital flows (inflows vs outflows) for tokens
Smart money perp trades on Nansen (Blockchain Analytics)
Perpetual trading on Hyperliquid
Tgm dex trades on Nansen (Blockchain Analytics)
Individual DEX transactions for a token
Tgm flow intelligence on Nansen (Blockchain Analytics)
Segmented flows (Exchanges, Whales, Smart Money)
Tgm flows on Nansen (Blockchain Analytics)
Hourly snapshots of inflows/outflows by category
Tgm holders on Nansen (Blockchain Analytics)
Top holders with balance change tracking
Tgm indicators on Nansen (Blockchain Analytics)
Risk and Reward scores for a token
Tgm jup dca on Nansen (Blockchain Analytics)
Jupiter DCA orders for a token (Solana)
Tgm pnl leaderboard on Nansen (Blockchain Analytics)
Rank traders by profit for a specific token
Tgm token information on Nansen (Blockchain Analytics)
Metadata, market metrics, and spot trading stats
Tgm token ohlcv on Nansen (Blockchain Analytics)
Unified price/volume candles (1m to 1M timeframes)
Tgm transfers on Nansen (Blockchain Analytics)
Top token transfers (ERC-20)
Tgm who bought sold on Nansen (Blockchain Analytics)
Summary of net buyers/sellers
Token screener on Nansen (Blockchain Analytics)
Discover trending tokens across chains
Connect Nansen (Blockchain Analytics) to Mastra AI via MCP
Follow these steps to wire Nansen (Blockchain Analytics) 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 Nansen (Blockchain Analytics) MCP Server
Mastra AI provides unique advantages when paired with Nansen (Blockchain Analytics) through the Model Context Protocol.
Mastra's agent abstraction provides a clean separation between LLM logic and tool infrastructure. add Nansen (Blockchain Analytics) 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 Nansen (Blockchain Analytics) 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
Nansen (Blockchain Analytics) + Mastra AI Use Cases
Practical scenarios where Mastra AI combined with the Nansen (Blockchain Analytics) MCP Server delivers measurable value.
Automated workflows: build multi-step agents that query Nansen (Blockchain Analytics), process results, and trigger downstream actions in a typed pipeline
SaaS integrations: embed Nansen (Blockchain Analytics) as a first-class tool in your product's AI features with Mastra's clean agent API
Background jobs: schedule Mastra agents to query Nansen (Blockchain Analytics) on a cron and store results in your database automatically
Multi-agent systems: create specialist agents that collaborate using Nansen (Blockchain Analytics) tools alongside other MCP servers
Example Prompts for Nansen (Blockchain Analytics) in Mastra AI
Ready-to-use prompts you can give your Mastra AI agent to start working with Nansen (Blockchain Analytics) immediately.
"Search for the token 'PEPE' and show me its details."
"What are the current Smart Money holdings?"
"Show me the PnL summary for address 0x71C7656EC7ab88b098defB751B7401B5f6d8976F."
Troubleshooting Nansen (Blockchain Analytics) MCP Server with Mastra AI
Common issues when connecting Nansen (Blockchain Analytics) to Mastra AI through Vinkius, and how to resolve them.
createMCPClient not exported
npm install @mastra/mcpNansen (Blockchain Analytics) + Mastra AI FAQ
Common questions about integrating Nansen (Blockchain Analytics) 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 →
Mail-in-a-Box
9 toolsManage mail users, aliases, and system health via the Mail-in-a-Box REST API.

Trengo
12 toolsManage customer conversations across WhatsApp, email, chat, and social from one shared inbox your whole team can use.

Scopus
10 toolsAccess the world's largest abstract and citation database. Search for research papers, authors, and institutional profiles directly.

Vapi
10 toolsCommand Voice AI assistants directly from your chat. Make outbound phone calls, update personas, and retrieve full transcripts via Vapi.
