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:

  1. Nansen API Key: Get yours at https://app.nansen.ai/api?tab=api

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

Quick Install Link

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:

  1. Copy the deep link below (right-click > copy)

  2. Paste into any Cursor text/chat field

  3. Ctrl+Click (or Cmd+Click on Mac) inside Cursor to install

4. Other MCP Clients

Integration example for various other tools supporting MCPs

Server configuration:

  • Server: https://mcp.nansen.ai/ra/mcp

  • Header: NANSEN-API-KEY: your_api_key

  • Transport: mcp-remote --allow-http

NPX example:

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?