Remote#MCP server#blockchain tools#web3 integrationLicense: MIT LicenseLanguage: Python

Mesh Agent MCP Server

mesh-2

A Model Context Protocol (MCP) server that connects to Heurist Mesh APIs, providing Claude with access to various blockchain and web3 tools.

Heurist Mesh is an open network of purpose-built AI agents and tools, each specialized in particular web3 domains such as blockchain data analysis, smart contract security, token metrics, and blockchain interaction. We are actively growing the Heurist Mesh ecosystem, continuously integrating more tools to expand its capabilities.

Features

  • Connects to the Heurist Mesh API
  • Loads tools for cryptocurrency data and Web3 use cases
  • Supports both SSE and stdio transports
  • Works with Claude in Cursor, Claude Desktop, and other MCP-compatible interfaces
  • Use one API key to access multiple services (e.g. CoinGecko crypto market data, GoPlus token security review)

Hosted SSE Endpoint (Alpha Release)

We provide a hosted SSE endpoint at https://sequencer-v2.heurist.xyz/mcp/sse. This includes all the tools from the following commonly used agents: CoingeckoTokenInfoAgent, ElfaTwitterIntelligenceAgent, ExaSearchAgent, DexScreenerTokenInfoAgent, ZerionWalletAnalysisAgent. This is a shared server and the performance may be unstable.

Cursor can directly access SSE servers. For Claude Desktop users, we recommend installing mcp-proxy to connect to the SSE server.

Prerequisites

Installation

Using UV (Recommended)

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

# Install the package
uv pip install -e .

Using Docker

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

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

Usage

Option 1: Run with stdio Transport (for Claude Desktop)

Using UV

To use this with Claude Desktop, 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",  // Update this path
        "run",
        "mesh-tool-server"
      ],
      "env": {
        "HEURIST_API_KEY": "your-api-key-here"  // Update this key
      }
    }
  }
}

Using Docker

Alternatively, you can use Docker with Claude Desktop by adding 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",  // Update this key
        "mesh-tool-server"
      ]
    }
  }
}

Replace /path/to/mesh-agent-mcp with the actual path to the repository and your-api-key-here with your Heurist API key.

Option 2: Run with SSE Transport (for Cursor)

Setting up Environment Variables in .env

cp .env.example .env
HEURIST_API_KEY=your-api-key-here

Using UV:

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

Using 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

Available tools

Tool NameDescriptionAgentParametersRequired Params
get_coingecko_idSearch for a token by name to get its CoinGecko IDCoinGeckoTokenInfoAgenttoken_name (string): The token name to search fortoken_name
get_token_infoGet detailed token information and market data using CoinGecko ID (you can't use the token address or name or symbol)CoinGeckoTokenInfoAgentcoingecko_id (string): The CoinGecko ID of the tokencoingecko_id
get_trending_coinsGet the current top trending cryptocurrencies on CoinGeckoCoinGeckoTokenInfoAgent-None
get_specific_pair_infoGet trading pair info by chain and pair address on DexScreenerDexScreenerTokenInfoAgentchain (string): Chain identifier (e.g., solana, bsc, ethereum, base)
pair_address (string): The pair contract address to look up
chain, pair_address
get_token_pairsGet the trading pairs by chain and token address on DexScreenerDexScreenerTokenInfoAgentchain (string): Chain identifier (e.g., solana, bsc, ethereum, base)
token_address (string): The token contract address to look up all pairs for
chain, token_address
get_token_profilesGet the basic info of the latest tokens from DexScreenerDexScreenerTokenInfoAgent-None
search_pairsSearch for trading pairs on DexScreener by token name, symbol, or addressDexScreenerTokenInfoAgentsearch_term (string): Search term (token name, symbol, or address)search_term
get_trending_tokensGet current trending tokens on TwitterElfaTwitterIntelligenceAgenttime_window (string): Time window to analyzeNone
search_accountAnalyze a Twitter account with both mention search and account statsElfaTwitterIntelligenceAgentusername (string): Twitter username to analyze (without @)
days_ago (integer): Number of days to look back for mentions
limit (integer): Maximum number of mention results
username
search_mentionsSearch for mentions of specific tokens or topics on TwitterElfaTwitterIntelligenceAgentkeywords (array): List of keywords to search for
days_ago (integer): Number of days to look back
limit (integer): Maximum number of results (minimum: 20)
keywords
answerGet a direct answer to a question using Exa's answer APIExaSearchAgentquestion (string): The question to answerquestion
searchSearch for webpages related to a queryExaSearchAgentsearch_term (string): The search term
limit (integer): Maximum number of results to return (default: 10)
search_term
search_and_answerPerform both search and answer operations for a queryExaSearchAgenttopic (string): The topic to search for and answertopic
execute_searchExecute a web search query by reading the web pagesFirecrawlSearchAgentsearch_term (string): The search term to executesearch_term
generate_queriesGenerate related search queries for a topic that can expand the researchFirecrawlSearchAgenttopic (string): The main topic to research
num_queries (integer): Number of queries to generate
topic
fetch_security_detailsFetch security details of a blockchain token contractGoplusAnalysisAgentcontract_address (string): The token contract address
chain_id (['integer', 'string']): The blockchain chain ID or 'solana' for Solana tokens. Supported chains: Ethereum (1), Optimism (10), Cronos (25), BSC (56), Gnosis (100), HECO (128), Polygon (137), Fantom (250), KCC (321), zkSync Era (324), ETHW (10001), FON (201022), Arbitrum (42161), Avalanche (43114), Linea Mainnet (59144), Base (8453), Tron (tron), Scroll (534352), opBNB (204), Mantle (5000), ZKFair (42766), Blast (81457), Manta Pacific (169), Berachain Artio Testnet (80085), Merlin (4200), Bitlayer Mainnet (200901), zkLink Nova (810180), X Layer Mainnet (196), Solana (solana)
contract_address

Customizing Supported Agents

The server comes with a default set of agents. To modify which agents are available:

  1. Open the server.py file and locate the Config class.
  2. Edit the DEFAULT_AGENTS list to add or remove agents listed at Heurist Metadata
DEFAULT_AGENTS = [
    "CoinGeckoTokenInfoAgent",
    "DexScreenerTokenInfoAgent",
    "ElfaTwitterIntelligenceAgent",
    "ExaSearchAgent",
    "FirecrawlSearchAgent",
    "GoplusAnalysisAgent",
    # Add agents here
    "NewAgent"
]

License

This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License.

Installation

Claude
Claude
Cursor
Cursor
Windsurf
Windsurf
Cline
Cline
Witsy
Witsy
Spin AI
Spin AI
Use the following variables when running the server locally:

MCPLink

Seamless access to top MCP servers powering the future of AI integration.

© 2025 MCPLink. All rights reserved.
discordgithubdiscord