Nodit Blockchain Context 标志

Nodit Blockchain Context

组织
noditlabs

A Model Context Protocol (MCP) server for AI agents to interact with blockchain data via Nodit’s Web3 Data and Node APIs. Enables LLMs to access structured, multi-chain blockchain context with zero blockchain-specific logic.

发布者noditlabs
代码仓库nodit-mcp-server
语言TypeScript
复刻数
7
星标数
23
可用工具
9
传输类型stdio
分类
许可协议Apache-2.0
链接
  • 将工具接入 AI 工作流

    Nodit Blockchain Context 提供 MCP 功能,可供兼容的 AI 客户端和智能体使用。

  • 9 个可用工具

    浏览下方可调用的操作;如果服务器提供了名称和描述,也会一并显示。

  • 可直接复制的配置

    使用安装配置片段,在您首选的 MCP 客户端中配置此服务器。

  • 开源社区热度

    关联的代码仓库有 23 个星标和 7 个复刻。

Nodit MCP Server

A Model Context Protocol (MCP) server that connects AI agents and developers to structured, context-ready blockchain data across multiple networks through Nodit's Web3 infrastructure.

License Node.js TypeScript smithery badge

Overview

Nodit MCP Server simplifies how AI models and applications interact with blockchain ecosystems.
Instead of handling complex node RPCs, raw event logs, or chain-specific data structures, developers can access normalized, multi-chain blockchain data in a format optimized for AI reasoning and decision-making.

With Nodit's MCP, you can:

  • Build AI agents that query, analyze, and act on real-time blockchain data across EVM-compatible and non-EVM networks.
  • Develope Web3-integrated applications without requiring specialized blockchain development expertise.
  • Leverage Nodit's reliable node infrastructure, Web3 Data APIs, and GraphQL indexing services through a unified access layer.
  • Easily develop with blockchain MCP in both local and remote integration, depending on your workflow needs.

Supported networks include Ethereum, Base, Optimism, Arbitrum, Polygon, Aptos, Bitcoin, Dogecoin, TRON, XRPL, GIWA(Sepolia) and more.

Table of Contents

List of Tools

Nodit MCP Server provides tools enabling AI agents to dynamically discover, understand, and interact with Nodit's Web3 APIs and data infrastructure. The tools minimize token consumption and maintain a lightweight context by modularizing API interactions into distinct steps:

  • Tools for Listing API Categories Retrieve a list of high-level API categories available.

    • list_nodit_api_categories
  • Tools for Listing API Operations
    Fetch available operations within a selected category (Node APIs, Data APIs, Aptos Indexer APIs, Webhook APIs).

    • list_nodit_node_apis
    • list_nodit_data_apis
    • list_nodit_aptos_indexer_api_query_root
    • list_nodit_webhook_apis
  • Tools for Getting API Specification
    Obtain detailed information for a specific API operation (parameters, request/response schema).

    • get_nodit_api_spec
    • get_nodit_aptos_indexer_api_spec
  • Tools for Calling API
    Execute an API call using the operationId and validated parameters.

    • call_nodit_api
    • call_nodit_aptos_indexer_api

Nodit MCP Server communicates using the standard JSON-RPC over stdio protocol, following the Model Context Protocol (MCP) conventions. Currently, only stdio-based communication is supported for server-client interactions.

Features

The following are the key features and supported blockchain networks provided through Nodit MCP Server for AI agents and LLMs.
For detailed API specifications and usage guidelines, please refer to the Nodit Developer Documentation.

  • RPC Node & Node APIs
    Access blockchain node endpoints through Nodit's professionally operated infrastructure.
    Supports real-time network queries, transaction submissions, smart contract interactions, and more.

  • Web3 Data APIs
    High-level APIs for accessing meticulously indexed blockchain data.
    Includes processed datasets such as block and transaction details, token transfer histories, account-level transaction summaries, and asset movement details — information that would be difficult to assemble directly through raw RPC calls.

  • GraphQL Indexer APIs (Aptos only)
    Query detailed Aptos blockchain activities through GraphQL endpoints.

  • Supported Networks

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

Prerequisites

  • Node.js 18+
  • Nodit API Key (Sign up and get an API key at Nodit Console)

Running Local Nodit MCP Server

Using npx (Recommended)

bash
npx @noditlabs/nodit-mcp-server@latest

Using local build

bash
# 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:

bash
export NODIT_API_KEY=your-api-key

Then start the server:

bash
node build/index.js

Communicating with the Local Server

