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
}社群
證據