MCP ExplorerExplorer

Mesh Agent

@Heurist Networkon 12 days ago
49 MIT
FreeCommunity
Finance
#Heurist#Agent Framework#Blockchain Tools
Access specialized web3 AI agents for blockchain analysis, smart contract security, token metrics, and blockchain interactions through the [Heurist Mesh network](https://github.com/heurist-network/heurist-agent-framework/tree/main/mesh).

Overview

What is Mesh Agent

The Mesh Agent MCP Server is a server designed to interface with Heurist Mesh APIs, facilitating access to various blockchain and web3 tools for AI agents. It supports diverse tasks such as cryptocurrency data analysis, smart contract security assessments, and token metrics evaluations, enhancing interaction capabilities in the web3 domain.

Use cases

The MCP server enables users to conduct cryptocurrency research, obtain detailed token and market data, perform security analyses on blockchain tokens, track trending cryptocurrencies and tokens on platforms like CoinGecko and Twitter, and gather search results or direct answers on specified web topics, making it a versatile tool for developers and analysts in the blockchain space.

How to use

To use the Mesh Agent MCP Server, you can install it via the UV package manager or Docker. After obtaining a Heurist API key, configure it according to your preferences (either with stdio transport for local use with Claude Desktop or SSE transport for remote access with Cursor). You can also customize available agents by editing the ‘DEFAULT_AGENTS’ list in the server configuration.

Key features

Key features of the MCP server include its seamless connection to Heurist Mesh APIs, support for multiple data retrieval tools, compatibility with Claude interfaces, the ability to access various web3 data using a single API key, and an option to customize the server to meet specific needs through agent management.

Where to use

The Mesh Agent MCP Server can be utilized in environments where web3 data is crucial, such as decentralized applications (dApps), blockchain-based research, financial analysis platforms, and AI-driven insights within the cryptocurrency sector. It is compatible with platforms like Claude Desktop and Cursor, enhancing its accessibility for a wide range of users.

Content

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.

Mesh Agent Server MCP server

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)

🔥 Just In: Customize Your Agents and Create Managed MCP Servers On-Demand

You can use Heurist Mesh MCP Portal to create SSE MCP Servers. Select your agents and compose a personalized swarm for your tasks!

Hosted SSE Endpoint

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/heurist-network/heurist-mesh-mcp-server.git
cd heurist-mesh-mcp-server

# Install the package
uv pip install -e .

Using 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

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/heurist-mesh-mcp-server 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

Visit https://mesh.heurist.ai/metadata.json or https://mcp.heurist.ai/ to view all available tools.

Featured tools

