Base Intel MCP
Read-only on-chain intelligence for AI agents on Base: balances, tokens, gas, tx status.
我该使用它吗
质量与安全性
发现(2)
- HIGH
- MEDIUM在 token_balance 中
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"base-onchain-wallet-tokens": {
"url": "https://base.datakoot.com/mcp"
}
}
}远程端点
https://base.datakoot.com/mcpstreamable-http它能做什么
工具清单
工具(5)
🟢address_report(address)
One-call snapshot of any Base address: ETH balance, USDC balance, transaction count, and whether it is a smart contract or a regular wallet. Use it to sanity-check a counterparty or a payment address before sending funds. Input: a 0x address.
输入模式
{
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "0x address on Base"
}
},
"required": [
"address"
]
}输出模式
{
"type": "object",
"properties": {
"address": {},
"network": {},
"eth_balance": {},
"usdc_balance": {},
"tx_count": {},
"is_contract": {}
},
"additionalProperties": true
}🟢token_info(token)
ERC-20 token metadata on Base, read on-chain: name, symbol, decimals, and total supply, plus whether the address really behaves like an ERC-20. Use it to verify a token contract before trusting or displaying it. Input: the token contract address (0x + 40 hex).
输入模式
{
"type": "object",
"properties": {
"token": {
"type": "string",
"description": "ERC-20 contract address on Base: 0x followed by 40 hex characters."
}
},
"required": [
"token"
]
}输出模式
{
"type": "object",
"properties": {
"token": {},
"network": {},
"is_erc20": {},
"name": {},
"symbol": {},
"decimals": {},
"total_supply": {}
},
"additionalProperties": true
}🟢token_balance(token, address)
How much of an ERC-20 token a wallet holds on Base, returned both human-formatted (using the token's decimals) and raw. Pass the token contract address and the holder address, both 0x + 40 hex. Example: USDC 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913.
输入模式
{
"type": "object",
"properties": {
"token": {
"type": "string",
"description": "ERC-20 contract address on Base: 0x followed by 40 hex characters."
},
"address": {
"type": "string",
"description": "Wallet address whose balance to read: 0x followed by 40 hex characters."
}
},
"required": [
"token",
"address"
]
}输出模式
{
"type": "object",
"properties": {
"token": {},
"holder": {},
"network": {},
"symbol": {},
"balance": {},
"balance_raw": {},
"decimals": {}
},
"additionalProperties": true
}🟢gas_now
Current gas price on the Base network (Coinbase's Ethereum L2), in gwei and wei, read live from a Base RPC node. Use before sending a Base transaction or estimating its cost. Takes no input.
输入模式
{
"type": "object",
"properties": {}
}输出模式
{
"type": "object",
"properties": {
"network": {},
"gas_price_wei": {},
"gas_price_gwei": {}
},
"additionalProperties": true
}🟢tx_status(hash)
Look up a Base transaction by hash and report whether it is pending, succeeded, or failed, with from, to, value, block number, and gas used. Use it to confirm a payment or contract call landed. Input: the transaction hash (0x + 64 hex; the 0x is optional).
输入模式
{
"type": "object",
"properties": {
"hash": {
"type": "string",
"description": "Transaction hash, 0x followed by 64 hex characters (the 0x prefix is optional)."
}
},
"required": [
"hash"
]
}输出模式
{
"type": "object",
"properties": {
"hash": {},
"found": {},
"network": {},
"from": {},
"to": {},
"value_eth": {},
"block_number": {},
"status": {},
"gas_used": {}
},
"additionalProperties": true
}社区
证据