io.github.TheAliphant/mach-base

MACH Base

17 Base data tools for agents over Streamable HTTP MCP. Pay per call in USDC via x402; no API key.

1.0.2
Version
remote
Transport
18
Tools

Security review

Review passed

Reviewed 1d ago.

  • tools: 18 tools scanned
  • metadata: scanned

No findings.

Tools (18)

  • mach_choose

    Free decision layer: map an agent goal to the narrowest paid MACH Base capability, exact price, expected result fields and exact next request. Returns no live chain data and has no side effects.

  • base_block_number

    Get the current Base mainnet block number (latest chain height) for an autonomous agent. Costs $0.005 USDC via x402.

  • base_gas_price

    Get the current gas price on Base mainnet in wei for transaction fee estimation. Costs $0.005 USDC via x402.

  • base_wallet_balance

    Check the native ETH balance of a wallet or address on Base mainnet. Costs $0.005 USDC via x402.

  • base_erc20_balance

    Check a USDC or other ERC-20 token balance for a wallet on Base mainnet. Costs $0.005 USDC via x402.

  • base_nonce

    Get the current transaction nonce for a Base wallet before broadcasting a transaction. Costs $0.005 USDC via x402.

  • base_contract_code

    Check whether an address is a smart contract or EOA on Base mainnet by reading deployed bytecode. Costs $0.005 USDC via x402.

  • base_allowance

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

  • base_receipt

    Check whether a Base transaction succeeded, get its receipt, and count current confirmations. Costs $0.005 USDC via x402.

  • base_logs

    Query smart-contract event logs on Base by contract address, topics and bounded block range. Costs $0.005 USDC via x402.

  • base_eth_call

    Make a read-only smart-contract call on Base with eth_call without sending a transaction. Costs $0.005 USDC via x402.

  • base_transaction

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

  • base_block

    Get a Base block by number or tag with its header and transaction hashes. Costs $0.005 USDC via x402.

  • base_transaction_context

    Use when an agent needs one-call Base transaction context to verify a payment, debug a failed transaction, or confirm settlement. Costs $0.008 USDC via x402.

  • base_wallet_snapshot

    Take a Base wallet snapshot in one call: native ETH plus up to 10 supplied ERC-20 token balances. Costs $0.005 USDC via x402.

  • base_total_supply

    Get total supply for an ERC-20 token or ERC-721 NFT contract on Base. Costs $0.005 USDC via x402.

  • base_contract_info

    Inspect a Base smart contract and get token metadata, bytecode size and common interface detection in one call. Costs $0.005 USDC via x402.

  • base_erc20_transfers

    Find recent ERC-20 transfers on Base, optionally filtered to transfers from or to a specific wallet. Costs $0.005 USDC via x402.