Nodit Blockchain Context MCP server

Provides blockchain context through Nodit's APIs, enabling real-time interaction with multiple protocols including Ethereum, Polygon, and Aptos for token information and on-chain activity analysis.
Back to servers
Setup instructions
Provider
Nodit Labs
Release date
Apr 29, 2025
Language
TypeScript
Package
Stats
4.9K downloads
14 stars

Nodit MCP Server connects AI agents and developers to structured blockchain data across multiple networks through Nodit's Web3 infrastructure. Instead of dealing with complex node RPCs or chain-specific data structures, you can access normalized multi-chain blockchain data optimized for AI reasoning and decision-making.

Prerequisites

Installation and Setup

Using npx (Recommended)

The easiest way to run the Nodit MCP Server is with npx:

npx @noditlabs/nodit-mcp-server@latest

Using local build

If you prefer to build from source:

# Clone the repository
git clone --recurse-submodules https://github.com/noditlabs/nodit-mcp-server.git

# Move into the project directory
cd nodit-mcp-server

# Install dependencies
npm install

# Build the project
npm run build

Before starting, set your Nodit API key:

export NODIT_API_KEY=your-api-key

Then start the server:

node build/index.js

Communicating with the Local Server

Once running, you can communicate with the server using JSON-RPC over stdio:

List available tools

echo '{"method":"tools/list","params":{},"jsonrpc":"2.0","id":1}' | node build/index.js

Call a specific tool

echo '{"method":"tools/call","params":{"name":"list_nodit_api_categories","arguments":{}},"jsonrpc":"2.0","id":1}' | node build/index.js

Integration with AI Tools

Cursor IDE

Add this to your .cursor/mcp.json:

{
  "mcpServers": {
    "nodit": {
      "command": "npx",
      "args": ["@noditlabs/nodit-mcp-server@latest"],
      "env": {
        "NODIT_API_KEY": "****"
      }
    }
  }
}

File locations:

  • MacOS: ~/.cursor/mcp.json
  • Windows: C:\Users\<Username>\.cursor\mcp.json

Claude Desktop

Add the same configuration to your Claude Desktop config:

  • MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: C:\Users\<Username>\AppData\Roaming\Claude\claude_desktop_config.json

Claude CLI

# Add the Nodit MCP server
claude mcp add nodit-mcp-server npx @noditlabs/nodit-mcp-server

# Set API Key
export NODIT_API_KEY=your-api-key

# Start Claude with the Nodit MCP server enabled
claude

Using Remote MCP Server

If your AI tool supports Remote MCP integration, you can connect directly to Nodit's Remote MCP Server:

https://mcp.nodit.io/sse?apiKey=INSERT_YOUR_API_KEY

For Claude Web (Enterprise, Pro, or Max plans)

  1. Go to Settings > Integrations, click [Add custom integration]
  2. Click [Add more] to integrate the new Remote MCP
  3. Insert the endpoint URL with your API key

For Cursor IDE (Remote Configuration)

Add this to your mcp.json file:

{
  "mcpServers": {
    "nodit": {
      "url": "https://mcp.nodit.io/sse?apiKey=INSERT_YOUR_API_KEY"
    }
  }
}

Troubleshooting

Node.js Version Issues

If you encounter problems with Claude Desktop:

  1. Check your Node.js version:

    node --version
    

    You need v18 or higher.

  2. If needed, install or switch to Node.js 18+:

    # Using nvm (recommended)
    curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash
    nvm install 20
    nvm use 20
    nvm alias default 20
    
  3. Verify which Node.js version is being used:

    which node
    
  4. Restart Claude Desktop after making changes

Example Usage Prompts

Once connected, you can query blockchain data using natural language:

On-chain Activity Monitoring

  • "Summarize the recent activity of 0xabc…def across Ethereum and Arbitrum."
  • "What tokens does this wallet hold across Ethereum and Polygon?"

Smart Contract Analysis

  • "Analyze how users interacted with the contract at 0xcontract… on Ethereum."
  • "Analyze the last 10 blocks on Arbitrum."

Web3 Development

  • "Write TypeScript code to retrieve all ERC-20 transfers for 0xabc…"
  • "Build a simple dashboard to visualize XRPL transactions."

Features and Supported Networks

The Nodit MCP Server provides access to:

  • RPC Node & Node APIs: Access blockchain node endpoints for queries, transactions, and smart contract interactions
  • Web3 Data APIs: High-level APIs for indexed blockchain data
  • GraphQL Indexer APIs: Query detailed Aptos blockchain activities

Supported Networks

  • EVM-Compatible: Ethereum, Arbitrum, Avalanche, Base, Chiliz, Kaia, Optimism, Polygon, BNB Chain
  • Non-EVM: Aptos, Bitcoin, Dogecoin, TRON, XRPL, Sui

How to install this MCP server

For Claude Code

To add this MCP server to Claude Code, run this command in your terminal:

claude mcp add-json "nodit" '{"command":"npx","args":["@noditlabs/nodit-mcp-server@latest"],"env":{"NODIT_API_KEY":"****"}}'

See the official Claude Code MCP documentation for more details.

For Cursor

There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json file so that it is available in all of your projects.

If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json file.

Adding an MCP server to Cursor globally

To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".

When you click that button the ~/.cursor/mcp.json file will be opened and you can add your server like this:

{
    "mcpServers": {
        "nodit": {
            "command": "npx",
            "args": [
                "@noditlabs/nodit-mcp-server@latest"
            ],
            "env": {
                "NODIT_API_KEY": "****"
            }
        }
    }
}

Adding an MCP server to a project

To add an MCP server to a project you can create a new .cursor/mcp.json file or add it to the existing one. This will look exactly the same as the global MCP server example above.

How to use the MCP server

Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.

The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.

You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.

For Claude Desktop

To add this MCP server to Claude Desktop:

1. Find your configuration file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json

2. Add this to your configuration file:

{
    "mcpServers": {
        "nodit": {
            "command": "npx",
            "args": [
                "@noditlabs/nodit-mcp-server@latest"
            ],
            "env": {
                "NODIT_API_KEY": "****"
            }
        }
    }
}

3. Restart Claude Desktop for the changes to take effect

Want to 10x your AI skills?

Get a free account and learn to code + market your apps using AI (with or without vibes!).

Nah, maybe later