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 分