Base Network MCP Server
@u-Operating-System
关于 Base Network MCP Server
MCP server for AI agents to query Base Network blockchain data.
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"basescan-mcp-server": {
"command": "docker",
"args": [
"run",
"-p",
"3010:3010",
"basescan-mcp-server"
]
}
}
}工具
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
概览
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.
其他 分类下的更多 MCP 服务器
Awesome Mlops
visengerA curated list of references for MLOps
XcodeBuildMCP
cameroncookeA Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.
Blender
ahujasidOpen-source MCP to use Blender with any LLM
Reactive Resume
amruthpillaiA one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
Servers
modelcontextprotocolModel Context Protocol Servers
评论