Crypto APIs MCP Servers

March 13, 2026 · View on GitHub

MCP (Model Context Protocol) servers for Crypto APIs — blockchain data, transactions, fees, signing, HD wallets, market data, and more. Works with Claude Desktop, Cursor, Windsurf, n8n, and any MCP-compatible AI client.

API Version: Compatible with Crypto APIs version 2024-12-12

Quick Start

Prerequisites

Install a single server

npx @cryptoapis-io/mcp-address-latest --api-key YOUR_API_KEY

Install all servers at once

npm install @cryptoapis-io/mcp

Remote MCP Server

Crypto APIs provides an official remote MCP server with HTTP Streamable transport at https://ai.cryptoapis.io/mcp.

This is a multi-tenant server — pass your API key via the x-api-key header with each request. No installation or self-hosting required.

Use this when you need HTTP transport without running your own server (e.g. with n8n, custom AI agents, or any HTTP-based MCP client).

Packages

PackagenpmGitHubDescription
@cryptoapis-io/mcpnpmMeta-package — installs all servers below
@cryptoapis-io/mcp-address-latestnpmGitHubCurrent balance and state for EVM, UTXO, Solana, XRP, Kaspa addresses
@cryptoapis-io/mcp-address-historynpmGitHubFull transaction and token history for synced addresses
@cryptoapis-io/mcp-block-datanpmGitHubBlock details by height or hash (EVM, UTXO, XRP)
@cryptoapis-io/mcp-blockchain-eventsnpmGitHubWebhook subscriptions for on-chain events
@cryptoapis-io/mcp-blockchain-feesnpmGitHubFee recommendations and gas estimation (EVM, UTXO, XRP)
@cryptoapis-io/mcp-broadcastnpmGitHubBroadcast signed raw transactions
@cryptoapis-io/mcp-contractsnpmGitHubToken details by contract address (EVM, Solana)
@cryptoapis-io/mcp-hd-walletnpmGitHubHD wallet management, balance, and sync (EVM, UTXO, XRP)
@cryptoapis-io/mcp-market-datanpmGitHubAsset prices, exchange rates, and market metadata
@cryptoapis-io/mcp-prepare-transactionsnpmGitHubBuild unsigned EVM transactions
@cryptoapis-io/mcp-signernpmGitHubLocal transaction signing (EVM, UTXO, Tron, XRP) — no API calls
@cryptoapis-io/mcp-simulatenpmGitHubDry-run EVM transaction simulation
@cryptoapis-io/mcp-transactions-datanpmGitHubTransaction lookup by hash (EVM, UTXO, Solana, XRP, Kaspa)
@cryptoapis-io/mcp-utilsnpmGitHubAddress validation, raw tx decoding, XRP X-Address encoding
@cryptoapis-io/mcp-sharednpmGitHubShared HTTP client, error types, blockchain constants, and schemas

Supported Blockchains & Networks

EVM

BlockchainMainnetTestnet
Ethereummainnetsepolia
Ethereum Classicmainnetmordor
Binance Smart Chainmainnettestnet
Polygonmainnetamoy
Avalanche (C-Chain)mainnetfuji
Tronmainnetnile
Arbitrummainnetsepolia
Basemainnetsepolia
Optimismmainnetsepolia

UTXO

BlockchainMainnetTestnet
Bitcoinmainnettestnet
Bitcoin Cashmainnettestnet
Litecoinmainnettestnet
Dogecoinmainnettestnet
Dashmainnettestnet
Zcashmainnettestnet

Other

BlockchainMainnetTestnet
XRP (Ripple)mainnettestnet
Solanamainnetdevnet
Kaspamainnet

Configuration

All MCP servers need a Crypto APIs API key. For stdio transport, provide it at startup via CLI argument or environment variable. For HTTP transport, it can also be provided per-request via x-api-key header (see HTTP API Key Modes).

# CLI argument (recommended)
npx @cryptoapis-io/mcp-address-latest --api-key YOUR_API_KEY

# Environment variable
export CRYPTOAPIS_API_KEY=YOUR_API_KEY
npx @cryptoapis-io/mcp-address-latest

Claude Desktop

