SwiftNodes RPC
Blockchain RPC for 125+ chains: endpoints, method support, probing and RPC calls with your key.
我该使用它吗
质量与安全性
发现(1)
- LOW在 get_method_support 中
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"swiftnodes": {
"command": "npx",
"args": [
"swiftnodes-mcp"
]
}
}
}可运行的软件包
0.2.0stdio远程端点
https://rpc.swiftnodes.io/mcpstreamable-http它能做什么
工具清单
工具(7)
🟢list_chains(query, evm_only)
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.
输入模式
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Optional name or slug filter, e.g. 'base' or 'zksync'."
},
"evm_only": {
"type": "boolean",
"description": "Only EVM chains."
}
}
}🟢get_chain(chain)
One chain in detail: chain ID, live status and block height, and the HTTP, WebSocket and archive endpoint URL templates.
输入模式
{
"type": "object",
"properties": {
"chain": {
"type": "string",
"description": "Chain slug, name or chain ID, e.g. \"eth\", \"Base\", \"4663\"."
}
},
"required": [
"chain"
]
}🟢get_pricing
SwiftNodes plans: flat monthly price, HTTP and WebSocket rate limits. No compute units, no per-request billing.
输入模式
{
"type": "object",
"properties": {}
}🟢get_method_support(method)
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.
输入模式
{
"type": "object",
"properties": {
"method": {
"type": "string",
"description": "e.g. 'trace_filter' or 'eth_getProof'."
}
}
}🟢probe_endpoint(url, method, params)
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.
输入模式
{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "Public http(s) RPC URL."
},
"method": {
"type": "string"
},
"params": {
"type": "array"
}
},
"required": [
"url"
]
}🟢rpc_call(chain, method, params, archive)
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.
输入模式
{
"type": "object",
"properties": {
"chain": {
"type": "string",
"description": "Chain slug, e.g. \"eth\", \"base\", \"robinhood\". See list_chains."
},
"method": {
"type": "string",
"description": "e.g. \"eth_blockNumber\"."
},
"params": {
"type": "array",
"description": "Method params, default []."
},
"archive": {
"type": "boolean",
"description": "Route to archive upstreams (paid plans)."
}
},
"required": [
"chain",
"method"
]
}🟢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.
输入模式
{
"type": "object",
"properties": {}
}社区
证据