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.
The easiest way to run the Nodit MCP Server is with npx:
npx @noditlabs/nodit-mcp-server@latest
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
Once running, you can communicate with the server using JSON-RPC over stdio:
echo '{"method":"tools/list","params":{},"jsonrpc":"2.0","id":1}' | node build/index.js
echo '{"method":"tools/call","params":{"name":"list_nodit_api_categories","arguments":{}},"jsonrpc":"2.0","id":1}' | node build/index.js
Add this to your .cursor/mcp.json
:
{
"mcpServers": {
"nodit": {
"command": "npx",
"args": ["@noditlabs/nodit-mcp-server@latest"],
"env": {
"NODIT_API_KEY": "****"
}
}
}
}
File locations:
~/.cursor/mcp.json
C:\Users\<Username>\.cursor\mcp.json
Add the same configuration to your Claude Desktop config:
~/Library/Application Support/Claude/claude_desktop_config.json
C:\Users\<Username>\AppData\Roaming\Claude\claude_desktop_config.json
# 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
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
Add this to your mcp.json
file:
{
"mcpServers": {
"nodit": {
"url": "https://mcp.nodit.io/sse?apiKey=INSERT_YOUR_API_KEY"
}
}
}
If you encounter problems with Claude Desktop:
Check your Node.js version:
node --version
You need v18 or higher.
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
Verify which Node.js version is being used:
which node
Restart Claude Desktop after making changes
Once connected, you can query blockchain data using natural language:
The Nodit MCP Server provides access to:
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.
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.
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": "****"
}
}
}
}
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.
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.
To add this MCP server to Claude Desktop:
1. Find your configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
~/.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