2s Io

io.github.2s-io由 GitHub 帳號 2s-io 發布v1.82.0更新於 Nov 3, 2026

575+ agent tools: data, AI gateway, storage/queues/watchers. x402 USDC, no keys, usage billing.

概覽

AI 產生的概覽

本機 MCP 伺服器,把 2s.io 的 575+ 個按次付費 API 工具(資料查詢、AI 閘道、儲存、佇列、監看器)開放給助理,透過 x402 以 USDC 結算。

可以做什麼
  • 查詢權威資料:專利與商標、法院案件、SEC 文件與市場行情、政府公開紀錄、科學與醫學、車輛與航空、能源、地理與天氣、企業登記資料
  • 執行安全查核:CVE 與漏洞利用資訊、郵件與 HTTP 標頭安全、密碼外洩、IOC 信譽
  • 使用 AI 閘道進行對話、影像生成與多模型共識,以及網頁轉 Markdown、截圖、結構化擷取等工具
  • 管理代理基礎設施:分散式鎖、訊息佇列、排程工作、發布訂閱主題,以及依錢包隔離的鍵值、向量與全文檢索儲存
  • 設定監看器,在錢包異動、股價觸及門檻或公司公布財報時推送簽章回呼
適用情境
適合需要一次接入大量公開資料與參考類 API、AI 模型呼叫,或佇列、鎖、儲存等代理基礎設施,而不想逐一註冊各服務商的情境。可先用試用模式驗證實際呼叫再決定付費。
執行需求
透過 npx(Node.js)以 stdio 在本機執行,或連線託管的 streamable-HTTP 端點。付費使用需要 EVM_PRIVATE_KEY 中的 EVM 私鑰(託管端點用 X-EVM-Private-Key 標頭),對應 Base 上持有 USDC 的錢包;也提到 Solana SPL-USDC。試用模式不需金鑰。需要網路連線。
安裝前請注意
伺服器持有用於簽署鏈上 USDC 付款的私鑰,且預設沒有價格上限(maxPriceUsd 預設為 Infinity),應自行設定上限。使用託管端點時私鑰會經過 2s 的基礎設施。呼叫會產生費用(每次約 0.0025 美元起,設定監看器 0.05 美元),部分工具會寫入資料,如儲存、佇列與回呼。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 2s Io,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

@2sio/mcp

MCP server for 2s.io — gives any MCP-aware agent 575+ pay-per-call tools: more ground-truth data than any other x402 API, a full AI gateway (chat, image, multi-model consensus), and agent infrastructure (storage, locks, queues, schedules, watchers).

upto billing (new on 2s): AI endpoints also accept the x402 upto scheme — authorize the quoted max, get settled for your actual usage (a real on-chain example settled at 1/42nd of the quote). Exact-scheme calls work unchanged.

Model Context Protocol is the standard for AI agents to discover and use tools. This package runs a local MCP server that exposes every 2s.io endpoint as a callable tool. Plug it into Claude Desktop, AgentKit, Cline, Continue, or any other MCP host.

bash
npx @2sio/mcp --signer 0x...

No accounts to create. The server signs for whichever chain you configured a key on — Base USDC (EIP-3009) or Solana SPL-USDC. Settles in ~2 seconds. Prices start at $0.0025/call. 2s is an open-ended experiment in maximally-comprehensive agent infrastructure — the toolset grows continually (575+ endpoints across 113+ groups and counting).

Hosted (connect by URL, no install)

Prefer not to run anything? Point any MCP host at the hosted server:

https://2s.io/mcp

Streamable-HTTP transport; set header X-EVM-Private-Key: 0x… (an EVM key funded with USDC on Base) and the server signs + settles x402 per call. Security tradeoff: with the hosted server your private key transits 2s's infrastructure to sign — for keys that never leave your machine, run this package locally (above) or use the @2sio/sdk instead.

🔔 Watchers — push, not poll

