Base Network MCP Server
@u-Operating-System
About Base Network MCP Server
MCP server for AI agents to query Base Network blockchain data.
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"basescan-mcp-server": {
"command": "docker",
"args": [
"run",
"-p",
"3010:3010",
"basescan-mcp-server"
]
}
}
}Tools
9Latest block information
Block by number/hash
Transaction details
ETH balance lookup
Current gas prices
Smart contract detection
Network statistics
Account transaction history
Token transfer history
Overview
What is Base Network MCP Server?
A Model Context Protocol server that provides tools for querying blockchain data on Base Network, including blocks, transactions, balances, and smart contracts on both Base mainnet and Sepolia testnet.
How to use Base Network MCP Server?
Clone the repository, run npm install and npm build, then start with npm start for stdio mode or MCP_TRANSPORT_TYPE=http npm start for HTTP. Optionally set a BaseScan API key via the BASESCAN_API_KEY environment variable. Configure Claude Desktop by adding a JSON entry to claude_desktop_config.json.
Key features of Base Network MCP Server
- 9 blockchain tools, 7 work without an API key
- Supports Base mainnet and Sepolia testnet
- Real-time blockchain data access
- Docker support for containerized deployment
- Multiple transport options: stdio and HTTP
Use cases of Base Network MCP Server
- Retrieve the latest block or a specific block by number/hash
- Look up transaction details by hash
- Check ETH balance for any address
- Monitor current gas prices on Base Network
- Verify if an address is a smart contract
- Query account transaction or token transfer history (requires API key)
FAQ from Base Network MCP Server
What tools are available without an API key?
Seven tools: get_latest_block, get_block, get_transaction, get_balance, get_gas_price, check_contract, and get_network_stats.
How do I get a BaseScan API key?
Visit https://basescan.org/apis, create an account, obtain an API key, and set it as the BASESCAN_API_KEY environment variable.
What networks does the server support?
Base Mainnet (chain ID 8453) and Base Sepolia (chain ID 84532).
How can I run the server in HTTP mode?
Set the environment variable MCP_TRANSPORT_TYPE=http and optionally configure MCP_HTTP_PORT (default 3010), then start the server.
Is Docker supported?
Yes. Use docker run -p 3010:3010 basescan-mcp-server and optionally add -e BASESCAN_API_KEY=your-key for enhanced features.
More Other MCP servers
MaxKB
1Panel-dev🔥 MaxKB is an open-source platform for building enterprise-grade agents. 强大易用的开源企业级智能体平台。
Core Philosophy: Connect, Unify, Respond
mindsdbDelegate anything. It comes back done.
AutoBrowser MCP
autobrowser-aiBrowser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser
MCP Registry
modelcontextprotocolA community driven registry service for Model Context Protocol (MCP) servers.
Awesome-MCP-ZH
yzflyMCP 资源精选, MCP指南,Claude MCP,MCP Servers, MCP Clients
Comments