mcp-server
Verified Safeby blockscout
Overview
Provides AI agents and development tools with contextual, curated access to blockchain data (balances, tokens, NFTs, contract metadata, transactions, logs) across multiple EVM-compatible chains via Blockscout APIs.
Installation
docker run --rm -p 8000:8000 ghcr.io/blockscout/mcp-server:latest python -m blockscout_mcp_server --http --rest --http-host 0.0.0.0Environment Variables
- BLOCKSCOUT_BS_API_KEY
- BLOCKSCOUT_DISABLE_COMMUNITY_TELEMETRY
- BLOCKSCOUT_MCP_TRANSPORT
- PORT
- BLOCKSCOUT_MIXPANEL_TOKEN
- BLOCKSCOUT_DIRECT_API_RESPONSE_SIZE_LIMIT
Security Notes
The server is designed as a wrapper for external Blockscout APIs. It implements several safety measures: no direct 'eval()' or obfuscation found; external API calls include timeouts and retries; API keys are expected via environment variables ('BLOCKSCOUT_BS_API_KEY'), preventing hardcoding. The 'direct_api_call' tool provides access to a curated list of Blockscout endpoints, not arbitrary URLs, mitigating SSRF risks, and enforces a response size limit for AI clients (with an explicit bypass header for REST clients). 'read_contract' uses web3.py for read-only 'eth_call' operations with input validation. Anonymous telemetry data (tool name, args, client info, IP for geolocation) is collected by default but offers an opt-out. No personal data, secrets, or private keys are collected. Overall, the design shows a proactive approach to security in an external API integration context.
Similar Servers
evm-mcp-server
Enables AI agents to interact with 60+ EVM-compatible blockchains, perform transactions, query data, and interact with smart contracts via a unified Model Context Protocol (MCP) interface.
heurist-mesh-mcp-server
Provides AI models (like Claude) access to Web3 and blockchain tools via the Heurist Mesh API for tasks such as cryptocurrency data analysis, token security review, and social media intelligence.
kukapay-mcp-servers
Aggregates real-time cryptocurrency and blockchain data for AI agents and developers, spanning DeFi, trading, market analytics, and Web3 services.
UCAI
Generates Model Context Protocol (MCP) servers from smart contract ABIs, enabling AI agents to interact with blockchain protocols safely and efficiently, incorporating security scanning and contract explanations.