Skip to main content
Glama
Baneado98

chain-data

by Baneado98

chain-data 🔗

Live multi-chain on-chain data, aggregated in ONE call — built for AI agents.

Give it a wallet and get its whole portfolio across Ethereum, Base, Polygon, Arbitrum and Optimism — native balances + top ERC-20 holdings, each priced in USD — in a single response. Plus token/contract facts, live gas and prices. All read straight from public RPCs and DefiLlama; no API key, no node.

Available as an MCP server (free) and a pay-per-call x402 API ($0.10 USDC on Base, no sign-up).


Why

An agent that wants a wallet's multi-chain net worth would otherwise have to: fan out N JSON-RPC calls to N chains → ABI-encode balanceOf/decimals/symbol → batch them → join against a price feed → repeat per chain. chain-data does all of that server-side and returns one fresh JSON object per call. That convenience on live data is the point — agents pay for the aggregation, not for a static answer they could cache.

Related MCP server: Datai MCP Server

Tools (MCP)

Tool

What it does

wallet_portfolio

Native + ERC-20 balances with live USD value, across 5 chains, in one call

token_info

symbol, name, decimals, total supply, is-contract, EIP-1967 proxy + implementation, price

gas_prices

base fee / gas price / priority fee / latest block, per chain or all at once

token_price

live USD price by chain+address, CoinGecko id, or symbol

Use as an MCP server (free)

{
  "mcpServers": {
    "chain-data": { "command": "npx", "args": ["-y", "chain-data-mcp"] }
  }
}

Or over HTTP: POST https://chain-data.vercel.app/mcp.

Free HTTP API

GET /portfolio?wallet=0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045
GET /token?chain=base&address=0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
GET /gas
GET /price?chain=ethereum&address=0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2

Rate-limited to 30 requests/hour/IP.

Pay-per-call (x402)

The /pro/* routes are gated by x402. Your agent pays $0.10 USDC per call automatically — no sign-up, no API key. Settles on-chain (Base) to the operator wallet. No rate limit.

GET /pro/portfolio?wallet=0x...
GET /pro/token?chain=base&address=0x...
GET /pro/gas
GET /pro/price?chain=ethereum&address=0x...

Supported chains

Ethereum · Base · Polygon · Arbitrum One · OP Mainnet — all via public, key-free RPCs with automatic failover.

Data sources

  • Balances / token info / gas: public JSON-RPC endpoints (mainnet.base.org, eth.llamarpc.com, polygon-rpc.com, …).

  • Prices: DefiLlama coins API (free) / CoinGecko ids.

No credentials are stored or required. The server holds no private keypayTo is a public receiving address only.

Local dev

npm install
npm run build
npm run test:engine     # live smoke test against real RPCs
npm run dev:http        # local HTTP server on :8080 (payments off unless X402_* set)
npm run dev:mcp         # local stdio MCP server

License

MIT

Install Server
A
license - permissive license
A
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    -
    quality
    D
    maintenance
    Enables AI agents to interact with any EVM-compatible blockchain through natural language, supporting token swaps, cross-chain bridges, staking, lending, governance, gas optimization, and portfolio tracking across networks like Ethereum, BSC, Polygon, Arbitrum, and more.
    Last updated
    27
    39
    Apache 2.0
  • A
    license
    A
    quality
    D
    maintenance
    Enables AI agents to retrieve real-time data on wallet DeFi positions, token balances, and NFT holdings across multiple blockchains. It supports hundreds of protocols and provides specialized tools for chain-specific or protocol-specific portfolio analysis.
    Last updated
    8
    39
    3
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Description: EVM blockchain intelligence toolkit for AI agents. 20 tools for token prices, gas comparison, swap quotes, yield rates, honeypot detection, and transaction simulation across 5 EVM chains. Zero config, no API keys required.
    Last updated
    26
    39
    3
    MIT
  • A
    license
    -
    quality
    D
    maintenance
    Enables AI agents to check balances and send transactions across multiple blockchains with automatic spending limit protection and policy enforcement.
    Last updated
    MIT

View all related MCP servers

Related MCP Connectors

  • Read-only on-chain intelligence for AI agents on Base: balances, tokens, gas, tx status.

  • Read-only on-chain intel for AI agents on Base: balances, tokens, gas, tx status. No API keys.

  • Provide AI agents and automation tools with contextual access to blockchain data including balance…

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Baneado98/chain-data'

If you have feedback or need assistance with the MCP directory API, please join our Discord server