Tool Name Description Agent Parameters Required Params
get_coingecko_id Search for a token by name to get its CoinGecko ID CoinGeckoTokenInfoAgent token_name (string): The token name to search for token_name
get_token_info Get detailed token information and market data using CoinGecko ID (you can’t use the token address or name or symbol) CoinGeckoTokenInfoAgent coingecko_id (string): The CoinGecko ID of the token coingecko_id
get_trending_coins Get the current top trending cryptocurrencies on CoinGecko CoinGeckoTokenInfoAgent - None
get_specific_pair_info Get trading pair info by chain and pair address on DexScreener DexScreenerTokenInfoAgent chain (string): Chain identifier (e.g., solana, bsc, ethereum, base)
pair_address (string): The pair contract address to look up
chain, pair_address
get_token_pairs Get the trading pairs by chain and token address on DexScreener DexScreenerTokenInfoAgent chain (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_profiles Get the basic info of the latest tokens from DexScreener DexScreenerTokenInfoAgent - None
search_pairs Search for trading pairs on DexScreener by token name, symbol, or address DexScreenerTokenInfoAgent search_term (string): Search term (token name, symbol, or address) search_term
get_trending_tokens Get current trending tokens on Twitter ElfaTwitterIntelligenceAgent time_window (string): Time window to analyze None
search_account Analyze a Twitter account with both mention search and account stats ElfaTwitterIntelligenceAgent username (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_mentions Search for mentions of specific tokens or topics on Twitter ElfaTwitterIntelligenceAgent keywords (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
answer Get a direct answer to a question using Exa’s answer API ExaSearchAgent question (string): The question to answer question
search Search for webpages related to a query ExaSearchAgent search_term (string): The search term
limit (integer): Maximum number of results to return (default: 10)
search_term
search_and_answer Perform both search and answer operations for a query ExaSearchAgent topic (string): The topic to search for and answer topic
execute_search Execute a web search query by reading the web pages FirecrawlSearchAgent search_term (string): The search term to execute search_term
generate_queries Generate related search queries for a topic that can expand the research FirecrawlSearchAgent topic (string): The main topic to research
num_queries (integer): Number of queries to generate
topic
fetch_security_details Fetch security details of a blockchain token contract GoplusAnalysisAgent contract_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.

Tools

coingeckotokeninfoagent_get_coingecko_id
Search for a token by name to get its CoinGecko ID. This tool helps you find the correct CoinGecko ID for any cryptocurrency when you only know its name or symbol. The CoinGecko ID is required for fetching detailed token information using other CoinGecko tools.
coingeckotokeninfoagent_get_token_info
Get detailed token information and market data using CoinGecko ID. This tool provides comprehensive cryptocurrency data including current price, market cap, trading volume, price changes, and more.
coingeckotokeninfoagent_get_trending_coins
Get the current top trending cryptocurrencies on CoinGecko. This tool retrieves a list of the most popular cryptocurrencies based on trading volume and social media mentions.
coingeckotokeninfoagent_get_token_price_multi
Fetch price data for multiple tokens at once using CoinGecko IDs. Efficiently retrieves current prices and optional market data for multiple cryptocurrencies in a single API call.
coingeckotokeninfoagent_get_categories_list
Get a list of all available cryptocurrency categories from CoinGecko. This tool retrieves all the category IDs and names that can be used for further category-specific queries.
coingeckotokeninfoagent_get_category_data
Get market data for all cryptocurrency categories from CoinGecko. This tool retrieves comprehensive information about all categories including market cap, volume, market cap change, top coins in each category, and more.
coingeckotokeninfoagent_get_tokens_by_category
Get a list of tokens within a specific category. This tool retrieves token data for all cryptocurrencies that belong to a particular category, including price, market cap, volume, and price changes.
dexscreenertokeninfoagent_search_pairs
Search for trading pairs on decentralized exchanges by token name, symbol, or address. This tool helps you find specific trading pairs across multiple DEXs and blockchains. It returns information about the pairs including price, volume, liquidity, and the exchanges where they're available. Data comes from DexScreener and covers major DEXs on most blockchains. The search results may be incomplete if the token is not traded on any of the supported chains.
dexscreenertokeninfoagent_get_specific_pair_info
Get detailed information about a specific trading pair on a decentralized exchange by chain and pair address. This tool provides comprehensive data about a DEX trading pair including current price, 24h volume, liquidity, price changes, and trading history. Data comes from DexScreener and is updated in real-time. You must specify both the blockchain and the exact pair contract address. The pair address is the LP contract address, not the quote token address.
dexscreenertokeninfoagent_get_token_pairs
Get all trading pairs for a specific token across decentralized exchanges by chain and token address. This tool retrieves a comprehensive list of all DEX pairs where the specified token is traded on a particular blockchain. It provides data on each pair including the paired token, exchange, price, volume, and liquidity. Data comes from DexScreener and is updated in real-time. You must specify both the blockchain and the exact token contract address.
elfatwitterintelligenceagent_search_mentions
Search for mentions of specific tokens or topics on Twitter. This tool finds discussions about cryptocurrencies, blockchain projects, or other topics of interest. It provides the tweets and mentions of smart accounts (only influential ones) and does not contain all tweets. Use this when you want to understand what influential people are saying about a particular token or topic on Twitter. Each of the search keywords should be one word or phrase. A maximum of 5 keywords are allowed. One key word should be one concept. Never use long sentences or phrases as keywords.
elfatwitterintelligenceagent_search_account
Search for a Twitter account with both mention search and account statistics. This tool provides engagement metrics, follower growth, and mentions by smart users. It does not contain all tweets, but only those of influential users. It also identifies the topics and cryptocurrencies they frequently discuss. Data comes from ELFA API and can analyze several weeks of historical activity.
elfatwitterintelligenceagent_get_trending_tokens
Get current trending tokens on Twitter. This tool identifies which cryptocurrencies and tokens are generating the most buzz on Twitter right now. The results include token names, their relative popularity, and sentiment indicators. Use this when you want to discover which cryptocurrencies are currently being discussed most actively on social media. Data comes from ELFA API and represents real-time trends.
exasearchagent_exa_web_search
Search for webpages related to a query using Exa search. This tool performs a web search and returns relevant results including titles, snippets, and URLs. It's useful for finding up-to-date information on any topic, but may fail to find information of niche topics such like small cap crypto projects. Use this when you need to gather information from across the web.
exasearchagent_exa_answer_question
Get a direct answer to a question using Exa's answer API. This tool provides concise, factual answers to specific questions by searching and analyzing content from across the web. Use this when you need a direct answer to a specific question rather than a list of search results. It may fail to find information of niche topics such like small cap crypto projects.
firecrawlsearchagent_firecrawl_web_search
Execute a web search query by reading the web pages using Firecrawl. It provides more comprehensive information than standard web search by extracting the full contents from the pages. Use this when you need in-depth information on a topic. Data comes from Firecrawl search API. It may fail to find information of niche topics such like small cap crypto projects.
firecrawlsearchagent_firecrawl_extract_web_data
Extract structured data from one or multiple web pages using natural language instructions using Firecrawl. This tool can process single URLs or entire domains (using wildcards like example.com/*). Use this when you need specific information from websites rather than general search results. You must specify what data to extract from the pages using the 'extraction_prompt' parameter.
goplusanalysisagent_fetch_security_details
Fetch security details of a blockchain token contract

Comments