# MCP Servers

## Crypto APIs MCP Servers

Crypto APIs provides a suite of **14 standalone MCP servers** that expose blockchain tools to AI clients (Claude, Cursor, Windsurf, n8n, and any MCP-compatible host). Each server is a lightweight Node.js process that connects via stdio or HTTP and covers a specific domain — from address balances and transaction history to fee estimation, local signing, and smart contract data — across 20+ blockchains.

All servers are published on npm under the `@cryptoapis-io` scope and are open source on GitHub.

---

### Available Servers

#### Address Data

**[Address Latest](https://github.com/CryptoAPIs-io/cryptoapis-mcp-address-latest)** — `@cryptoapis-io/mcp-address-latest`
Get current balances, nonces, token holdings, and recent transactions for any address. Supports EVM, UTXO, Solana, XRP, and Kaspa chains.

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

**[Address History](https://github.com/CryptoAPIs-io/cryptoapis-mcp-address-history)** — `@cryptoapis-io/mcp-address-history`
Sync addresses for continuous tracking and retrieve full transaction and token transfer history. Supports EVM and UTXO chains.

```bash
npx @cryptoapis-io/mcp-address-history --api-key YOUR_API_KEY
```

#### Block Data

**[Block Data](https://github.com/CryptoAPIs-io/cryptoapis-mcp-block-data)** — `@cryptoapis-io/mcp-block-data`
Retrieve blocks by height or hash, list transactions within a block, and get the latest mined block. Supports EVM, UTXO, and XRP chains.

```bash
npx @cryptoapis-io/mcp-block-data --api-key YOUR_API_KEY
```

#### Transactions Data

**[Transactions Data](https://github.com/CryptoAPIs-io/cryptoapis-mcp-transactions-data)** — `@cryptoapis-io/mcp-transactions-data`
Look up transaction details, internal transactions, token transfers, and logs. Supports EVM, UTXO, Solana, XRP, and Kaspa chains.

```bash
npx @cryptoapis-io/mcp-transactions-data --api-key YOUR_API_KEY
```

#### Blockchain Fees

**[Blockchain Fees](https://github.com/CryptoAPIs-io/cryptoapis-mcp-blockchain-fees)** — `@cryptoapis-io/mcp-blockchain-fees`
Get fee recommendations, EIP-1559 estimates, and gas estimation for transfers and contract interactions. Supports EVM, UTXO, and XRP.

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

#### Simulation

**[Simulate](https://github.com/CryptoAPIs-io/cryptoapis-mcp-simulate)** — `@cryptoapis-io/mcp-simulate`
Dry-run EVM transactions to preview outcomes, gas usage, and state changes before broadcasting.

```bash
npx @cryptoapis-io/mcp-simulate --api-key YOUR_API_KEY
```

#### Transaction Lifecycle

**[Prepare Transactions](https://github.com/CryptoAPIs-io/cryptoapis-mcp-prepare-transactions)** — `@cryptoapis-io/mcp-prepare-transactions`
Build unsigned EVM transactions (native coin, ERC-20, ERC-721 transfers) ready for local signing.

```bash
npx @cryptoapis-io/mcp-prepare-transactions --api-key YOUR_API_KEY
```

**[Signer](https://github.com/CryptoAPIs-io/cryptoapis-mcp-signer)** — `@cryptoapis-io/mcp-signer`
Sign transactions locally using private keys. Supports EVM, UTXO, Tron, and XRP. **No API calls are made** — keys never leave your machine. No API key required. Stdio transport only.

```bash
npx @cryptoapis-io/mcp-signer
```

**[Broadcast](https://github.com/CryptoAPIs-io/cryptoapis-mcp-broadcast)** — `@cryptoapis-io/mcp-broadcast`
Submit signed raw transactions to blockchain networks for execution.

```bash
npx @cryptoapis-io/mcp-broadcast --api-key YOUR_API_KEY
```

#### Market Data

**[Market Data](https://github.com/CryptoAPIs-io/cryptoapis-mcp-market-data)** — `@cryptoapis-io/mcp-market-data`
Get cryptocurrency asset prices, exchange rates between any pair, and market metadata.

```bash
npx @cryptoapis-io/mcp-market-data --api-key YOUR_API_KEY
```

#### Contracts

**[Contracts](https://github.com/CryptoAPIs-io/cryptoapis-mcp-contracts)** — `@cryptoapis-io/mcp-contracts`
Read smart contract ABIs and on-chain token/contract data from EVM and Solana blockchains.

```bash
npx @cryptoapis-io/mcp-contracts --api-key YOUR_API_KEY
```

#### HD Wallets (xPubs)

**[HD Wallet](https://github.com/CryptoAPIs-io/cryptoapis-mcp-hd-wallet)** — `@cryptoapis-io/mcp-hd-wallet`
Manage HD wallets via xPub — sync, activate, derive addresses, and retrieve balances and transactions. Supports EVM, UTXO, and XRP.

```bash
npx @cryptoapis-io/mcp-hd-wallet --api-key YOUR_API_KEY
```

#### Events & Webhooks

**[Blockchain Events](https://github.com/CryptoAPIs-io/cryptoapis-mcp-blockchain-events)** — `@cryptoapis-io/mcp-blockchain-events`
Create and manage webhook subscriptions for on-chain events — confirmed/unconfirmed coin and token transfers, new blocks, transaction confirmations, and more.

```bash
npx @cryptoapis-io/mcp-blockchain-events --api-key YOUR_API_KEY
```

#### Utilities

**[Utils](https://github.com/CryptoAPIs-io/cryptoapis-mcp-utils)** — `@cryptoapis-io/mcp-utils`
Address derivation from xPub, address validation, raw transaction decoding, and encoding utilities for EVM, UTXO, and XRP.

```bash
npx @cryptoapis-io/mcp-utils --api-key YOUR_API_KEY
```

---

### Installation

Every server runs with a single `npx` command — no cloning or building needed.

**Claude Desktop / Cursor / Windsurf** — add to your MCP config:

```json
{
  "mcpServers": {
    "cryptoapis-market-data": {
      "command": "npx",
      "args": ["-y", "@cryptoapis-io/mcp-market-data", "--api-key", "YOUR_API_KEY"]
    }
  }
}
```

Replace the package name to add any other server. Add multiple entries to use several servers at once.

**HTTP mode** (for n8n, custom integrations, or remote access):

```bash
npx @cryptoapis-io/mcp-market-data --transport http --api-key YOUR_API_KEY --port 3000
```

The server exposes `/mcp` (MCP endpoint) and `/health` (healthcheck). When running multiple servers, assign each a different `--port`.

---

### Remote MCP Server

For production deployments or when you need all tools behind a single endpoint, Crypto APIs provides a **remote MCP server** — an HTTP server that aggregates all 14 tool packages behind one `/mcp` endpoint.

This is ideal when you want to:
- Access all 14 tool packages through a single endpoint
- Share the server across multiple AI clients or team members
- Avoid running separate processes for each package

The **official remote endpoint** is available at:

```
https://ai.cryptoapis.io/mcp
```

Pass your API key via the `x-api-key` header. Compatible with any MCP client that supports HTTP Streamable transport.

#### Product-Scoped Endpoints

In addition to the full `/mcp` endpoint, you can connect to a **single product** using `/mcp/{product}`. The scoped endpoint creates a session that only exposes that product's tools — fewer tools means faster initialization and a smaller context for your AI client.

| Endpoint | Tools |
|----------|-------|
| `/mcp` | All 50 tools from all products |
| `/mcp/address-latest` | Address balances, nonces, recent transactions |
| `/mcp/address-history` | Synced address management and full history |
| `/mcp/block-data` | Block lookup by height/hash |
| `/mcp/transactions-data` | Transaction details, internal txs, token transfers |
| `/mcp/blockchain-fees` | Fee recommendations and gas estimation |
| `/mcp/simulate` | Dry-run EVM transactions |
| `/mcp/prepare-transactions` | Build unsigned EVM transactions |
| `/mcp/broadcast` | Submit signed transactions |
| `/mcp/market-data` | Asset prices and exchange rates |
| `/mcp/contracts` | Smart contract ABIs and token data |
| `/mcp/hd-wallet` | HD wallet (xPub) management |
| `/mcp/blockchain-events` | Webhook subscriptions for on-chain events |
| `/mcp/utils` | Address derivation, validation, decoding |

For example, to connect an AI client only to address balance tools:

```
https://ai.cryptoapis.io/mcp/address-latest
```

This works with the same `x-api-key` header and the same MCP protocol — the only difference is the set of tools available in the session.

---

### Supported Blockchains

| Type | Blockchains |
|------|------------|
| **EVM** | Ethereum, Ethereum Classic, Binance Smart Chain, Polygon, Avalanche C-Chain, Tron, Arbitrum, Base, Optimism |
| **UTXO** | Bitcoin, Bitcoin Cash, Litecoin, Dogecoin, Dash, Zcash |
| **Other** | XRP, Solana, Kaspa |

Each blockchain supports mainnet and testnet (where available).

---

### Get Your API Key

Sign up at [cryptoapis.io](https://cryptoapis.io) to get your API key and start using the servers.

---

Documentation page: https://developers.cryptoapis.io/v-2.2024-12-12-175/RESTapis/ai-compatibility/mcp-servers
