Base Network MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Base Network MCP Serverget the latest block on Base mainnet"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Base Network MCP Server
A Model Context Protocol (MCP) server for accessing Base Network blockchain data. Provides tools for querying blocks, transactions, balances, and smart contracts on Base mainnet and testnet.
Features
9 blockchain tools (7 work without API key)
Base mainnet and Sepolia testnet support
Real-time blockchain data access
Docker support
Multiple transport options (stdio, HTTP)
Related MCP server: BaseQL MCP Server
Quick Start
Install and Build
git clone https://github.com/u-Operating-System/basescan-mcp-server.git
cd basescan-mcp-server
npm install
npm run buildRun the Server
# For Claude Desktop (recommended)
npm start
# For HTTP server
MCP_TRANSPORT_TYPE=http npm startOptional: BaseScan API Key
Get enhanced features by adding a free BaseScan API key:
Create account and get API key
Add to environment:
BASESCAN_API_KEY=your-key
Claude Desktop Setup
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"base-network": {
"command": "node",
"args": ["/path/to/basescan-mcp-server/build/index.js"],
"env": {
"BASESCAN_API_KEY": "your-key-here"
}
}
}
}Docker
# Basic setup
docker run -p 3010:3010 basescan-mcp-server
# With API key
docker run -p 3010:3010 -e BASESCAN_API_KEY=your-key basescan-mcp-serverAvailable Tools
Tool | Description | Requires API Key |
| Latest block information | No |
| Block by number/hash | No |
| Transaction details | No |
| ETH balance lookup | No |
| Current gas prices | No |
| Smart contract detection | No |
| Network statistics | No |
| Account transaction history | Yes |
| Token transfer history | Yes |
Configuration
Configure via environment variables:
NODE_ENV=development # development|production
MCP_TRANSPORT_TYPE=stdio # stdio|http
MCP_HTTP_PORT=3010 # HTTP port
BASESCAN_API_KEY=your-key # BaseScan API key (optional)
MCP_LOG_LEVEL=info # debug|info|warning|errorSecurity
Store API keys in environment variables
Never commit
.envfiles with real valuesUse HTTPS in production
Networks
Base Mainnet: Chain ID 8453
Base Sepolia: Chain ID 84532
Development
npm run dev # Development with hot reload
npm test # Run tests
npm run lint # Code linting
npm run format # Code formattingLicense
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceEnables blockchain payment operations across multiple networks including Base, Ethereum, BSC, Polygon, and Avalanche. Supports balance queries, token transfers, transaction tracking, wallet management, and gas fee estimation with built-in security limits.Last updatedMIT
- Alicense-qualityDmaintenanceEnables agents to query Base blockchain data using natural language by providing contract addresses, SQL templates, and direct access to Coinbase's SQL API for realtime on-chain analytics including DeFi, NFTs, and wallet activity.Last updated3MIT
- Alicense-qualityDmaintenanceEnables querying Base Network blockchain data including blocks, transactions, balances, and smart contracts on mainnet and testnet.Last updated4MIT
- Alicense-qualityBmaintenanceProvides real Bitcoin full node data via 17 tools, with pay-per-call in USDC on Base mainnet. Free tools include blockchain info, fees, and mempool; paid tools enable transaction tracking, address analysis, and more.Last updatedMIT
Related MCP Connectors
Read-only on-chain intelligence for AI agents on Base: balances, tokens, gas, tx status.
Read-only on-chain intel for AI agents on Base: balances, tokens, gas, tx status. No API keys.
Check a Base contract, transaction or web page before you act. Free pricing, paid per call in USDC.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/happybigmtn/basescan-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server