How to Use the Nansen (Blockchain Analytics) MCP in Claude Code
Pipe Nansen's institutional-grade blockchain data directly into your shell scripts and CI/CD pipelines using Claude Code.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Nansen (Blockchain Analytics) MCP to Claude Code
Create your Vinkius account to connect Nansen (Blockchain Analytics) to Claude Code and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
On-Chain Data for Your Terminal
This isn't for dashboards; it's for automation. Use Claude Code to query any of the 48 Nansen tools and pipe the raw JSON output to `jq`, `awk`, or another script. It's designed for headless execution in your CI/CD pipelines or cron jobs. For example, set up a cron job to check `smart_money_netflow` for a token every five minutes. If inflows exceed a threshold, pipe the alert to a shell script that sends a notification. It's as simple as `claude mcp call nansen-blockchain-analytics-mcp smart_money_netflow ... | jq`.
Headless Wallet Intelligence
Run deep wallet investigations without ever leaving your terminal. Chain commands together in a shell script to build a complete picture. Start by getting an address's top counterparties with `profiler_counterparties`, then check their PnL with `profiler_pnl_summary`. This MCP Server lets you build powerful, repeatable workflows. Create a script that takes a wallet address as an argument, then calls `profiler_labels`, `profiler_related_wallets`, and `portfolio_defi_holdings` to generate a full text-based report. It's analysis as code.
Your MCP Server for Data Pipelines
Use Claude Code as a bridge between Nansen's API and your own backend services. Fetch real-time DEX trades with `tgm_dex_trades` and ingest them into a time-series database. The output is clean JSON, ready for processing. You can build sophisticated data pipelines this way. Set up a job in a Docker container that uses `tgm_who_bought_sold` to track buy/sell pressure, then writes the aggregated data to a message queue for other services to consume. Claude Code is the glue.
Set up Nansen (Blockchain Analytics) MCP in Claude Code
Prerequisites
- Claude Code CLI installed (
npm install -g @anthropic-ai/claude-code) - Active Vinkius subscription with a valid endpoint token
- 1
Run the add command
Open your terminal and run the command shown on the right. Replace
[YOUR_TOKEN_HERE]with your endpoint token from cloud.vinkius.com. Use--scope userto make it available across all projects. - 2
Verify the connection
Start a Claude Code session and type
/mcpto list connected servers. You should seenansen-blockchain-analytics-mcpwith a green status indicator. - 3
Start using tools
Ask Claude Code something like "Check my latest Nansen (Blockchain Analytics) transactions." It will automatically discover and invoke the available Nansen (Blockchain Analytics) tools.
claude mcp add --transport http nansen-blockchain-analytics-mcp https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp Why Choose Vinkius
Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.
Real-time monitoring
Live
visibility into every interaction
Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.
Built-in savings
60%
lower AI costs
Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.
Single dashboard
One
place for every integration
Every tool your AI connects to, managed from a single screen. One account, complete control.
Common questions about Nansen (Blockchain Analytics) MCP in Claude Code
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the Nansen (Blockchain Analytics) MCP today
We host it, we monitor it, we maintain it. You just paste one token.