MCP Blockchain Fees logo

MCP Blockchain Fees

Get fee recommendations and transaction estimates across UTXO, EVM, XRP, Tezos, and Solana networks.

Install MCP Blockchain Fees

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "mcp-blockchain-fees": {
      "command": "npx",
      "args": [
        "-y",
        "@cryptoapis-io/mcp-blockchain-fees"
      ],
      "env": {
        "CRYPTOAPIS_API_KEY": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Claude Code command
claude mcp add --env CRYPTOAPIS_API_KEY=YOUR_VALUE_HERE --transport stdio mcp-blockchain-fees -- npx -y @cryptoapis-io/mcp-blockchain-fees

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

npx -y @cryptoapis-io/mcp-blockchain-fees

No response to initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

mcp-blockchain-fees connects MCP clients to Crypto APIs' Blockchain Fees product for network fee recommendations and transaction estimates. Its tools cover UTXO chains, EVM networks, XRP, Tezos, and Solana, including gas, compute-unit, and token-transfer estimates. Run it over stdio for local clients or HTTP for MCP-compatible applications and workflows. Reach for it when an agent needs current fee guidance before constructing or submitting blockchain transactions.

Use cases

  • Compare slow, standard, and fast fees before sending a UTXO transaction
  • Estimate EVM gas for native transfers, token transfers, and contract calls
  • Calculate Tezos fees for XTZ, FA1.2, and FA2 transfers
  • Estimate Solana compute units for transfers and program instructions
  • Provide network fee guidance in an agent-driven transaction workflow

Key features

  • UTXO fee recommendations and smart-fee estimation
  • EVM fee, EIP-1559, and gas estimation
  • XRP fee recommendations for mainnet and testnet
  • Tezos fee recommendations and transfer estimates
  • Solana priority fees and compute-unit estimates

Tools5

What MCP Blockchain Fees lets your agent do. Expand a tool for its parameters.

Self-reported~113 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

31/31 checks healthy over the last 117d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 12d ago via OSV.dev · @cryptoapis-io/mcp-blockchain-fees (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads704Package downloads in the last 30 days.
Last commit22d agoMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.
Tools exposed5Callable tools this server registers over MCP.

How MCP Blockchain Fees works

What mcp-blockchain-fees does

mcp-blockchain-fees exposes Crypto APIs' Blockchain Fees product through the Model Context Protocol. It gives agents access to fee recommendations and estimation operations across five blockchain families:

  • UTXO networks: Bitcoin, Bitcoin Cash, Litecoin, Dogecoin, Dash, and Zcash
  • EVM networks, including EIP-1559 fee data and gas estimates
  • XRP mainnet and testnet
  • Tezos mainnet and shadownet
  • Solana mainnet and devnet

The server is useful for applications that need to compare slow, standard, and fast fee targets, estimate the cost of a transfer, or determine execution requirements for token and contract operations. It provides estimates and recommendations rather than transaction signing or submission tools.

How it works

The server calls Crypto APIs on behalf of an MCP client. A Crypto APIs account and API key are required. With the default stdio transport, the key is supplied at startup through --api-key or CRYPTOAPIS_API_KEY.

HTTP transport listens on 127.0.0.1 by default and serves MCP at /mcp. The API key can be fixed at startup with --api-key, or omitted so each request supplies its own x-api-key header. This per-request mode can support multiple callers using their own Crypto APIs credentials.

For remote HTTP access, bind with --host 0.0.0.0 and protect the service. A bearer token can be configured with --auth-token or, preferably, the MCP_AUTH_TOKEN environment variable. --allowed-hosts limits accepted Host headers when using a non-loopback bind. Stdio mode always requires an API key at startup.

Setup and configuration

Install the package with npm:

Terminal
npm install @cryptoapis-io/mcp-blockchain-fees

Node.js 18 or newer is required. Start a local stdio server with:

Terminal
npx @cryptoapis-io/mcp-blockchain-fees --api-key YOUR_API_KEY

The CLI defaults to stdio transport. For HTTP, specify the transport and optional port:

Terminal
npx @cryptoapis-io/mcp-blockchain-fees --transport http --port 3000 --api-key YOUR_API_KEY

The main options are --transport, --host, --port, --path, --auth-token, --allowed-hosts, and --stateless. The HTTP port defaults to 3000, and the MCP path defaults to /mcp.

Claude Desktop and Cursor can launch the package with npx and pass CRYPTOAPIS_API_KEY in their MCP configuration. An n8n workflow can connect an MCP Client Tool to http://localhost:3000/mcp after starting HTTP mode. The official remote Crypto APIs MCP endpoint is also available at https://ai.cryptoapis.io/mcp; it accepts the API key through the x-api-key header and does not require local installation.

Tools and capabilities

blockchain_fees_utxo provides fee tiers and smart-fee estimates for a target confirmation time on supported UTXO chains.

blockchain_fees_evm returns standard fee recommendations, EIP-1559 base and priority fee data, and gas estimates for native coin transfers, token transfers, and contract interactions.

blockchain_fees_xrp returns fee recommendations for XRP mainnet and testnet.

blockchain_fees_tezos provides minimal fee and cost rates from the mempool, plus estimates for native XTZ, FA1.2, and FA2 transfers.

blockchain_fees_solana returns priority fee recommendations and compute-unit estimates for SOL transfers, SPL token transfers, and arbitrary program instruction calls.

Limitations and notes

A valid Crypto APIs key should be configured before making requests. Invalid or missing credentials may result in an IP ban from the Crypto APIs ecosystem. HTTP deployments exposed beyond localhost should use an authentication token or per-request API keys, and should configure an allowed-host list where appropriate. Fee and execution estimates depend on the selected network and operation parameters.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about MCP Blockchain Fees

mcp-blockchain-fees is an MCP server that connects AI clients to Crypto APIs' Blockchain Fees product. Its main tools provide fee recommendations and transaction estimates for UTXO, EVM, XRP, Tezos, and Solana networks, including gas, compute-unit, smart-fee, token-transfer, and contract-interaction estimates.

Install it with `npm install @cryptoapis-io/mcp-blockchain-fees`, then provide a Crypto APIs key when starting it. Node.js 18 or newer is required. You can also run it directly with `npx @cryptoapis-io/mcp-blockchain-fees --api-key YOUR_API_KEY`.

Add an MCP server entry that runs `npx -y @cryptoapis-io/mcp-blockchain-fees` and sets `CRYPTOAPIS_API_KEY` in the entry's environment. The package includes a Claude Desktop configuration example using the stdio transport.

Yes, mcp-blockchain-fees works with Cursor through its MCP configuration. Add a server entry that runs the package with `npx` and provide `CRYPTOAPIS_API_KEY` in the environment, either in the project or global Cursor configuration.

Run `npx @cryptoapis-io/mcp-blockchain-fees --transport http --port 3000 --api-key YOUR_API_KEY`. The server listens on localhost by default and exposes MCP at `/mcp`; remote access requires an explicit host binding and suitable authentication or per-request API keys.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMCP Blockchain Fees AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/mcp-blockchain-fees?style=directory)](https://allmcps.com/mcp/mcp-blockchain-fees)
HTML Embed
<a href="https://allmcps.com/mcp/mcp-blockchain-fees"><img src="https://allmcps.com/api/badge/mcp-blockchain-fees?style=directory" alt="MCP Blockchain Fees on AllMCPs" /></a>