base-onchain-tools
Server Details
Base mainnet analysis: contract audits, transfer simulation, token pricing. Paid via x402.
- Status
- Healthy
- Uptime
- 100.0% over the last 24 hours
- Last Tested
- Transport
- Streamable HTTP · MCP 2025-06-18
- URL
- ChatGPT
- –
- Claude
- –
TDQS
Scored across 12 tools
Each tool targets a clearly distinct concern: address pre-flight, allowances, deep contract audits, contract classification, gas, balances, pricing, transfer simulation, token metadata, and transaction verification. The few overlapping concepts like price vs token_price are cleanly separated by Chainlink vs Uniswap sourcing and supported assets.
All tools share the base_ prefix and use lowercase snake_case, giving the set a uniform identity. Some names are bare nouns (gas, price, token) while others are verb_noun pairs (simulate_transfer, address_check), so the pattern is readable but not perfectly consistent.
Twelve tools is a well-scoped size for a Base chain analysis toolkit. Each tool covers a distinct read-only or simulated operation without redundancy, and the count feels appropriate for the breadth of onchain data the server exposes.
The toolkit covers the full pre-transaction and post-transaction analysis lifecycle: address vetting, balances, allowances, token metadata, pricing, gas estimation, transfer simulation, transaction verification, and contract auditing. For a read-only/analysis server, there are no obvious dead ends or critical missing operations.
Available Tools
12 toolsbase_address_checkAInspect
Pre-flight check on a Base mainnet address before you pay it: contract vs EOA, ETH and USDC balances, outbound tx count, and warnings about whether funds sent there can actually be moved. Costs $0.002 per call, paid in USDC over x402 on Base. Calling this tool returns the payment requirements; failed calls are never billed.
Inputs: address (required).
base_allowanceAInspect
ERC-20 allowance on Base: how much a spender may pull from an owner, whether it is an unlimited approval, the owner balance, and how much is actually spendable right now. Defaults to USDC. Costs $0.001 per call, paid in USDC over x402 on Base. Calling this tool returns the payment requirements; failed calls are never billed.
Inputs: owner (required), spender (required), token.
base_contract_auditAInspect
What an UNVERIFIED Base contract can actually do — the case where block explorers show you nothing. Disassembles the deployed bytecode with a PUSH-aware opcode walk (a naive byte scan reports SELFDESTRUCT on contracts that cannot self-destruct), strips the Solidity metadata trailer, recovers the function selectors from the dispatch table and names them against a keccak-derived signature database, then reports admin powers (mint, blacklist, freeze, pause, trading switches, adjustable fees, upgrade hooks), dangerous opcodes (DELEGATECALL, SELFDESTRUCT, CALLCODE, CREATE2), which token standards it really implements, and whether it supports EIP-3009 so it can be paid gaslessly over x402 at all. Proxies are detected and followed, because a forwarder's own bytecode tells you nothing. Costs $0.04 per call, paid in USDC over x402 on Base. Calling this tool returns the payment requirements; failed calls are never billed.
Inputs: address (required), follow_proxy.
base_contract_typeAInspect
Identify what a Base contract actually is: ERC-20, ERC-721 or ERC-1155 via ERC-165, plus proxy detection across EIP-1967, EIP-1822 and the legacy ZeppelinOS slot with the current implementation address. Costs $0.002 per call, paid in USDC over x402 on Base. Calling this tool returns the payment requirements; failed calls are never billed.
Inputs: address (required).
base_demoAInspect
Free. Returns a complete, live contract audit of Base USDC — the same output shape as the paid audit tool, with the address fixed. Call this first to see what the paid tools return before spending anything.
Inputs: no named parameters.
base_gasAInspect
Live Base mainnet gas oracle: current gas price, base fee, recent base fee trend, priority fee percentiles, and the estimated cost of a plain ERC-20 transfer in ETH. Costs $0.001 per call, paid in USDC over x402 on Base. Calling this tool returns the payment requirements; failed calls are never billed.
Inputs: no named parameters.
base_portfolioAInspect
ETH and USDC balances for up to 20 Base addresses in a single call, with per-address funded flags and totals. One request instead of forty RPC round trips. Costs $0.003 per call, paid in USDC over x402 on Base. Calling this tool returns the payment requirements; failed calls are never billed.
Inputs: addresses (required).
base_priceAInspect
ETH/USD and BTC/USD read live from Chainlink's on-chain price feeds on Base, with the feed's own description, decimals, update timestamp, age in seconds and a staleness flag. Costs $0.001 per call, paid in USDC over x402 on Base. Calling this tool returns the payment requirements; failed calls are never billed.
Inputs: no named parameters.
base_simulate_transferAInspect
Will this token payment actually go through, and if not exactly why. Simulates the transfer without spending gas, decodes the real revert reason (Error(string), Panic codes translated to English, or a custom error selector), and separately reports balance and allowance blockers. Understands that a caller with no ETH is fine for gasless EIP-3009 or a sponsored relayer. Costs $0.008 per call, paid in USDC over x402 on Base. Calling this tool returns the payment requirements; failed calls are never billed.
Inputs: to (required), from (required), amount (required), token, +1 more.
base_tokenAInspect
ERC-20 token metadata on Base mainnet: name, symbol, decimals and total supply, read straight from the contract. Costs $0.001 per call, paid in USDC over x402 on Base. Calling this tool returns the payment requirements; failed calls are never billed.
Inputs: address (required).
base_token_priceAInspect
USD price for ANY token on Base, not just the two assets Chainlink covers. Discovers every Uniswap V3 pool against WETH and USDC across all four fee tiers, reads sqrtPriceX96 and does the Q96 fixed-point maths, prices off the deepest pool, ignores deployed-but-never-traded pools, and cross-checks the remaining ones to flag thin or manipulated liquidity. Costs $0.006 per call, paid in USDC over x402 on Base. Calling this tool returns the payment requirements; failed calls are never billed.
Inputs: address (required).
base_tx_checkAInspect
Confirm a Base mainnet transaction: success or reverted, block, confirmations and finality, gas used, and every ERC-20 transfer it moved with USDC amounts decoded. Costs $0.002 per call, paid in USDC over x402 on Base. Calling this tool returns the payment requirements; failed calls are never billed.
Inputs: hash (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Base token honeypot/tax/liquidity check via buy-sell simulation. Paid per call: 0.02 USDC (x402).
Honeypot & rug-pull detection, token risk feed, wallet risk, approvals audit. x402 USDC on Base.
On-chain DeFi smart contract auditor, arbitrage scanner, and agent tollbooth via x402 on Base.
Investigate Base transactions, check wallet funds and contracts. Read-only MCP. USDC via x402.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenancePay-per-use AI security and research tools for autonomous agents on Base, enabling honeypot detection, risk assessment, wallet analysis, and yield optimization via the x402 protocol.1-
- AlicenseNot gradedqualityCmaintenancePay-per-call x402 crypto research and Base address/approval risk checks, capped wallet.MIT
- AlicenseAqualityBmaintenanceEnables AI assistants and CLI users to run automated bytecode security audits of EVM smart contracts on Base Mainnet, detecting risky opcodes and interface signatures, scoring risk, and unlocking verified results via x402 USDC micropayments.3MIT

AgentRiskofficial
FlicenseNot gradedqualityCmaintenancePre-Trade Security & Risk Analysis Layer for Autonomous DeFi Agents on Base using x402 protocol.-
Glama MCP Gateway
Add one secure layer between your agents and this server.