BaseLens
Base on-chain data for agents: balances, prices, transfers, Basenames, contracts. x402 pay-per-call.
Sollte ich dies verwenden
Qualität und Sicherheit
Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.
Kontextkosten
Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.
Installieren
Installation mit einem Klick
Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:
{
"mcpServers": {
"baselens": {
"url": "https://baselens-api.vercel.app/mcp"
}
}
}Remote-Endpunkte
https://baselens-api.vercel.app/mcpstreamable-httpWas es kann
Tool-Inventar
Tools (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.
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"type": "object",
"properties": {},
"$schema": "http://json-schema.org/draft-07/schema#"
}Community
Nachweis