Nodeflare-mcp
Query EVM blockchain data and make JSON-RPC calls across the chains exposed by the server.
List supported chains with chain IDs and endpoint URLs (schema exposes 23 chains, though README says 18).
Get the latest block number, blocks by number/tag, transactions, and transaction receipts.
Fetch native-token balances, plus ERC-20 balances and token metadata (name, symbol, decimals, supply).
Execute read-only contract calls (
eth_call) and fetch contract event logs (heavy methods may requireNODEFLARE_API_KEYor an x402 wallet).Get gas pricing and make arbitrary JSON-RPC calls on any supported chain.
Provides blockchain JSON-RPC access to BNB Chain via NodeFlare, enabling AI agents to query block data, balances, transactions, and perform contract calls.
Provides blockchain JSON-RPC access to Ethereum via NodeFlare, enabling AI agents to query block data, balances, transactions, and perform contract calls.
Provides blockchain JSON-RPC access to Optimism via NodeFlare, enabling AI agents to query block data, balances, transactions, and perform contract calls.
Provides blockchain JSON-RPC access to Polygon via NodeFlare, enabling AI agents to query block data, balances, transactions, and perform contract calls.
Provides blockchain JSON-RPC access to Robinhood Chain via NodeFlare, enabling AI agents to query block data, balances, transactions, and perform contract calls.
NodeFlare MCP Server
Blockchain JSON-RPC for AI agents on 18 EVM chains — Ethereum, Base, BNB Chain, Arbitrum, Optimism, Avalanche, HyperEVM, Polygon, and young chains like Robinhood Chain, Arc, Ink, Zircuit, BOB and Soneium. NodeFlare operates primary nodes; some chains have third-party fallback providers. Method support and historical coverage vary by chain.
Quick start
{
"mcpServers": {
"nodeflare": {
"command": "npx",
"args": ["-y", "nodeflare-mcp"]
}
}
}That's it — no API key required for standard reads (block numbers, balances, transactions, eth_call).
Every tool's chain argument accepts a slug (eth, base, arb), a name (ethereum, arbitrum, bsc), or a numeric chain ID (1, 8453) — so agents don't have to know NodeFlare's internal slugs.
Related MCP server: boo-x402-mcp
Install as a Claude Code plugin
This repo doubles as a Claude Code plugin marketplace. Installing the plugin wires up the MCP server and a set of slash-command recipes in one step:
claude plugin marketplace add Nodeflare-app/nodeflare-mcp
claude plugin install nodeflareThen use the recipes below (/nodeflare:balance, /nodeflare:token, …). To unlock heavy methods, export NODEFLARE_API_KEY in your shell before starting Claude Code (free key, 3M CU/month).
Recipes
Ready-made slash commands bundled with the plugin:
Recipe | What it does |
| List supported chains, IDs and endpoint URLs |
| Native + ERC-20 balances, one chain or across the majors |
| ERC-20 metadata (name/symbol/decimals/supply) + optional holder balance |
| Fetch a transaction + receipt and explain what it did |
| Fetch and summarise a contract's recent event logs |
| Current gas price on a chain, or a cheapest-first comparison |
Access tiers
The server picks its access tier from the environment:
Env var | Tier |
(none) | Free public endpoints — standard reads, one request per 10 seconds per IP |
| Free/paid key — supported heavy methods; free tier: 3,000,000 CU/month at 10 requests/second (get one) |
| Pay per call with x402 — heavy methods ( |
With an x402 wallet, a blocked heavy method is retried automatically as a paid call — the tool result includes "_x402": "settled via x402" when a payment settled on-chain.
{
"mcpServers": {
"nodeflare": {
"command": "npx",
"args": ["-y", "nodeflare-mcp"],
"env": { "X402_PRIVATE_KEY": "0x…" }
}
}
}Use a dedicated agent wallet holding a small USDC balance — never your main wallet.
Tools
Tool | Description |
| The 18 supported chains with chain IDs and endpoints |
| Latest block number (decimal + hex) |
| Native-token balance — raw wei + human-readable amount in the chain's currency |
| Transaction receipt by hash |
| Read-only contract call |
| Contract event logs (heavy — key or x402 wallet) |
| Any JSON-RPC method on any supported chain |
| Transaction by hash (from, to, value, input) |
| Block by number/tag, optional full transactions |
| Current gas price + EIP-1559 priority fee |
| ERC-20 balance, raw + human-readable |
| ERC-20 name, symbol, decimals, total supply |
| ENS name → address (forward) or address → primary ENS name (reverse) |
| Current USD price of an ERC-20 (DefiLlama, keyless) — price, symbol, confidence |
| Gas price across chains in one call, cheapest first, so an agent picks where to transact |
| Native + ERC-20 balances for one address across many of the 18 chains in one call (incl. young chains); pay-per-call with an x402 wallet |
| ERC-20 approvals a wallet has granted across chains, with revoked ones dropped and unlimited approvals flagged (heavy — key or x402) |
| Full "know this wallet" report: balances + USD total + top holdings + active approvals, across chains (approvals half is heavy) |
| Risk-check an ERC-20 before trading: ownership, proxy detection, holder concentration, honeypot simulation → risk score (deep checks heavy) |
| Tx pre-flight: will it revert, gas used, and which tokens/ETH move (asset-change tracing is heavy) |
| Onchain Answer Engine — plain-English question about a wallet/token → a cited verdict in one call (key or x402; no free tier) |
Address arguments (get_balance, get_token_balance, eth_call) also accept ENS names — pass vitalik.eth and it's resolved to an address automatically.
get_multichain_balances can also auto-discover the tokens an address holds (discover: true, x402 wallet required). Discovered tokens are USD-priced via DefiLlama and, on price-covered chains, filtered by value: pass minUsd (default 0.01) to set the worthless-token cutoff, includeSpam: true to keep unpriced tokens, or includeDust: true to keep sub-1e-9 balances.
Prompts (any MCP client)
The server also exposes the recipes as MCP prompts, so guided workflows show up in any MCP client (Cursor, Windsurf, …), not just the Claude Code plugin: chains, balance, token, tx, logs, gas.
Links
NodeFlare — free API key, 3M CU/month
x402 pay-per-request — pricing and how it works
MIT
Available Tools
12 toolseth_callA
Execute a read-only contract call (eth_call) and return the raw result.
Inputs: to (required), data (required), chain (required), from.
get_balanceA
Get the native-token balance of an address (in wei, hex).
Inputs: chain (required), address (required).
get_blockA
Get a block by number or tag (e.g. 'latest', 'finalized', or a hex number). Set fullTransactions to include full tx objects instead of hashes.
Inputs: chain (required), block, fullTransactions.
get_block_numberA
Get the latest block number on a chain.
Inputs: chain (required).
get_gas_priceA
Get current gas pricing on a chain: base gas price and the suggested priority fee (EIP-1559), both in wei (hex).
Inputs: chain (required).
get_logsA
Fetch contract event logs (eth_getLogs). Heavy method: needs NODEFLARE_API_KEY or an x402 wallet (X402_PRIVATE_KEY) — costs ~$0.001 via x402.
Inputs: chain (required), toBlock (required), fromBlock (required), topics, +1 more.
get_token_balanceA
Get an ERC-20 token balance for an address, returned both raw and human-readable (uses the token's decimals and symbol).
Inputs: chain (required), token (required), address (required).
get_token_metadataA
Get ERC-20 token metadata: name, symbol, decimals and total supply (raw + human-readable).
Inputs: chain (required), token (required).
get_transactionB
Get a transaction by its hash (from, to, value, input, block, gas).
Inputs: hash (required), chain (required).
get_transaction_receiptA
Get the receipt of a transaction by hash (status, logs, gas used).
Inputs: hash (required), chain (required).
list_chainsA
List the 23 EVM chains NodeFlare serves, with chain IDs and endpoint URLs.
Inputs: no named parameters.
rpc_callA
Make any JSON-RPC call on any supported chain. Heavy methods (eth_getLogs, trace_*, debug_*) need NODEFLARE_API_KEY or an x402 wallet.
Inputs: chain (required), method (required), params.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 12 tools
Each tool targets a distinct operation: eth_call for contract calls, get_balance for native balance, get_block for blocks, etc. No overlaps; even eth_call and rpc_call are differentiated by specificity.
All tools follow a consistent verb_noun pattern in snake_case (e.g., get_balance, get_block, list_chains). Even eth_call and rpc_call adhere to this pattern with specific verbs.
12 tools is well-scoped for an EVM blockchain query server, covering essential read operations without bloat. The count feels complete yet manageable.
Covers major query operations (balances, blocks, transactions, logs, gas, metadata, chain list, generic RPC). Missing estimateGas and storage queries, but for a read-only interface, coverage is strong.
Maintenance
Related MCP Connectors
RPC gateway for agents: six mainnets, measured failover, a key without signup, pay per call in USDC.
144 pay-per-call crypto & AI APIs over x402 (USDC on Base). LLM chat $0.001. Free first call.
Verified EVM, Aptos and finance tools for AI agents; gas for 14 chains. Pay per call (x402).
On-chain RPC data for AI agents: block, gas, balance, tokens, receipts, decode. x402 USDC.
Related MCP Servers
AlicenseNot gradedqualityDmaintenanceBlockchain RPC via DRPC. Exposes eth_call, eth_getBalance, gas estimation, and other JSON-RPC methods as MCP tools across 100+ blockchains23MIT- AlicenseAqualityDmaintenanceEnables AI agents to access crypto/web3 data across 5 chains with pay-per-call billing in USDC via x402, no API key required, and built-in spend caps.3654 npmMIT
- AlicenseNot gradedqualityCmaintenanceMulti-chain x402 payment gateway enabling AI agents to pay per HTTP call with real on-chain settlement across 5 mainnet chains, providing 18 paid endpoints for utilities, data, and security.MIT
- AlicenseNot gradedqualityDmaintenanceEnables agents to sell or access Ethereum JSON-RPC requests over x402 with per-call USDC payments on Base, no accounts or API keys, including per-method pricing, policy enforcement, and privacy protections.1MIT