# SwiftNodes RPC

Gives your agent a map of 128 blockchains: chain slugs, JSON-RPC method support, current pricing, and on-demand endpoint checks.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI
- Author: swiftnodes
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/swiftnodes/swiftnodes-mcp
- Updated: 2026-10-16
- HTML: https://affpapa.org/en/nevibecode/mcp/swiftnodes-rpc

## What it does

The server answers chain questions from a bundled snapshot built off the SwiftNodes source of truth. `get_chain` returns block time, native currency and endpoint templates, while `list_chains` can be filtered down. Method support is re-probed weekly along the same route customer traffic takes, failover included. Pricing comes from the public plans API, with a bundled fallback when that call fails.

Four tools need no key at all: the chain lookups, pricing, the method matrix, and `probe_endpoint`. That last one inspects any EVM JSON-RPC URL and reports chain identity, block height, archive capability and latency. Supply a key and two more appear: `rpc_call` executes a method through SwiftNodes, and `get_account` returns your plan, rate limits, usage this month, plus any IP or origin limits. Key values themselves are never echoed back.

The hosted deployment saves you a setup step: point the client at `https://rpc.swiftnodes.io/mcp` over Streamable HTTP. Running it locally means stdio and Node 18 or newer, with no third-party packages. Since `probe_endpoint` will hit whatever http(s) address you hand it, send one quick pass rather than a load test.

## Requirements
- Needs: Node.js (commands run via npx)
- Remote server: `https://rpc.swiftnodes.io/mcp`

## Install

### Claude Code (native platform)

1. **Platform CLI: remote server**
```bash
claude mcp add --transport http swiftnodes https://rpc.swiftnodes.io/mcp
```

2. **Platform CLI**
```bash
claude mcp add swiftnodes-rpc -- npx -y swiftnodes-mcp
```

### Codex

1. **Platform CLI: remote server**
```bash
codex mcp add swiftnodes-rpc --url https://rpc.swiftnodes.io/mcp
```

2. **Platform CLI**
```bash
codex mcp add swiftnodes-rpc -- npx -y swiftnodes-mcp
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "swiftnodes-rpc": {
            "url": "https://rpc.swiftnodes.io/mcp"
        }
    }
}
```
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "swiftnodes-rpc": {
            "command": "npx",
            "args": [
                "-y",
                "swiftnodes-mcp"
            ]
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "swiftnodes-rpc": {
            "type": "http",
            "url": "https://rpc.swiftnodes.io/mcp"
        }
    }
}
```
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "swiftnodes-rpc": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "swiftnodes-mcp"
            ]
        }
    }
}
```

### Gemini CLI

1. **Platform CLI: remote server**
```bash
gemini mcp add -t http swiftnodes-rpc https://rpc.swiftnodes.io/mcp
```

2. **Platform CLI**
```bash
gemini mcp add swiftnodes-rpc npx -y swiftnodes-mcp
```

## When to use it
- look up a chain slug and chain ID by name
- check whether trace_filter runs on BSC
- read the latest block on opBNB from chat
- compare plan rate limits before paying
- audit a third-party EVM endpoint for archive support

## Example prompts
- List the SwiftNodes chains and show me Base with its chain ID
- Does opBNB support trace_filter?
- Run rpc_call on eth and give me the latest block number

## Similar
- [solana-rpc](https://affpapa.org/en/nevibecode/skills/solana-rpc.md) — skill · 452 installs
- [venice-crypto-rpc](https://affpapa.org/en/nevibecode/skills/venice-crypto-rpc.md) — skill · ★ 160
- [BlockVectra: multi-chain RPC & Data API](https://affpapa.org/en/nevibecode/mcp/blockvectra-multi-chain-rpc-data-api.md) — MCP server · ★ 2
- [hono-rpc](https://affpapa.org/en/nevibecode/skills/hono-rpc.md) — skill · 437 installs
- [basebalance.cloud — x402 RPC & MCP gateway](https://affpapa.org/en/nevibecode/mcp/basebalancecloud-x402-rpc-mcp-gateway.md) — MCP server · ★ 7548
- [supabase-audit-rpc](https://affpapa.org/en/nevibecode/skills/supabase-audit-rpc.md) — skill · 524 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
