# Nodeflare-app/nodeflare-mcp [Health: Active]

**Category:** 💰 Finance & Fintech  
**Repository:** https://github.com/Nodeflare-app/nodeflare-mcp  
**GitHub Stars:** 1  
**npm Downloads (last month):** 688  
**Views:** 6  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/nodeflare-app-nodeflare-mcp

## Description
Pay-per-request JSON-RPC on 23 EVM chains (Ethereum, Base, Arbitrum, plus young chains Robinhood Chain, Plasma, Ink, Zircuit) from independent bare-metal nodes. Free reads with no key; heavy methods (ethgetLogs, trace, debug) via a free API key or x402 USDC pay-per-call on Base/Polygon/Arbitrum. In the official MCP Registry. npx -y nodeflare-mcp

## Tools
Capabilities this server exposes over MCP:

- **list_chains** — List the supported EVM chains NodeFlare serves, with chain IDs and endpoint URLs.
- **get_block_number** — Get the latest block number on a chain (decimal and hex).
- **get_balance** — Get the native-token balance of an address — raw wei plus a human-readable amount in the chain's native currency. The address may be an ENS name (e.g. 'vitalik.eth').
- **get_transaction_receipt** — Get the receipt of a transaction by hash (status, logs, gas used).
- **eth_call** — Execute a read-only contract call (eth_call) and return the raw result.
- **get_logs** — Fetch contract event logs (eth_getLogs). Heavy method: needs NODEFLARE_API_KEY or an x402 wallet (X402_PRIVATE_KEY) — costs ~$0.001 via x402.
- **rpc_call** — Make any JSON-RPC call on any supported chain. Heavy methods (eth_getLogs, trace_*, debug_*) need NODEFLARE_API_KEY or an x402 wallet.
- **get_transaction** — Get a transaction by its hash (from, to, value, input, block, gas).
- **get_block** — 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.
- **get_gas_price** — Get current gas pricing on a chain: base gas price and the suggested priority fee (EIP-1559), both in wei (hex).
- **get_token_balance** — Get an ERC-20 token balance for an address, returned both raw and human-readable (uses the token's decimals and symbol).
- **get_token_metadata** — Get ERC-20 token metadata: name, symbol, decimals and total supply (raw + human-readable).
- **resolve_ens** — Resolve an ENS name to an address (forward), or a 0x-address to its primary ENS name (reverse). ENS is read from Ethereum mainnet.
- **get_multichain_balances** — Get native + ERC-20 token balances for one address across many of the supported EVM chains in a SINGLE call. With an x402 wallet (X402_PRIVATE_KEY) this is paid per request (~$0.0003/chain); otherwise it uses the free public tier.
- **get_token_allowances** — ERC-20 approvals a wallet has granted (what it approved and for how much) across many of the supported EVM chains in ONE call. Scans Approval logs, reads the live allowance, drops revoked ones, flags unlimited approvals. Heavy: needs NODEFLARE_API_KEY or X402_PRIVATE_KEY.
- **get_wallet_report** — The full agent-ready 'know this wallet' report in ONE call: native + ERC-20 balances (USD-priced), a rolled-up total + top holdings, AND the active token approvals (revoke risk) across many of the supported EVM chains. The approvals half is heavy: needs NODEFLARE_API_KEY or X402_PRIVATE_KEY (balances/USD come back either way).
- **check_token_safety** — Risk-check an ERC-20 before trading it: metadata, contract + ownership status, upgradeable-proxy detection, holder concentration, and a transfer/honeypot simulation → risk signals + a score. The deep checks (concentration, honeypot) are heavy: needs NODEFLARE_API_KEY or X402_PRIVATE_KEY. Method support and historical coverage vary by chain; risk signals are not a safety guarantee.
- **simulate_transaction** — Transaction pre-flight on one chain: will this tx revert (and why), how much gas, and which tokens/ETH move? The asset-change tracing is heavy: needs NODEFLARE_API_KEY or X402_PRIVATE_KEY (revert/gas come back either way). Built for agents checking a tx before broadcasting.
- **onchain_answer** — Onchain Answer Engine: ask a plain-English question about any wallet or token across the supported EVM chains and get back a CITED verdict in one call — 'is token 0x… on <chain> a scam?', 'what does wallet 0x… hold?'. NodeFlare plans the on-chain lookups, runs them on its own nodes, and synthesizes a sourced answer. Paid: needs NODEFLARE_API_KEY or X402_PRIVATE_KEY (no free anonymous tier — it runs on a GPU).
- **get_token_price** — Current USD price of an ERC-20 token from DefiLlama (free, keyless): price + symbol + confidence, or null for unlisted/thin-market tokens. Well-covered chains only (eth, base, bnb, arb, op, avax, polygon, sonic, unichain).
- **compare_gas** — Compare current gas price ACROSS chains in one call — gwei per chain, cheapest first, so an agent can pick where to transact. Defaults to the majors (eth, base, arb, op, bnb, polygon); pass chains to override.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "nodeflare-mcp": {
    "command": "npx",
    "args": ["-y","nodeflare-mcp"]
  }
}
```

## Documentation

## What Nodeflare-app/nodeflare-mcp does

Nodeflare-app/nodeflare-mcp gives MCP-compatible agents access to JSON-RPC data from 23 EVM chains. It covers common blockchain reads such as current block numbers, native and ERC-20 balances, transaction details, receipts, blocks, gas prices, and read-only contract calls. Address parameters can accept ENS names as well as hexadecimal addresses, with ENS resolution performed against Ethereum mainnet.

The higher-level tools combine several lookups into agent-oriented results. An agent can compare gas prices across chains, inspect balances across multiple networks, review active ERC-20 approvals, generate a wallet report with USD pricing and top holdings, assess token risk, or simulate a transaction before broadcasting it. The `onchain_answer` tool accepts a plain-English question and returns a cited result about a wallet or token.

## How it works

The server runs as an MCP process and forwards supported requests to NodeFlare endpoints operated on independent nodes, with third-party fallbacks for some networks. Chain arguments accept slugs such as `eth`, names such as `ethereum`, or numeric chain IDs. The `rpc_call` tool can send arbitrary JSON-RPC methods supported by a selected chain.

Unauthenticated access covers standard reads and uses public endpoints with a rate limit of one request every 10 seconds per IP. Setting `NODEFLARE_API_KEY` enables supported heavy methods under the key-based tier, which includes a free monthly allowance and higher request throughput. Alternatively, `X402_PRIVATE_KEY` enables per-request USDC settlement on Base, Polygon, or Arbitrum. Heavy calls can be retried through x402 automatically, and the result identifies a settled payment.

## Setup and configuration

A minimal MCP configuration starts the package through `npx`:

```json
{
  "mcpServers": {
    "nodeflare": {
      "command": "npx",
      "args": ["-y", "nodeflare-mcp"]
    }
  }
}
```

No key is needed for ordinary reads. For x402 access, add `X402_PRIVATE_KEY` to the server environment and fund the associated wallet with a small USDC balance. The project recommends using a separate agent wallet rather than a primary wallet. API-key users export `NODEFLARE_API_KEY` before starting the MCP process.

The repository also installs as a Claude Code plugin. The plugin registers the MCP server and adds slash-command recipes for chains, balances, tokens, transactions, logs, and gas comparisons. Those workflows are also exposed as MCP prompts for clients such as Cursor and Windsurf.

## Tools and capabilities

- Query blocks, transactions, receipts, gas prices, native balances, ERC-20 balances, metadata, allowances, and event logs.
- Execute read-only `eth_call` requests or arbitrary JSON-RPC methods on supported chains.
- Resolve ENS names and reverse-resolve addresses.
- Retrieve multichain balances, discover held tokens, and apply USD or dust filters.
- Produce wallet reports combining holdings, prices, totals, and approval risks.
- Check token ownership, proxy status, holder concentration, and transfer or honeypot behavior.
- Simulate transactions for reverts, gas use, and asset movements.
- Ask cited natural-language questions about wallets and tokens.
- Fetch token prices from DefiLlama and compare gas costs across chains.

## Limitations and notes

Method support and historical coverage vary by chain. Token prices are available only for the chains covered by the price source and may be null for unlisted or thinly traded tokens. Heavy operations, including logs, tracing, debugging, deep token checks, approval scans, and asset-change tracing, require an API key or x402 wallet. `onchain_answer` requires one of those paid access paths and has no anonymous tier. x402 requests incur per-call USDC charges, typically around $0.001 for heavy calls and about $0.0003 per chain for multichain balances.

_Full upstream README: https://allmcps.com/mcp/nodeflare-app-nodeflare-mcp/readme_

