SwiftNodes RPC

Registre officiel Finance et paiements

Blockchain RPC for 125+ chains: endpoints, method support, probing and RPC calls with your key.

Installation

Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).

Remote (streamable-http)
Claude Code
claude mcp add --transport http swiftnodes-rpc 'https://rpc.swiftnodes.io/mcp' --header 'Authorization: <Optional. Bearer <your SwiftNodes API key> enables rpc_call and get_account. Free keys at https://swiftnodes.io>'
Configuration JSON (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "swiftnodes-rpc": {
            "type": "http",
            "url": "https://rpc.swiftnodes.io/mcp",
            "headers": {
                "Authorization": "<Optional. Bearer <your SwiftNodes API key> enables rpc_call and get_account. Free keys at https://swiftnodes.io>"
            }
        }
    }
}
NPM package swiftnodes-mcp
Claude Code
claude mcp add swiftnodes-rpc -- npx -y swiftnodes-mcp@0.2.0
Configuration JSON (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "swiftnodes-rpc": {
            "command": "npx",
            "args": [
                "-y",
                "swiftnodes-mcp@0.2.0"
            ]
        }
    }
}

Documentation

Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.

Sommaire
  1. swiftnodes-mcp
  2. Chains
  3. Hosted server (recommended)
  4. Tools
  5. Run it locally (stdio)
  6. Data sources
  7. Notes
  8. License

swiftnodes-mcp

An MCP (Model Context Protocol) server for SwiftNodes — multi-chain blockchain RPC, exposed to AI agents.

One API key, 125+ chains, flat-rate pricing. This server gives Claude, ChatGPT, Cursor, and any MCP client live, factual answers about chains, pricing, and JSON-RPC method support — plus the ability to probe any EVM endpoint directly.

Chains

Works across all 128 SwiftNodes chains, including Ethereum, BNB Smart Chain (BSC), opBNB, Base, Arbitrum, Polygon, Solana and Bitcoin. Each chain has a slug used in tool arguments and endpoint URLs, for example:

ChainSlugEndpoint
BNB Smart Chain (BSC)bschttps://rpc.swiftnodes.io/rpc/bsc?key=YOUR_API_KEY
opBNBopbnbhttps://rpc.swiftnodes.io/rpc/opbnb?key=YOUR_API_KEY
Ethereumethhttps://rpc.swiftnodes.io/rpc/eth?key=YOUR_API_KEY
Basebasehttps://rpc.swiftnodes.io/rpc/base?key=YOUR_API_KEY

Example prompts: "Which JSON-RPC methods does BNB Smart Chain support?", "What is the latest block on opBNB?", "Is trace_filter available on BSC?". list_chains returns the full list.

SwiftNodes runs this server for you at https://rpc.swiftnodes.io/mcp (Streamable HTTP). Nothing to install.

claude mcp add --transport http --scope user swiftnodes https://rpc.swiftnodes.io/mcp --header "Authorization: Bearer $SWIFTNODES_API_KEY"

Cursor and other clients (~/.cursor/mcp.json):

{ "mcpServers": { "swiftnodes": { "url": "https://rpc.swiftnodes.io/mcp", "headers": { "Authorization": "Bearer YOUR_API_KEY" } } } }

The key is optional: without it the public tools below work. With it, two more tools are available:

ToolWhat it does
rpc_callMake a JSON-RPC call on any SwiftNodes chain with your key (counts against your plan like any request).
get_accountYour plan, rate limits, requests used this month, and the IP/origin restrictions on the key. Never returns key values.

Listed in the official MCP Registry as io.swiftnodes/swiftnodes. Docs: https://swiftnodes.io/docs/mcp

Tools

ToolWhat it does
list_chainsEvery chain SwiftNodes serves — name, slug, chain ID, category, docs page. Filterable.
get_chainFull detail for one chain: IDs, block time, native currency, HTTP/WebSocket/archive endpoint templates, docs links.
get_pricingLive flat-rate plans from the public API — rate limits, included features, no compute units.
get_method_supportWhich JSON-RPC methods work on which chain — auto-probed weekly through the same path customer requests take. Overview or per-method detail.
probe_endpointDiagnose any EVM JSON-RPC endpoint (ours or anyone's): chain identity, block height, archive capability, latency — or run a specific method call.

Run it locally (stdio)

Zero dependencies, Node >= 18.

From this repo:

git clone https://github.com/swiftnodes/swiftnodes-mcp
node swiftnodes-mcp/bin/server.js   # speaks MCP over stdio

Via npm (once published): npx -y swiftnodes-mcp

Claude Desktop
{
  "mcpServers": {
    "swiftnodes": {
      "command": "node",
      "args": ["/path/to/swiftnodes-mcp/bin/server.js"]
    }
  }
}
Cursor / any MCP client

Add a stdio server with command node and args ["/path/to/swiftnodes-mcp/bin/server.js"].

Data sources

  • Chains — bundled snapshot generated from the SwiftNodes site source of truth (scripts/generate-chains-data.mjs; regenerate after chain changes).
  • Pricing — fetched live from https://rpc.swiftnodes.io/api/plans (bundled fallback if unreachable).
  • Method support — fetched live from https://swiftnodes.io/method-matrix.json, re-probed weekly. Support values reflect the real customer path, including failover.

Notes

probe_endpoint will call any http(s) URL you give it — the same ground our CLI diagnostic rpc-doctor covers. Probe responsibly: one quick pass per endpoint, not a load test.

Questions: swiftnodes.io — free tier, no KYC.

License

MIT — see LICENSE.

Questions fréquentes

Qu'est-ce que SwiftNodes RPC ?

Blockchain RPC for 125+ chains: endpoints, method support, probing and RPC calls with your key.

Comment installer SwiftNodes RPC ?

Il fonctionne comme serveur distant. Dans Claude Code : claude mcp add --transport http swiftnodes-rpc 'https://rpc.swiftnodes.io/mcp' --header 'Authorization: <Optional. Bearer <your SwiftNodes API key> enables rpc_call and get_account. Free keys at https://swiftnodes.io>'. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.

Faut-il une clé API pour SwiftNodes RPC ?

Oui. Il attend Authorization, à renseigner dans sa configuration.

SwiftNodes RPC est-il open source ?

Oui. Son code est sur GitHub sous licence MIT.

Qui maintient SwiftNodes RPC ?

Il est publié par swiftnodes. AI.tn le référence sans le maintenir ni le recommander.

Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.