BaseLens
Base on-chain data for agents: balances, prices, transfers, Basenames, contracts. x402 pay-per-call.
¿Debería usar esto?
Calidad y seguridad
Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.
Costo de contexto
Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.
Instalar
Instalación con un clic
Agrega esto a tu archivo `claude_desktop_config.json`:
{
"mcpServers": {
"baselens": {
"url": "https://baselens-api.vercel.app/mcp"
}
}
}Puntos de conexión remotos
https://baselens-api.vercel.app/mcpstreamable-httpQué puede hacer
Inventario de herramientas
Herramientas (11)
🟢base_address(address)
Base (chain 8453) address snapshot: EOA vs contract vs EIP-7702, ETH balance, nonce, code size and native USDC balance, at the latest block. Costs $0.002 USDC on Base via x402.
Esquema de entrada
{
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "0x-prefixed Base address"
}
},
"required": [
"address"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢base_erc20_balance(token, address)
ERC-20 balance of any address for any token on Base, with symbol and decimals already applied (raw and human-readable). Costs $0.002 USDC on Base via x402.
Esquema de entrada
{
"type": "object",
"properties": {
"token": {
"type": "string",
"description": "ERC-20 token contract on Base"
},
"address": {
"type": "string",
"description": "0x-prefixed Base address"
}
},
"required": [
"token",
"address"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢base_token(token)
Token facts on Base: name, symbol, decimals, total supply, contract code size, owner() and EIP-1967 proxy implementation, plus plain-language notes (upgradeable? owner renounced?). Read-only facts, not advice. Costs $0.003 USDC on Base via x402.
Esquema de entrada
{
"type": "object",
"properties": {
"token": {
"type": "string",
"description": "Token contract on Base"
}
},
"required": [
"token"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢base_tx(hash)
Human-readable summary of a Base transaction: status, block time, from/to, value, total fee (incl. L1 fee), and decoded ERC-20 Transfer events with token symbols and amounts. Handy to verify a payment landed. Costs $0.003 USDC on Base via x402.
Esquema de entrada
{
"type": "object",
"properties": {
"hash": {
"type": "string",
"description": "0x-prefixed transaction hash on Base"
}
},
"required": [
"hash"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢base_gas
Current Base gas: base fee, gas price, suggested EIP-1559 max fee and priority fee (gwei), block fullness, and cost of a plain ETH transfer. Costs $0.001 USDC on Base via x402.
Esquema de entrada
{
"type": "object",
"properties": {},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢base_name(name, address)
Resolve a Basename (name.base.eth) or ENS name to its Base/Ethereum address, or reverse-resolve an address to its primary ENS/Basename. Includes avatar record. Costs $0.001 USDC on Base via x402.
Esquema de entrada
{
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "ENS or Basename, e.g. jesse.base.eth or vitalik.eth"
},
"address": {
"type": "string",
"description": "Alternative: 0x address to reverse-resolve"
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢base_price(token)
On-chain USDC price of any Base ERC-20: executable Uniswap v3 quote for 1 whole token (direct USDC pool or via WETH, best fee tier). No third-party price API. Costs $0.003 USDC on Base via x402.
Esquema de entrada
{
"type": "object",
"properties": {
"token": {
"type": "string",
"description": "ERC-20 token contract on Base"
}
},
"required": [
"token"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢base_transfers(address, tokens, blocks, limit)
Recent ERC-20 transfers in and out of an address on Base for up to 5 tokens (default USDC), newest first, over the last ~10k blocks (max 30k). Check incoming payments or wallet activity. Costs $0.004 USDC on Base via x402.
Esquema de entrada
{
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "0x-prefixed Base address"
},
"tokens": {
"type": "string",
"description": "Optional comma-separated token contracts (max 5). Default USDC."
},
"blocks": {
"type": "string",
"description": "Lookback in blocks, 100–30000 (default 10000)"
},
"limit": {
"type": "string",
"description": "Max transfers to return, ≤200 (default 50)"
}
},
"required": [
"address"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢base_contract(address)
Contract check on Base: is it a contract, code size, owner(), proxy implementation, and whether the source (and implementation) is verified on Sourcify, plus plain-language notes. Not an audit. Costs $0.003 USDC on Base via x402.
Esquema de entrada
{
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "0x-prefixed Base address"
}
},
"required": [
"address"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢base_free_gas_sample
Free sample: latest Base block number and base fee (gwei). Use it to test the connection.
Esquema de entrada
{
"type": "object",
"properties": {},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢base_catalog
Lists every BaseLens tool with price, inputs and the equivalent x402 HTTP URL.
Esquema de entrada
{
"type": "object",
"properties": {},
"$schema": "http://json-schema.org/draft-07/schema#"
}Comunidad
Evidencia