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
1.4K downloads
11 stars

Nodit MCP Server is a powerful tool that connects AI agents and developers to structured blockchain data across multiple networks through Nodit's Web3 infrastructure. It eliminates the need to handle complex node RPCs or chain-specific data structures by providing normalized multi-chain blockchain data in a format optimized for AI reasoning.

Installation

Prerequisites

Quick Installation with npx

The simplest way to get started is using npx:

npx @noditlabs/nodit-mcp-server@latest

Manual Installation

If you prefer a local build:

# 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 the server, set your Nodit API key:

export NODIT_API_KEY=your-api-key

Then start the server:

node build/index.js

Usage

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

Connecting to IDE Environments

Cursor IDE

Add this configuration to your .cursor/mcp.json:

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

Claude Desktop

Add the same configuration to your claude_desktop_config.json.

Using with 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 the Remote MCP Server

For a simpler setup, you can use Nodit's Remote MCP Server:

Endpoint

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

Connecting to Claude Web

  1. Go to Settings > Integrations
  2. Click [Add custom integration]
  3. Click [Add more]
  4. Insert the endpoint URL with your API key

Connecting to Cursor IDE

Add this to your mcp.json:

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

Troubleshooting

Node.js Version Issues

If you encounter problems running the MCP server with Claude Desktop:

  1. Check your Node.js version:

    node --version
    
  2. Install or switch to Node.js 18+ if needed:

    # Using nvm (recommended)
    nvm install 20
    nvm use 20
    nvm alias default 20
    
  3. Restart Claude Desktop after making changes

Example Use Cases

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

On-chain Activity Monitoring

  • Summarize recent wallet activity across multiple networks
  • Check token holdings across different blockchains
  • Analyze wallet risk profiles based on on-chain behavior

Smart Contract Analysis

  • Analyze contract interactions
  • Examine recent blocks on specific networks

AI Agent Use Cases

  • Get DeFi strategy recommendations based on wallet holdings
  • Create custom summary reports for wallet activity

Web3 Development

  • Generate code to interact with blockchain APIs
  • Build dashboards for visualizing cross-chain data

Supported Features

  • RPC Node & Node APIs: Access blockchain node endpoints through Nodit's infrastructure
  • Web3 Data APIs: High-level APIs for accessing indexed blockchain data
  • GraphQL Indexer APIs: Query detailed Aptos blockchain activities
  • Supported Networks:
    • EVM-Compatible: Ethereum, Arbitrum, Avalanche, Base, Chiliz, Kaia, Optimism, Polygon
    • Non-EVM: Aptos, Bitcoin, Dogecoin, TRON, XRPL

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