Once the Nodit MCP Server is running locally, you can communicate with it using JSON-RPC over stdio.
Here’s how you can send a basic request to the server:

Example: List available tools

You can directly input the JSON-RPC payload:

bash
{"method":"tools/list","params":{},"jsonrpc":"2.0","id":1}

Or, you can pipe the request using the echo command:

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

Example: Call a specific tool (list_nodit_api_categories)

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

Connecting to Cursor IDE or Claude Desktop

Add the following configuration to your .cursor/mcp.json or claude_desktop_config.json:

  • Cursor

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

    • MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: C:\Users\<Username>\AppData\Roaming\Claude\claude_desktop_config.json
json
{
  "mcpServers": {
    "nodit": {
      "command": "npx",
      "args": ["@noditlabs/nodit-mcp-server@latest"],
      "env": {
        "NODIT_API_KEY": "****"
      }
    }
  }
}

🔔 Important
Replace **** with your actual Nodit API key.
If the API key is not configured properly, API requests will fail due to authentication errors.

Connecting to Claude CLI

You can also use Nodit MCP Server directly with Claude CLI for a quick setup.

Add Nodit MCP Server with the following commands:

bash
# 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

Integrating Nodit Remote MCP Server

If you’re using an AI tool that supports Remote MCP integration, you can connect to Nodit’s Remote MCP Server without running a local MCP server. This allows you to use Nodit MCP features directly within your AI environment.

Endpoint

Use the following endpoint to connect to the Nodit Remote MCP Server. Make sure to replace INSERT_YOUR_API_KEY with your actual Nodit API Key.

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

Connecting to Claude (Web)

If you’re on the Claude Enterprise, Pro, or Max plan, you can integrate the Remote MCP Server.

  1. Go to Settings > Integrations, click the [Add custom integration] button.
  2. Click the [Add more] button to integrate the new Remote MCP.
  3. Insert the endpoint provided above to complete the setup.

Once the integration is complete, you’ll see that Nodit MCP has been added under the Search and Tools section on the Claude main screen.

Connecting to Cursor IDE

To connect Nodit MCP to Cursor IDE: 1. Open Preferences > Cursor Settings > MCP Tools. 2. Click [+ New MCP Server] to open the mcp.json configuration file.

You can also open and edit the mcp.json file directly at the following path:

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

Add the following configuration to the mcpServers object. If you already have other MCP servers configured, separate each entry with a comma.

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

Once added, go back to MCP Tools in the Cursor interface and enable the nodit MCP by toggling it on. When the status shows “9 tools enabled” in green, the connection is complete.

Troubleshooting

Trouble running MCP via npx on Claude Desktop

If you are running the MCP server in combination with Claude Desktop or other tools that rely on a local Node.js installation, you may encounter issues due to:

  • Multiple versions of Node.js installed (e.g., via Homebrew and package installer)
  • Conflicting PATH environments
  • Claude Desktop not recognizing the correct Node.js runtime

Follow the steps below to verify that Node.js 18+ is properly installed and recognized on your system.

1. Check your currently active Node.js version

Run the following command in your terminal to check the version:

node --version

You should see a version number starting with v18 or higher (e.g., v18.19.0).

If not, you may need to install a compatible version or switch to it.

[!TIP] Claude Desktop may not use the same Node.js version as your terminal. If you have multiple installations (e.g., via Homebrew, nvm, or direct installer), it may default to an unexpected version. To list all common installation paths:

# Homebrew installation
ls /usr/local/bin/node
ls /opt/homebrew/bin/node

# nvm installations
ls ~/.nvm/versions/node/

# System installation
ls /usr/bin/node

2. Install or switch to Node.js 18+ if needed

If you don’t have a compatible version, install Node.js using one of the following methods:

  • Using Node.js official installer: Download from nodejs.org
  • Using Homebrew (macOS):
bashbrew install node@20
  • Using nvm (recommended for version management):
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. Check which Node.js version Claude Desktop uses

Claude Desktop inherits the PATH from your system environment. In your terminal, run:

which node

This displays the path of the Node.js binary currently active in your terminal. This is the path that Claude is likely to use when launched from that terminal.

4. Force Claude Desktop to use the correct Node.js version

  • If you’re using nvm:
nvm use 18  # Set proper version 
nvm alias default 18
  • If you’re using Homebrew, ensure it’s prioritized in your PATH:
export PATH="/opt/homebrew/bin:$PATH"  # for Apple Silicon
# or
export PATH="/usr/local/bin:$PATH"     # for Intel Macs

