Get blockchain insights from chat using GPT-4 and Nansen MCP
This workflow contains community nodes that are only compatible with the self-hosted version of n8n. How it works This workflow listens for an incoming chat message and routes it to an AI Agent. The agent is powered b...
Template notes
This workflow contains community nodes that are only compatible with the self-hosted version of n8n.
How it works
This workflow listens for an incoming chat message and routes it to an AI Agent. The agent is powered by your preferred Chat Model (such as OpenAI or Anthropic) and extended with the Nansen MCP tool, which enables it to retrieve onchain wallet data, token movements, and address-level insights in real time.
The Nansen MCP tool uses HTTP Streamable transport and requires API Key authentication via Header Auth.
Read the Documentation: [https://docs.nansen.ai/nansen-mcp/overview](https://docs.nansen.ai/nansen-mcp/overview)
Set up steps
1. Get your Nansen MCP API key - Visit: [https://app.nansen.ai/account?tab=api](https://app.nansen.ai/account?tab=api) - Generate and copy your personal API key.
2. Create a credential for authentication - From the homepage, click the dropdown next to "Create Workflow" → "Create Credential". - Select Header Auth as the method. - Set the Header Name to: NANSEN-API-KEY - Paste your API key into the Value field. - Save the credential (e.g., Nansen MCP Credentials).