MACH Base

16 paid Base data tools for agents over MCP, paid per call in USDC via x402.

Quality & Safety

B
Description quality
87%
Schema completeness
70%
Naming quality
80%
Poisoning risk
100%
Permission match
100%
Protocol compliance
100%

Findings (1)

  • LOWTool 'base_gas_price' description lacks action verbin base_gas_price

Based on automated analysis of tool definitions and protocol compliance.

Context Cost

~1,658Tokens (tool definitions)
~672 BTypical response size
Moderate attention impact (1.30% of 128k context)

This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.

Rate this Server

One-Click Install

Add this to your `claude_desktop_config.json` file:

{
  "mcpServers": {
    "mach-base": {
      "url": "https://api.mach.gallery/mcp"
    }
  }
}

Remote endpoints

https://api.mach.gallery/mcpstreamable-http

Tool inventory

Tools (16)

🟢 Read-only🟡 Write🔴 Delete⚪ Unknown
base_block_number

Return the current Base mainnet block number from a live RPC. Costs $0.005 USDC via x402.

Input Schema

{
  "type": "object",
  "properties": {},
  "$schema": "http://json-schema.org/draft-07/schema#"
}
base_gas_price

Return the current Base gas price in wei from a live RPC. Costs $0.005 USDC via x402.

Input Schema

{
  "type": "object",
  "properties": {},
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢base_wallet_balance(address)

Read the live native ETH balance for one Base address. Costs $0.005 USDC via x402.

Input Schema

{
  "type": "object",
  "properties": {
    "address": {
      "type": "string",
      "pattern": "^0x[0-9a-fA-F]{40}$"
    }
  },
  "required": [
    "address"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢base_erc20_balance(token, address)

Read an ERC-20 token balance for one Base wallet using balanceOf. Costs $0.005 USDC via x402.

Input Schema

{
  "type": "object",
  "properties": {
    "token": {
      "type": "string",
      "pattern": "^0x[0-9a-fA-F]{40}$"
    },
    "address": {
      "$ref": "#/properties/token"
    }
  },
  "required": [
    "token",
    "address"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
base_nonce(address)

Return the current transaction nonce for one Base address. Costs $0.005 USDC via x402.

Input Schema

{
  "type": "object",
  "properties": {
    "address": {
      "type": "string",
      "pattern": "^0x[0-9a-fA-F]{40}$"
    }
  },
  "required": [
    "address"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢base_contract_code(address)

Check live Base bytecode to determine whether an address is a deployed contract. Costs $0.005 USDC via x402.

Input Schema

{
  "type": "object",
  "properties": {
    "address": {
      "type": "string",
      "pattern": "^0x[0-9a-fA-F]{40}$"
    }
  },
  "required": [
    "address"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢base_allowance(token, owner, spender)

Read an ERC-20 allowance on Base for owner and spender. Costs $0.005 USDC via x402.

Input Schema

{
  "type": "object",
  "properties": {
    "token": {
      "type": "string",
      "pattern": "^0x[0-9a-fA-F]{40}$"
    },
    "owner": {
      "$ref": "#/properties/token"
    },
    "spender": {
      "$ref": "#/properties/token"
    }
  },
  "required": [
    "token",
    "owner",
    "spender"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
base_receipt(tx_hash)

Return a live Base transaction receipt plus current confirmation depth. Costs $0.005 USDC via x402.

Input Schema

{
  "type": "object",
  "properties": {
    "tx_hash": {
      "type": "string",
      "pattern": "^0x[0-9a-fA-F]{64}$"
    }
  },
  "required": [
    "tx_hash"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢base_logs(address, from_block, to_block, topics)

Query bounded Base contract event logs using address, topics and block range filters. Costs $0.005 USDC via x402.

Input Schema

{
  "type": "object",
  "properties": {
    "address": {
      "type": "string",
      "pattern": "^0x[0-9a-fA-F]{40}$"
    },
    "from_block": {
      "type": "integer",
      "minimum": 0
    },
    "to_block": {
      "type": "integer",
      "minimum": 0
    },
    "topics": {
      "type": "array",
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "maxItems": 4
    }
  },
  "required": [
    "address"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢base_eth_call(to, data, block)

Execute one read-only eth_call against a Base contract at a chosen block tag. Costs $0.005 USDC via x402.

Input Schema

{
  "type": "object",
  "properties": {
    "to": {
      "type": "string",
      "pattern": "^0x[0-9a-fA-F]{40}$"
    },
    "data": {
      "type": "string",
      "pattern": "^0x[0-9a-fA-F]*$",
      "maxLength": 32770
    },
    "block": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "integer",
          "minimum": 0
        }
      ]
    }
  },
  "required": [
    "to",
    "data"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
base_transaction(tx_hash)

Return a live Base transaction by hash, including sender, recipient, value and calldata. Costs $0.008 USDC via x402.

Input Schema

{
  "type": "object",
  "properties": {
    "tx_hash": {
      "type": "string",
      "pattern": "^0x[0-9a-fA-F]{64}$"
    }
  },
  "required": [
    "tx_hash"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
base_block(block)

Return a live Base block header and transaction hashes by number or tag. Costs $0.005 USDC via x402.

Input Schema

{
  "type": "object",
  "properties": {
    "block": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "integer",
          "minimum": 0
        }
      ]
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢base_wallet_snapshot(address, tokens)

Read native ETH plus up to 10 caller-supplied ERC-20 balances for one Base wallet. Costs $0.005 USDC via x402.

Input Schema

{
  "type": "object",
  "properties": {
    "address": {
      "type": "string",
      "pattern": "^0x[0-9a-fA-F]{40}$"
    },
    "tokens": {
      "type": "array",
      "items": {
        "$ref": "#/properties/address"
      },
      "maxItems": 10
    }
  },
  "required": [
    "address"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢base_total_supply(token)

Read totalSupply for an ERC-20 or ERC-721 contract on Base. Costs $0.005 USDC via x402.

Input Schema

{
  "type": "object",
  "properties": {
    "token": {
      "type": "string",
      "pattern": "^0x[0-9a-fA-F]{40}$"
    }
  },
  "required": [
    "token"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢base_contract_info(address)

Inspect Base contract bytecode and best-effort token metadata and common token interfaces. Costs $0.005 USDC via x402.

Input Schema

{
  "type": "object",
  "properties": {
    "address": {
      "type": "string",
      "pattern": "^0x[0-9a-fA-F]{40}$"
    }
  },
  "required": [
    "address"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢base_erc20_transfers(token, from_address, to_address, from_block, to_block)

Query bounded ERC-20 Transfer events on Base by token with optional from/to wallet filters. Costs $0.005 USDC via x402.

Input Schema

{
  "type": "object",
  "properties": {
    "token": {
      "type": "string",
      "pattern": "^0x[0-9a-fA-F]{40}$"
    },
    "from_address": {
      "$ref": "#/properties/token"
    },
    "to_address": {
      "$ref": "#/properties/token"
    },
    "from_block": {
      "type": "integer",
      "minimum": 0
    },
    "to_block": {
      "type": "integer",
      "minimum": 0
    }
  },
  "required": [
    "token"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Recent observations

verifiedversion not recorded16 tools