We recommend sticking to a single installation method (e.g., either nvm or Homebrew) to avoid version conflicts.

5. Restart Claude Desktop

After making changes, restart Claude Desktop to ensure it picks up the correct environment variables and Node.js version.

Example Prompts with Nodit MCP

Once Nodit MCP is connected, you can use natural language to directly query blockchain data from multiple networks. The examples below illustrate just a few of the many possibilities — feel free to go beyond them and explore your own use cases.

📊 On-chain Activity Monitoring

Summarize the recent activity of 0xabc…def across Ethereum and Arbitrum. Include major transactions, token transfers, and NFT interactions over the past 7 days.
What fungible and non-fungible tokens does this wallet hold across Ethereum and Polygon? Include balances and token names.
Analyze the risk profile of wallet 0xabc… based on its recent on-chain behavior.

🧾 Smart Contract & Transaction Analysis

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

🧠 AI Agent Use Cases

Based on wallet 0xabc…’s holdings, recommend optimal DeFi strategies across Ethereum and Arbitrum.
Create a daily summary report for 0xdao… including token balances, inflow/outflow, and governance activity.

⚙️ Web3 DApp Development

Write TypeScript code using fetch to retrieve all ERC-20 transfers for 0xabc… from Ethereum using Nodit’s Node API.
Build a simple dashboard to visualize how assets have moved in recent XRPL transactions.
Build a dashboard that aggregates blockchain data across multiple chains using Nodit.

Scope & Limitations

Nodit MCP Server provides structured context to help LLM-based agents utilize Nodit's APIs effectively.
Its responsibilities include:

  • Structuring Nodit APIs (Node APIs, Web3 Data APIs) in an LLM-consumable format.
  • Exposing endpoint details, input/output schemas, sample responses, and error handling guidelines.

However, the following are outside the MCP's control:

  • API selection may vary depending on the LLM version (e.g., GPT-4, Claude 3), prompt engineering, or agent design.
  • Interpretation of API responses or errors depends on the consuming LLM's reasoning capabilities.

Nodit MCP Server focuses on delivering accurate and structured API context,
but does not guarantee the final reasoning outcomes or behavior of external LLMs.

License

This project is licensed under the Apache License 2.0.
Refer to the LICENSE file for full license terms.
Relevant legal notices are provided in the NOTICE file.

"Nodit" and the Nodit logo are trademarks of Lambda256.
Use of the name or logo without prior written permission is prohibited.


© Lambda256. All rights reserved.

安装

TypingMind
前提条件:

Node.js 18+

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

可用工具

  • list_nodit_api_categories

    Lists available Nodit API categories from Nodit Blockchain Context. To use the Nodit API tool, you must first call this tool.

  • list_nodit_node_apis

    Lists available Nodit API operations.

  • list_nodit_data_apis

    Lists available Nodit Data API operations.

  • list_nodit_webhook_apis

    Lists available Nodit Webhook API operations.

  • list_nodit_aptos_indexer_api_query_root

    Lists all query roots available in the Nodit Aptos Indexer GraphQL API.

  • get_nodit_aptos_indexer_api_spec

    Returns the GraphQL specification for a specific query root in the Nodit Aptos Indexer API.

  • call_nodit_aptos_indexer_api

    Calls a Nodit Aptos Indexer API. Returns the API response. Before making the call, it's recommended to verify the detailed API specifications using the 'get_nodit_aptos_indexer_api_spec' tool. Please note that using this tool will consume your API quota.

  • get_nodit_api_spec

    Gets the fully resolved spec details for a Nodit Blockchain Context API operationId. Returns details as a JSON string.

  • call_nodit_api

    This function calls a specific Nodit Blockchain Context API using its operationId. Before making the call, it's recommended to verify the detailed API specifications using the 'get_nodit_api_spec' tool. Please note that using this tool will consume your API quota.

将 Nodit Blockchain Context MCP 与多个 AI 模型配合使用

TypingMind 在工作区级别连接 MCP 工具,因此连接 Nodit Blockchain Context 后,您就可以在 TypingMind 中搭配不同的 AI 模型使用,无需为每个模型单独设置。 此 MCP 通过您设备上的 TypingMind MCP 连接器在本地运行。

本地连接器设置指南

如果 MCP 服务器需要访问您电脑上的本地文件、应用或私有资源,请选择此方式。

1

打开 MCP 设置