Beyond read tools, 2s exposes watchers: the agent arms one and 2s POSTs a signed callback the moment something happens — a wallet moves, a stock crosses a price, a company reports earnings — so the agent never has to poll. Flat $0.05 to arm; signed + retried delivery with a status backstop. Tools: watchers.crypto-address-activity, watchers.stock-price, watchers.earnings (+ watchers.status / watchers.cancel).

What's exposed

A single MCP install gives the agent tools spanning, among others:

  • Security — CVE lookup (NVD + CISA KEV + EPSS), email-security, HTTP security headers, password-exposure, RPKI, CT logs, IOC reputation, CWE / ATT&CK / CAPEC, exploit availability
  • Patents & trademarks — USPTO patent search/detail/documents, trademark full-text search
  • Legal & courts — federal & state case search and citation verification (CourtListener / Free Law Project)
  • Financial filings & markets — SEC EDGAR filings, equities, FX, crypto, treasury rates
  • Government & public records — Federal Register, Congress, FEC, BLS, US Census, nonprofits, licenses
  • Science & medicine — arXiv / PubMed / Semantic Scholar papers, ICD-10, clinical trials, chemistry, nutrition
  • Vehicles & aviation — NHTSA VIN decode & recalls, aircraft registry, flights, airports
  • Energy, agriculture & maritime — energy prices & production, USDA agriculture, soil, vessel & port data
  • Geospatial & weather — geocoding, NWS/NOAA forecasts, climate, earthquakes, tides, places, parks
  • Business & property — company registries, GLEIF LEI, KYB, property records
  • Web & data utilities — URL → markdown, screenshots, schema extraction, validators, EDI, hashing, barcodes, image description, AI summarization
  • Agent primitives — memory, marketplace, knowledge-delta, batch settlement
  • Control plane — wallet-scoped agent infrastructure: distributed locks/leases, durable message queues, scheduled cron callbacks, pub/sub topics with fan-out
  • Storage — pay-per-call wallet-keyed persistence: key-value, documents, vector / full-text search, private blobs
  • Watchers (push, not poll) — arm a signed callback for when a wallet moves, a stock crosses a price, or a company reports earnings

See the live catalog for everything currently shipped.

Try it free first

Pass --trial (or set TWOS_TRIAL=1) to make real calls without paying — one free call per endpoint per hour, no key required. Drop the flag and configure a key when you're ready to pay per call.

Claude Desktop setup

Add to claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/claude_desktop_config.json, Windows: %APPDATA%\Claude\claude_desktop_config.json):

json
{  "mcpServers": {    "2sio": {      "command": "npx",      "args": ["-y", "@2sio/mcp"],      "env": {        "EVM_PRIVATE_KEY": "0x...your_funded_base_mainnet_key..."      }    }  }}

Restart Claude Desktop. The agent now has 575+ new tools — patent search, court-case lookup, SEC filings, VIN decode, ICD-10 lookup, sanctions screening, structured webpage extraction, secret/PII redaction, geocoding, weather, distributed locks/queues/schedules, wallet-keyed storage, multi-model consensus, ID crosswalks, and much more.

AgentKit / programmatic use

ts
import { createTwoSioMcpServer } from '@2sio/mcp'import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js'
const server = createTwoSioMcpServer({  privateKey: process.env.EVM_PRIVATE_KEY as `0x${string}`,  maxPriceUsd: 0.05,})await server.connect(new StdioServerTransport())

Safety

  • There is no default price cap (maxPriceUsd defaults to Infinity) — set --max-price (or the maxPriceUsd option) to opt into a ceiling above which the server refuses to sign.
  • All payments use EIP-3009 single-use authorizations with a 60-second deadline. No spending allowances are issued; even if the key is compromised at rest, the attacker can only spend what's in the wallet at the moment of signing — and only at advertised prices.
  • The key is read from env / argv into memory only; it never appears in any outgoing 2s.io request.

Tools exposed

Same set as @2sio/sdk. See https://2s.io/api/directory for the live catalog and https://2s.io/.well-known/x402 for the machine-readable manifest.

Links

來源:packages/2s-mcp/README.md,提交 9ae596d

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v1.82.0最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分