Add to your Claude Desktop config:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "cryptoapis-address-latest": {
      "command": "npx",
      "args": ["-y", "@cryptoapis-io/mcp-address-latest"],
      "env": {
        "CRYPTOAPIS_API_KEY": "your_api_key_here"
      }
    },
    "cryptoapis-hd-wallet": {
      "command": "npx",
      "args": ["-y", "@cryptoapis-io/mcp-hd-wallet"],
      "env": {
        "CRYPTOAPIS_API_KEY": "your_api_key_here"
      }
    }
  }
}

Add as many servers as you need. See each package's README for its specific config.

Cursor

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global):

{
  "mcpServers": {
    "cryptoapis-address-latest": {
      "command": "npx",
      "args": ["-y", "@cryptoapis-io/mcp-address-latest"],
      "env": {
        "CRYPTOAPIS_API_KEY": "your_api_key_here"
      }
    }
  }
}

Claude Code

claude mcp add cryptoapis-address-latest -- npx -y @cryptoapis-io/mcp-address-latest --api-key YOUR_API_KEY

n8n

n8n's AI Agent can call your MCP servers using the built-in MCP Client Tool node. This lets you use blockchain data tools inside n8n workflows — no custom code needed.

1. Start a server in HTTP mode:

npx @cryptoapis-io/mcp-market-data --transport http --api-key YOUR_API_KEY

2. Add the MCP Client Tool to your n8n workflow:

  1. Create or open a workflow with an AI Agent node
  2. Under the agent's Tools section, click Add Tool > MCP Client Tool
  3. Configure the MCP Client Tool:
    • URL: http://localhost:3000/mcp (or your server's host/port)
  4. The agent now has access to all tools exposed by that MCP server

3. Repeat for additional servers (each on a different port):

npx @cryptoapis-io/mcp-blockchain-fees --transport http --port 3001 --api-key YOUR_API_KEY
npx @cryptoapis-io/mcp-transactions-data --transport http --port 3002 --api-key YOUR_API_KEY

Add a separate MCP Client Tool node for each server, pointing to its port.

Note: All servers default to port 3000. When running multiple servers on the same host, use --port to assign each a different port.

Tip: For production use, run the servers as persistent processes (e.g. via pm2, systemd, or Docker) rather than npx.

Note: @cryptoapis-io/mcp-signer only supports stdio transport and cannot be used with n8n's HTTP-based MCP Client Tool.

There is also a dedicated n8n community node that provides native Crypto APIs integration within n8n workflows and AI agents.

CLI Arguments

All servers support these arguments:

ArgumentDescriptionDefault
--api-keyCrypto APIs API keyCRYPTOAPIS_API_KEY env var
--transportTransport type: stdio or httpstdio
--hostHTTP host0.0.0.0
--portHTTP port3000
--pathHTTP path/mcp
--statelessEnable stateless HTTP modefalse

Exception: @cryptoapis-io/mcp-signer only supports stdio (no HTTP transport) since it handles private keys locally.

HTTP API Key Modes

When using HTTP transport, the server supports two API key modes:

Fixed key (single-tenant) — start with --api-key. The key is used for all requests and any x-api-key headers on incoming requests are ignored.

npx @cryptoapis-io/mcp-market-data --transport http --api-key YOUR_API_KEY

Per-request key (multi-tenant) — start without --api-key. Each incoming HTTP request must include an x-api-key header with a valid Crypto APIs key. This enables hosting a single public MCP server that serves multiple users, each using their own API key.

# Start without API key
npx @cryptoapis-io/mcp-market-data --transport http

# Clients include their key in every request via x-api-key header
ScenarioAPI key sourcex-api-key header
Stdio (always)--api-key or CRYPTOAPIS_API_KEY env var (required)N/A
HTTP with --api-keyStartup key (fixed for all requests)Ignored
HTTP without --api-keyx-api-key request header (required)Required

Note: Stdio transport always requires an API key at startup. The per-request mode only applies to HTTP transport.

Testing with MCP Inspector

npx @modelcontextprotocol/inspector npx @cryptoapis-io/mcp-address-latest --api-key YOUR_API_KEY

Important: API Key Required

Warning: Making requests without a valid API key — or with an incorrect one — may result in your IP being banned from the Crypto APIs ecosystem. Always ensure a valid API key is configured before starting any server.

License

MIT