在 TypingMind 中,依次前往“设置”、“高级设置”和“模型上下文协议”,然后选择“设置连接器”。

  1. 在您的浏览器中打开 TypingMind。
  2. 点击“设置”图标。
  3. 进入“高级设置”。
  4. 打开“模型上下文协议”部分。
  5. 点击“设置连接器”,然后选择“此设备”。
TypingMind MCP 连接器设置界面,已选择“此设备”
2

运行连接器命令

选择“此设备”,从 TypingMind 复制命令并在终端中运行。使用 MCP 时,请保持该进程运行。

  1. 复制 TypingMind 显示的设置命令。
  2. 在 macOS 上打开“终端”,或在 Windows 上打开 Windows Terminal。
  3. 粘贴并运行命令。
  4. 如果终端询问您是否继续,请确认安装软件包。
  5. 使用 MCP 工具时,请勿关闭终端窗口或停止其中的连接器进程。
3

将 Nodit Blockchain Context 添加为服务器

当连接器状态为“就绪”时,点击“编辑服务器”,然后粘贴 MCP 服务器配置。

  1. 等待连接器状态显示为“就绪”。
  2. 点击“编辑服务器”。
  3. 粘贴 Nodit Blockchain Context MCP 服务器配置。
  4. 保存服务器列表。
  5. 如需确认连接器是否仍处于就绪状态,请刷新。
TypingMind MCP 设置界面,显示正在运行的服务器和“编辑服务器”按钮
{
  "mcpServers": {
    "nodit-blockchain-context": {
      "command": "npx",
      "args": [
        "-y",
        "@noditlabs/nodit-mcp-server"
      ]
    }
  }
}
4

在不同模型中使用同一连接

保存服务器列表,打开“插件”,启用 Nodit Blockchain Context MCP 工具,然后在 TypingMind 中选择任意受支持的 AI 模型,即可在聊天中使用这些工具,或将其分配给智能体。

  1. 在 TypingMind 中打开“插件”页面。
  2. 启用 Nodit Blockchain Context MCP 工具。
  3. 开始聊天并选择您想使用的 AI 模型。
  4. 在聊天中使用 MCP 工具,或将其分配给 AI 智能体。
  5. 根据需要随时切换到其他 AI 模型,无需重新连接 MCP。
在 TypingMind 聊天中使用已启用的 MCP 工具和选定的 AI 模型
您能使用 Nodit Blockchain Context 帮我完成这项任务吗?
Nodit Blockchain Context
当然,我看过了。
以下是我使用 Nodit Blockchain Context 得到的结果。

常见问题

Nodit Blockchain Context MCP 服务器有什么用途?

Nodit Blockchain Context 是一个 MCP 服务器,可让兼容的 AI 客户端连接外部工具并获取上下文。在 TypingMind 中,只需添加一次此 MCP 服务器,即可在您的 AI 工作区中使用其工具。

可以在 TypingMind 中让多个 AI 模型使用 Nodit Blockchain Context MCP 吗?

可以。TypingMind 在工作区层面连接 MCP 工具,因此您无需为每个模型单独配置 MCP 服务器,就能在 Claude、ChatGPT、Gemini 或您在 TypingMind 中配置的其他 AI 模型中使用 Nodit Blockchain Context。

为什么在 TypingMind 中使用 Nodit Blockchain Context MCP?

TypingMind 将多个 AI 模型、提示词、插件、AI 智能体、API 密钥和 MCP 工具整合到同一个工作区中,是最出色的大语言模型聊天前端之一。连接 Nodit Blockchain Context 后,您可以在偏好的不同模型中使用其 MCP 工具,同时在 TypingMind 中井然有序地管理聊天工作流程。

如何将 Nodit Blockchain Context MCP 连接到 TypingMind?

Nodit Blockchain Context 通过 TypingMind 本地 MCP 连接器运行。当 MCP 服务器需要访问您计算机上的本地文件、桌面应用、命令行工具或私有资源时,这种方式最合适。

Nodit Blockchain Context MCP 在 TypingMind 中提供哪些工具?

Nodit Blockchain Context 提供 9 个 MCP 工具,您可以在 TypingMind 的插件页面启用这些工具,然后在聊天中使用,或将其分配给 AI 智能体。

使用 Nodit Blockchain Context MCP 需要向 TypingMind 提供我的 API 密钥吗?

不需要。TypingMind 采用本地优先的设计,让您自行选择模型提供商,并自行管理 API 密钥、提示词和 MCP 配置。如果 Nodit Blockchain Context 需要身份验证,请在创建连接时,为该 MCP 服务器添加所需的请求头、OAuth 设置或本地配置。

相关 MCP 服务器

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