SwiftNodes RPC

io.swiftnodes由 swiftnodes.io 发布官方发布者v1.0.1更新于 Oct 30, 2026

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

已验证Streamable HTTP可网页运行云端与基础设施金融开发者工具

概览

AI 生成的概览

SwiftNodes RPC 让助手获取 125+ 条区块链 RPC 链的实时信息、JSON-RPC 方法支持与价格,并可用密钥发起 RPC 调用和探测端点。

可以做什么
  • 列出并查看链信息:名称、slug、链 ID、运行状态、区块高度及 HTTP、WebSocket、归档端点模板
  • 查询各链支持的 JSON-RPC 方法,并读取当前固定月费方案与速率限制
  • 诊断任意公开 EVM JSON-RPC 端点,返回链 ID、区块高度、归档能力和延迟,或对其执行指定方法调用
  • 使用自己的 API 密钥在 SwiftNodes 链上发起只读 JSON-RPC 调用
  • 查看账户方案、速率限制、本月用量以及密钥的 IP/来源限制
适用场景
当助手需要关于区块链网络、某条链支持哪些 JSON-RPC 方法或 SwiftNodes 价格的准确实时信息时适用;也适合在对话中直接执行只读 RPC 查询或诊断 EVM 端点。
运行要求
可使用托管的 Streamable HTTP 端点,或在本地以 stdio 进程运行(需 Node.js 18 及以上,无依赖,也有 npm 包)。可选的 SwiftNodes API 密钥通过 Authorization Bearer 请求头传入;不提供时仅公开查询工具可用。
安装前请注意
API 密钥以 Authorization Bearer 请求头发送给服务器,请勿写入共享配置。带密钥的 rpc_call 请求会占用套餐配额。probe_endpoint 会请求你提供的任意 http(s) 地址,只应指向你有权查询的端点,且不要用于压力测试。发送或签名交易的方法会被拒绝。

安装

在 SourceWeft 中

  1. 打开 控制台中的 SwiftNodes RPC,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.swiftnodes%2Fswiftnodes/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "swiftnodes-rpc": {
      "type": "http",
      "url": "https://rpc.swiftnodes.io/mcp"
    }
  }
}

README

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.

Hosted server (recommended)

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

bash
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):

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:

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

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

Claude Desktop

json
{  "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.

来源:README.md,提交 c47ed23

工具

7

list_chains

List every blockchain SwiftNodes serves (one API key for all): name, slug, chain ID, live status, and whether WebSocket and archive (?archive=1) are available.

输入参数queryevm_only

get_chain

One chain in detail: chain ID, live status and block height, and the HTTP, WebSocket and archive endpoint URL templates.

输入参数chain必填

get_pricing

SwiftNodes plans: flat monthly price, HTTP and WebSocket rate limits. No compute units, no per-request billing.

无需输入参数。

get_method_support

Which JSON-RPC methods work on which chain, probed weekly through the customer request path. No args for the overview, or {method} for per-chain detail.

输入参数method

probe_endpoint

Diagnose any public EVM JSON-RPC endpoint. With {url}: chain ID, block height, archive capability and latency. With {url, method, params}: makes that call and returns the result.

输入参数url必填methodparams

rpc_call

Make a JSON-RPC call on any SwiftNodes chain with the caller's API key (sent to this MCP server as 'Authorization: Bearer <key>'). Counts against that key's plan like any other request. Read-only: methods that send or sign transactions are refused.

输入参数chain必填method必填paramsarchive

get_account

The caller's SwiftNodes plan, rate limits, requests used this month, and the IP/origin restrictions on the key in use. Needs 'Authorization: Bearer <key>'. Never returns key values.

无需输入参数。

版本历史

1
  1. v1.0.1最新Oct 15, 2026

评分

已满足适用检查项的 100%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分