Connecting to Nansen MCP
The Nansen MCP server provides AI assistants with access to comprehensive blockchain analytics through a secure API. This guide covers how to connect to Nansen MCP.
Prerequisites
Before connecting, you'll need:
Nansen API Key: Get yours at https://app.nansen.ai/api?tab=api
npx: Required for remote connections (
npm install -g npx)
Installation Guide
1. Claude Desktop (One-Click Install; Claude Desktop Required)
The easiest way to get started with Nansen MCP. Double-click the downloaded .dxt file to configure automatically.
2. Claude Code (Terminal Integration)
Connect Nansen MCP through your terminal:
claude mcp add --transport http nansen https://mcp.nansen.ai/ra/mcp --header "NANSEN-API-KEY: YOUR_API_KEY_HERE"3. Cursor IDE
One-click install via Cursor deep link:
Copy the deep link below (right-click > copy)
Paste into any Cursor text/chat field
Ctrl+Click (or Cmd+Click on Mac) inside Cursor to install
cursor://anysphere.cursor-deeplink/mcp/install?name=nansen-mcp&config=eyJlbnYiOnsiTkFOU0VOX0FQSV9LRVkiOiJSRVBMQUNFX1RISVMifSwiY29tbWFuZCI6Im5weCIsImFyZ3MiOlsiLXkiLCJtY3AtcmVtb3RlIiwiaHR0cHM6Ly9tY3AubmFuc2VuLmFpL3JhL21jcC8iLCItLWhlYWRlciIsIk5BTlNFTi1BUEktS0VZOiR7TkFOU0VOX0FQSV9LRVl9IiwiLS1hbGxvdy1odHRwIl19Cg==4. Other MCP Clients
Integration example for various other tools supporting MCPs
Server configuration:
Server:
https://mcp.nansen.ai/ra/mcpHeader:
NANSEN-API-KEY: your_api_keyTransport:
mcp-remote --allow-http
{
"mcpServers": {
"nansen-mcp": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://mcp.nansen.ai/ra/mcp",
"--header",
"NANSEN-API-KEY: ",
"--allow-http"
]
}
}
}NPX example:
npx -y mcp-remote https://mcp.nansen.ai/ra/mcp \\
--header "NANSEN-API-KEY:YOUR_API_KEY_HERE" \\
--allow-http
Authentication
⚠️ Nansen MCP uses the same API as your regular API keys. Ensure you have sufficient credits for your usage.
Last updated
Was this helpful?