4,000+ servers built on vurb.ts
Vinkius

Nansen (Blockchain Analytics) MCP Server for Mastra AIGive Mastra AI instant access to 48 tools to Agent Expert, Agent Fast, Perp Leaderboard, and more

MCP Inspector GDPR Free for Subscribers

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.

Built for AI Agents by Vinkius

Vinkius delivers Streamable HTTP and SSE to any MCP client

ClaudeClaude
ChatGPTChatGPT
CursorCursor
GeminiGemini
WindsurfWindsurf
VS CodeVS Code
JetBrainsJetBrains
VercelVercel
+ other MCP clients
typescript
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();
Nansen (Blockchain Analytics)
Fully ManagedVinkius Servers
60%Token savings
High SecurityEnterprise-grade
IAMAccess control
EU AI ActCompliant
DLPData protection
V8 IsolateSandboxed
Ed25519Audit chain
<40msKill switch
Stream every event to Splunk, Datadog, or your own webhook in real-time

* 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

Agent expert on Nansen (Blockchain Analytics)

Deep multi-step analysis and synthesis

agent

Agent fast on Nansen (Blockchain Analytics)

Low-latency streamed answers for simple research questions

perp

Perp leaderboard on Nansen (Blockchain Analytics)

Most profitable Hyperliquid traders

points

Points address on Nansen (Blockchain Analytics)

Tier lookup for a wallet on the Nansen points leaderboard

points

Points leaderboard on Nansen (Blockchain Analytics)

Paginated Nansen points leaderboard

portfolio

Portfolio defi holdings on Nansen (Blockchain Analytics)

Track DeFi positions across protocols

prediction

Prediction address summary on Nansen (Blockchain Analytics)

Win rate, PnL, and wallet age in prediction markets

prediction

Prediction categories on Nansen (Blockchain Analytics)

Stats for market categories (Politics, Crypto, etc.)

prediction

Prediction event screener on Nansen (Blockchain Analytics)

Browse groups of related prediction markets

prediction

Prediction market screener on Nansen (Blockchain Analytics)

Browse and filter all prediction markets

prediction

Prediction ohlcv on Nansen (Blockchain Analytics)

1-hour price history candles for prediction markets

prediction

Prediction orderbook on Nansen (Blockchain Analytics)

Real-time bid/ask depth for prediction markets

prediction

Prediction pnl by address on Nansen (Blockchain Analytics)

Total PnL for a trader in prediction markets

prediction

Prediction pnl by market on Nansen (Blockchain Analytics)

Profitability rankings for a prediction market

prediction

Prediction position detail on Nansen (Blockchain Analytics)

Granular holder positions for prediction markets

prediction

Prediction top holders on Nansen (Blockchain Analytics)

Largest conviction holders in prediction markets

prediction

Prediction trades by address on Nansen (Blockchain Analytics)

All trades for a specific wallet in prediction markets

prediction

Prediction trades by market on Nansen (Blockchain Analytics)

Recent trades for a specific prediction market

profiler

Profiler counterparties on Nansen (Blockchain Analytics)

Top addresses/entities interacted with

profiler

Profiler current balance on Nansen (Blockchain Analytics)

Current token balances for an address or entity

profiler

Profiler historical balances on Nansen (Blockchain Analytics)

Historical holding snapshots for an address

profiler

Profiler labels on Nansen (Blockchain Analytics)

Non-premium labels (ENS, behavioral)

profiler

Profiler perp positions on Nansen (Blockchain Analytics)

Real-time Hyperliquid positions

profiler

Profiler perp trades on Nansen (Blockchain Analytics)

Hyperliquid trade history

profiler

Profiler pnl on Nansen (Blockchain Analytics)

Detailed PnL for a specific address and token

profiler

Profiler pnl summary on Nansen (Blockchain Analytics)

Aggregate PnL and top profitable tokens

profiler

Profiler premium labels on Nansen (Blockchain Analytics)

All labels including Smart Money

profiler

Profiler related wallets on Nansen (Blockchain Analytics)

Wallets related by on-chain behavior

profiler

Profiler transactions on Nansen (Blockchain Analytics)

Recent blockchain transactions for an address

