Skip to main content
Glama
README.md
# base-wallet-toolkit-mcp

An MCP server for AI agents to interact with Base chain wallets. Check balances, estimate gas, inspect tokens, verify allowances, and more.

## Install

```bash
npx -y base-wallet-toolkit-mcp
```

## Tools

| Tool | Description |
|------|-------------|
| `check_balances` | Get ETH + ERC-20 token balances for any wallet |
| `get_gas_estimate` | Estimate gas cost for a transaction on Base |
| `get_token_info` | Get ERC-20 token details (name, symbol, supply, decimals) |
| `check_allowance` | Check token approval/allowance status |
| `get_base_gas_price` | Get current Base gas price and typical tx costs |
| `resolve_address` | Resolve ENS name to address (or reverse lookup) |
| `get_tx_status` | Check transaction status and details by hash |

## Setup

Add to your MCP client config (Claude Code, Cursor, etc.):

```json
{
  "mcpServers": {
    "base-wallet-toolkit": {
      "command": "npx",
      "args": ["-y", "base-wallet-toolkit-mcp"]
    }
  }
}
```

No API keys required. All tools are read-only and use public Base RPC.

## Use Cases

- **Portfolio tracking**: Check ETH and token balances across wallets
- **Pre-trade checks**: Verify allowances before swaps, estimate gas costs
- **Token research**: Look up any ERC-20 token details on Base
- **Transaction monitoring**: Check if a tx confirmed, reverted, or is pending
- **ENS resolution**: Convert between ENS names and addresses
- **Gas optimization**: Monitor Base gas prices to time transactions

## Chain

- **Network**: Base mainnet (chainId 8453)
- **RPC**: Uses public Base RPC by default, configurable via `RPC_URL` env var
- **ENS**: Resolves via Ethereum mainnet (configurable via `ETH_RPC_URL`)

## License

MIT

TDQS

A3.7/5.0

Scored across 7 tools

Disambiguation4/5

Most tools have clearly distinct purposes—resolving addresses, checking transaction status, gas estimation, token info, allowance checks, gas price, and balances all target different operations. However, get_gas_estimate and get_base_gas_price both relate to gas and could cause minor confusion, though one is about per-transaction estimation and the other is about current network conditions.

Naming Consistency4/5

Tool names largely follow a verb_noun pattern (resolve_address, get_tx_status, get_gas_estimate, get_token_info, check_allowance, get_base_gas_price, check_balances). The pattern is mostly consistent, though 'check_allowance' and 'check_balances' use 'check' while others use 'get'/'resolve', a minor deviation in verb usage.

Tool Count5/5

Seven tools is well within the ideal 3-15 range for a wallet/chain-inspection toolkit. Each tool covers a distinct, useful capability for interacting with the Base chain, and none feel redundant or superfluous.

Completeness3/5

The toolkit covers read-only inspection well (balances, token info, allowance, gas price, tx status, ENS resolution), but lacks any write operations like sending transactions, building/signing transactions, or executing swaps. For a wallet toolkit this is a notable gap—agents could inspect state but cannot act on it.

Maintenance

ActivityMaintained
ResponsivenessNo issues