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 分