MCP.so
Sign In

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

Category

Other

License

MIT license

Runtime

node

Transports

stdio

Publisher

u-Operating-System

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

9

Latest 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.

Comments

More Other MCP servers