Heurist Mesh (Web3 Tools) MCP server

Connects Claude to specialized Web3 and blockchain tools including CoinGecko, DexScreener, GoPlus, Exa, and Firecrawl for cryptocurrency research, token security verification, and Web3 data analysis.
Back to servers
Setup instructions
Provider
Heurist AI
Release date
Mar 18, 2025
Language
Python
Stats
52 stars

Mesh Agent MCP Server provides an interface for Claude to access blockchain and web3 tools through the Heurist Mesh network. This server connects to various specialized AI agents that handle cryptocurrency data, blockchain analysis, token security, and more - all through a single API key.

Installation

Prerequisites

Option 1: Install with UV (Recommended)

# Clone the repository
git clone https://github.com/heurist-network/heurist-mesh-mcp-server.git
cd heurist-mesh-mcp-server

# Install the package
uv pip install -e .

Option 2: Install with Docker

# Clone the repository
git clone https://github.com/heurist-network/heurist-mesh-mcp-server.git
cd heurist-mesh-mcp-server

# Build the Docker image
docker build -t mesh-tool-server .

Usage

Using with Claude Desktop (stdio Transport)

UV Method

Add the following to your claude_desktop_config.json:

{
  "mcpServers": {
    "heurist-mesh-agent": {
      "command": "uv",
      "args": [
        "--directory",
        "/path/to/heurist-mesh-mcp-server/mesh_mcp_server",
        "run",
        "mesh-tool-server"
      ],
      "env": {
        "HEURIST_API_KEY": "your-api-key-here"
      }
    }
  }
}

Docker Method

For Docker with Claude Desktop, add this to your claude_desktop_config.json:

{
  "mcpServers": {
    "mesh-agent": {
      "command": "docker",
      "args": [
        "run",
        "--rm",
        "-i",
        "-e", "TRANSPORT=stdio",
        "-e", "HEURIST_API_KEY=your-api-key-here",
        "mesh-tool-server"
      ]
    }
  }
}

Using with Cursor (SSE Transport)

Set Environment Variables

cp .env.example .env
# Edit .env file to add your API key
HEURIST_API_KEY=your-api-key-here

Start Server with UV

uv run mesh-tool-server --transport sse --port 8000

Start Server with Docker

docker run -p 8000:8000 -e PORT=8000 mesh-tool-server

Then in Cursor, add the MCP Server URL: http://0.0.0.0:8000/sse

Using the Hosted SSE Endpoint

A shared SSE endpoint is available at https://sequencer-v2.heurist.xyz/mcp/sse with common agents included:

  • CoingeckoTokenInfoAgent
  • ElfaTwitterIntelligenceAgent
  • ExaSearchAgent
  • DexScreenerTokenInfoAgent
  • ZerionWalletAnalysisAgent

For Claude Desktop users connecting to SSE servers, install mcp-proxy.

Available Tools

Here are some of the key tools available through the Mesh Agent server:

CoinGecko Token Information

  • get_coingecko_id: Search for a token by name to get its CoinGecko ID
  • get_token_info: Get detailed token information using CoinGecko ID
  • get_trending_coins: Get current top trending cryptocurrencies

DexScreener Token Information

  • get_specific_pair_info: Get trading pair info by chain and pair address
  • get_token_pairs: Get all trading pairs for a token
  • get_token_profiles: Get basic info of latest tokens
  • search_pairs: Search for trading pairs by token name, symbol, or address

Twitter Intelligence

  • get_trending_tokens: Get current trending tokens on Twitter
  • search_account: Analyze a Twitter account with mentions and stats
  • search_mentions: Search for mentions of specific tokens or topics

Web Search

  • answer: Get a direct answer to a question using Exa's answer API
  • search: Search for webpages related to a query
  • search_and_answer: Perform both search and answer operations

Token Security

  • fetch_security_details: Get security analysis of a blockchain token contract

Customizing Agent Selection

To modify which agents are available in your server:

  1. Open the server.py file
  2. Locate the Config class
  3. Edit the DEFAULT_AGENTS list:
DEFAULT_AGENTS = [
    "CoinGeckoTokenInfoAgent",
    "DexScreenerTokenInfoAgent",
    "ElfaTwitterIntelligenceAgent",
    "ExaSearchAgent",
    "FirecrawlSearchAgent",
    "GoplusAnalysisAgent",
    # Add your desired agents here
]

For the complete list of available agents, visit mesh.heurist.ai/metadata.json or mcp.heurist.ai.

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 "heurist-mesh-agent" '{"command":"uv","args":["--directory","/path/to/heurist-mesh-mcp-server/mesh_mcp_server","run","mesh-tool-server"],"env":{"HEURIST_API_KEY":"your-api-key-here"}}'

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": {
        "heurist-mesh-agent": {
            "command": "uv",
            "args": [
                "--directory",
                "/path/to/heurist-mesh-mcp-server/mesh_mcp_server",
                "run",
                "mesh-tool-server"
            ],
            "env": {
                "HEURIST_API_KEY": "your-api-key-here"
            }
        }
    }
}

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": {
        "heurist-mesh-agent": {
            "command": "uv",
            "args": [
                "--directory",
                "/path/to/heurist-mesh-mcp-server/mesh_mcp_server",
                "run",
                "mesh-tool-server"
            ],
            "env": {
                "HEURIST_API_KEY": "your-api-key-here"
            }
        }
    }
}

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