Skip to main content
Glama

NodeFlare MCP Server

nodeflare-mcp 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 nodeflare

Then 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

/nodeflare:chains [filter]

List supported chains, IDs and endpoint URLs

/nodeflare:balance <address> [chain] [token…]

Native + ERC-20 balances, one chain or across the majors

/nodeflare:token <token> [chain] [holder]

ERC-20 metadata (name/symbol/decimals/supply) + optional holder balance

/nodeflare:tx <hash> [chain]

Fetch a transaction + receipt and explain what it did

/nodeflare:logs <contract> [chain] [from] [to]

Fetch and summarise a contract's recent event logs

/nodeflare:gas [chain | compare]

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

NODEFLARE_API_KEY

Free/paid key — supported heavy methods; free tier: 3,000,000 CU/month at 10 requests/second (get one)

X402_PRIVATE_KEY

Pay per call with x402 — heavy methods (eth_getLogs, trace_*, debug_*) are paid from this wallet in USDC on Base, Polygon or Arbitrum, ~$0.001/call. No account needed; gas is covered by the facilitator.

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

list_chains

The 18 supported chains with chain IDs and endpoints

get_block_number

Latest block number (decimal + hex)

get_balance

Native-token balance — raw wei + human-readable amount in the chain's currency

get_transaction_receipt

Transaction receipt by hash

eth_call

Read-only contract call

get_logs

Contract event logs (heavy — key or x402 wallet)

rpc_call

Any JSON-RPC method on any supported chain

get_transaction

Transaction by hash (from, to, value, input)

get_block

Block by number/tag, optional full transactions

get_gas_price

Current gas price + EIP-1559 priority fee

get_token_balance

ERC-20 balance, raw + human-readable

get_token_metadata

ERC-20 name, symbol, decimals, total supply

resolve_ens

ENS name → address (forward) or address → primary ENS name (reverse)

get_token_price

Current USD price of an ERC-20 (DefiLlama, keyless) — price, symbol, confidence

compare_gas

Gas price across chains in one call, cheapest first, so an agent picks where to transact

get_multichain_balances

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

get_token_allowances

ERC-20 approvals a wallet has granted across chains, with revoked ones dropped and unlimited approvals flagged (heavy — key or x402)

get_wallet_report

Full "know this wallet" report: balances + USD total + top holdings + active approvals, across chains (approvals half is heavy)

check_token_safety

Risk-check an ERC-20 before trading: ownership, proxy detection, holder concentration, honeypot simulation → risk score (deep checks heavy)

simulate_transaction

Tx pre-flight: will it revert, gas used, and which tokens/ETH move (asset-change tracing is heavy)

onchain_answer

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.

MIT

Available Tools

12 tools
eth_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

    A4/5.0

    Scored across 12 tools

    Disambiguation5/5

    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.

    Naming Consistency5/5

    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.

    Tool Count5/5

    12 tools is well-scoped for an EVM blockchain query server, covering essential read operations without bloat. The count feels complete yet manageable.

    Completeness4/5

    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

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Multi-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
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables 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.
      1
      MIT