base-gas-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| TARGET_URL | No | Override the gas API URL. Defaults to the live Base gas endpoint. | https://base-gas-x402-production.up.railway.app/gas |
| BUYER_PRIVATE_KEY | Yes | Private key of a funded Base mainnet wallet. Needs a small USDC balance and a little ETH for gas. 32-byte hex (64 hex chars, 0x prefix optional). |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_base_gasA | Returns live Base mainnet gas data (base fee, low/medium/high priority fees, and an ETH transfer cost estimate). IMPORTANT: every call makes a REAL $0.001 USDC payment on Base mainnet via the x402 protocol and requires a funded buyer wallet (BUYER_PRIVATE_KEY) holding USDC and ETH for gas. Do not call this repeatedly or in loops — each invocation spends real money. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
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/memosr/base-gas-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server