Koskamo

MACH Base MCP MCP server

MACH Base provides 17 Base mainnet data tools for autonomous agents over Streamable HTTP MCP. It allows agents to query blockchain data such as block numbers, gas prices, wallet balances, ERC-20 balances, transaction receipts, and event logs. The service operates without API keys or subscriptions, using a pay-per-call model in USDC via x402.

Endpoint and access

No sign-in: your client connects and lists tools immediately, with no account or key.

No sign-inEndpoint checked 2026-10-05Operated by MACH
MCP endpoint (Streamable HTTP)
https://api.mach.gallery/mcp
Vendor documentation

What you can do with it

  • Query Base mainnet block numbers and gas prices
  • Check wallet and ERC-20 token balances
  • Retrieve transaction receipts and event logs
  • Perform contract introspection and bytecode reading
Tools advertised by the last live check:
  • mach_choose
  • base_block_number
  • base_gas_price
  • base_wallet_balance
  • base_erc20_balance
  • base_nonce
  • base_contract_code
  • base_allowance
  • base_receipt
  • base_logs
  • base_eth_call
  • base_transaction
  • base_block
  • base_transaction_context
  • base_wallet_snapshot
  • base_total_supply
  • base_contract_info
  • base_erc20_transfers

Connect from your client

Each snippet registers the same endpoint; pick the client you use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Claude Code

Run this once in a terminal. It registers a Streamable HTTP server. Use --scope project to write .mcp.json for the repo.
Claude Code configuration
claude mcp add --transport http mach-base-mcp https://api.mach.gallery/mcp

Codex

Run this once. Codex stores MCP servers in ~/.codex/config.toml (or .codex/config.toml in a trusted project).
Codex configuration
codex mcp add mach-base-mcp --url https://api.mach.gallery/mcp

Cursor

Merge this server into .cursor/mcp.json in your project, then enable mach-base-mcp in your MCP settings.
Cursor configuration
{
  "mcpServers": {
    "mach-base-mcp": {
      "url": "https://api.mach.gallery/mcp"
    }
  }
}

Cline

Merge this into cline_mcp_settings.json (Cline → MCP Servers → Configure). The type must be streamableHttp for a remote HTTP server.
Cline configuration
{
  "mcpServers": {
    "mach-base-mcp": {
      "type": "streamableHttp",
      "url": "https://api.mach.gallery/mcp",
      "disabled": false
    }
  }
}

VS Code

Merge this server into .vscode/mcp.json. Use MCP: List Servers to start mach-base-mcp and inspect its tools.
VS Code configuration
{
  "servers": {
    "mach-base-mcp": {
      "type": "http",
      "url": "https://api.mach.gallery/mcp"
    }
  }
}

Gemini CLI

Run this once. It writes .gemini/settings.json in the current project; pass --scope user for ~/.gemini/settings.json.
Gemini CLI configuration
gemini mcp add --transport http mach-base-mcp https://api.mach.gallery/mcp

Claude Desktop

Merge this into claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\), then restart Claude Desktop.
Claude Desktop configuration
{
  "mcpServers": {
    "mach-base-mcp": {
      "url": "https://api.mach.gallery/mcp"
    }
  }
}

Windsurf

Merge this into ~/.codeium/windsurf/mcp_config.json, then refresh MCP in Cascade. Windsurf remote servers use serverUrl, not url.
Windsurf configuration
{
  "mcpServers": {
    "mach-base-mcp": {
      "serverUrl": "https://api.mach.gallery/mcp"
    }
  }
}

Do you run MACH Base MCP?

Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.

Claim this listing