search

Search general on Nansen (Blockchain Analytics)

Search for tokens and entities by name, symbol, or contract address

smart

Smart money dcas on Nansen (Blockchain Analytics)

DCA strategies on Jupiter (Solana)

smart

Smart money dex trades on Nansen (Blockchain Analytics)

Real-time DEX trading activity (last 24h)

smart

Smart money historical holdings on Nansen (Blockchain Analytics)

Daily snapshots of smart money holdings (Beta)

smart

Smart money holdings on Nansen (Blockchain Analytics)

Aggregated token balances held by smart money

smart

Smart money netflow on Nansen (Blockchain Analytics)

Net capital flows (inflows vs outflows) for tokens

smart

Smart money perp trades on Nansen (Blockchain Analytics)

Perpetual trading on Hyperliquid

tgm

Tgm dex trades on Nansen (Blockchain Analytics)

Individual DEX transactions for a token

tgm

Tgm flow intelligence on Nansen (Blockchain Analytics)

Segmented flows (Exchanges, Whales, Smart Money)

tgm

Tgm flows on Nansen (Blockchain Analytics)

Hourly snapshots of inflows/outflows by category

tgm

Tgm holders on Nansen (Blockchain Analytics)

Top holders with balance change tracking

tgm

Tgm indicators on Nansen (Blockchain Analytics)

Risk and Reward scores for a token

tgm

Tgm jup dca on Nansen (Blockchain Analytics)

Jupiter DCA orders for a token (Solana)

tgm

Tgm pnl leaderboard on Nansen (Blockchain Analytics)

Rank traders by profit for a specific token

tgm

Tgm token information on Nansen (Blockchain Analytics)

Metadata, market metrics, and spot trading stats

tgm

Tgm token ohlcv on Nansen (Blockchain Analytics)

Unified price/volume candles (1m to 1M timeframes)

tgm

Tgm transfers on Nansen (Blockchain Analytics)

Top token transfers (ERC-20)

tgm

Tgm who bought sold on Nansen (Blockchain Analytics)

Summary of net buyers/sellers

token

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.

01

Install dependencies

Run npm install @mastra/core @mastra/mcp @ai-sdk/openai
02

Replace the token

Replace [YOUR_TOKEN_HERE] with your Vinkius token
03

Run the agent

Save to agent.ts and run with npx tsx agent.ts
04

Explore tools

Mastra discovers 48 tools from Nansen (Blockchain Analytics) via MCP

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.

01

Mastra's agent abstraction provides a clean separation between LLM logic and tool infrastructure. add Nansen (Blockchain Analytics) without touching business code

02

Built-in workflow engine chains MCP tool calls with conditional logic, retries, and parallel execution for complex automation

03

TypeScript-native: full type inference for every Nansen (Blockchain Analytics) tool response with IDE autocomplete and compile-time checks

04

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.

01

Automated workflows: build multi-step agents that query Nansen (Blockchain Analytics), process results, and trigger downstream actions in a typed pipeline

02

SaaS integrations: embed Nansen (Blockchain Analytics) as a first-class tool in your product's AI features with Mastra's clean agent API

03

Background jobs: schedule Mastra agents to query Nansen (Blockchain Analytics) on a cron and store results in your database automatically

04

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.

01

"Search for the token 'PEPE' and show me its details."

02

"What are the current Smart Money holdings?"

03

"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.

01

createMCPClient not exported

Install: npm install @mastra/mcp

Nansen (Blockchain Analytics) + Mastra AI FAQ

Common questions about integrating Nansen (Blockchain Analytics) MCP Server with Mastra AI.

01

How does Mastra AI connect to MCP servers?

Create an MCPClient with the server URL and pass it to your agent. Mastra discovers all tools and makes them available with full TypeScript types.
02

Can Mastra agents use tools from multiple servers?

Yes. Pass multiple MCP clients to the agent constructor. Mastra merges all tool schemas and the agent can call any tool from any server.
03

Does Mastra support workflow orchestration?

Yes. Mastra has a built-in workflow engine that lets you chain MCP tool calls with branching logic, error handling, and parallel execution.

Explore More MCP Servers

View all →