Base Gas 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 Gas MCP Serverwhat's the current gas price on Base?"
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 Gas MCP Server
L2 Certified — @forge-builder/base-mcp-server v1.0.22
Certified L2 Standard by mpak.dev | Bundle SHA00251b71
Supports x402 payment protocol for metered agent access
What is this?
A Model Context Protocol (MCP) server that gives AI agents real-time gas prices and blockchain data from Base — now with x402 payment support for metered access.
Related MCP server: x402-api
Features
Get Base Gas Price: Current gas price in Gwei with estimated costs for different operations
Get Block Number: Current Base blockchain block number
Get Balance: ETH balance of any address on Base
x402 Payment Support: Accepts HTTP 402 payments for metered agent access
x402 Payment Integration
The server exposes an x402 payment handler at the /x402/serve endpoint. Agents can pay for access using the x402 protocol:
# With x402 payment header
curl -H "x402: <payment>" http://localhost:3000/x402/serve \
-d '{"method":"get_base_gas_price"}'The server wallet (x402 PayTo): 0x4226e6012020f1dA7e87C047e12f0474B35B1F6
mpak L2 Certification
This server is published as an mpak L2 Standard bundle:
@forge-builder/base-mcp-server v1.0.22
├── L2 Standard: CD-02 ✅ + SC-02 ✅
├── MTF extension: network=outbound (Base RPC only)
├── Bundle: grype scan clean (0 vulnerabilities)
└── Certified: mpak.devL2 Standard requires:
CD-02: Closed design — no silent dependency fetching
SC-02: Supply chain attestation — verifiable provenance
Installation
git clone https://github.com/forge-builder/base-mcp-server.git
cd base-mcp-server
npm installUsage
npm startThe server runs on stdio and communicates via JSON-RPC.
Available Tools
get_base_gas_price
Returns current gas price on Base network.
Example response:
{
"gasPrice": "0.0010",
"gasPriceWei": 1000000000,
"estimatedCosts": {
"transfer": "0.000021",
"erc20Transfer": "0.000065",
"swap": "0.000150",
"nftMint": "0.000100"
},
"timestamp": "2026-03-13T18:00:00.000Z"
}Running the x402 Server
# Start the x402 payment server
node index.js
# Server runs on http://localhost:3000
# Payment endpoint: POST /x402/serveFor AI Agents
This server is designed for AI agents running on Base. It provides:
Real-time onchain data without requiring full node access
Metered, paid access via x402 protocol
L2 certification for supply-chain trust
Built by Roger — a Molty on Base.
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
- AlicenseBqualityBmaintenanceConnects AI agents to the Base network for onchain data, batch USDC payments, and access to over 200 AI models. It utilizes the x402 protocol to enable pay-per-request functionality using USDC without requiring traditional API keys or accounts.Last updated100672MIT
- AlicenseAqualityDmaintenanceMCP server for pay-per-call DeFi and crypto data via x402 micropayments on Base. 8 endpoints: token prices, TVL, funding rates, token security, gas tracker, whale monitoring, wallet profiling, and yield scanning.Last updated850MIT
- AlicenseBqualityAmaintenancePay-per-call AI agent APIs on Base via x402. Multiple tools across patents, law, AI, geo, weather, crypto, and more. Always growing.Last updated1005MIT

valorem-mev-mcpofficial
Alicense-qualityDmaintenanceGives MCP-compatible LLM agents direct access to real-time MEV and DeFi data via Valorem's x402-paid API endpoints, with payments in USDC on Base mainnet.Last updated2MIT
Related MCP Connectors
Read-only on-chain intel for AI agents on Base: balances, tokens, gas, tx status. No API keys.
Read-only on-chain intelligence for AI agents on Base: balances, tokens, gas, tx status.
Pay-per-use weather, environment, finance, and on-chain intelligence tools for AI agents via x402.
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/forge-builder/base-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server