2s.io SDK
Client SDK + MCP server for 2s.io — the (most) everything API. One pay-per-call API giving AI agents ground-truth data across hundreds of endpoints, paid per call in USDC on Base or Solana via x402.
This repo ships SDKs for every major agent-development language plus an MCP server for any MCP-aware host:
| Language | Package | Install | Status |
|---|---|---|---|
| TypeScript / Node | @2sio/sdk |
npm install @2sio/sdk |
✅ x402 |
| TypeScript / Node | @2sio/mcp |
npx @2sio/mcp |
✅ MCP server, x402 |
| Python | 2sio |
pip install 2sio |
✅ x402 |
| Python / LangChain | langchain-twosio |
pip install langchain-twosio |
✅ Tool adapters |
| Python / LlamaIndex | llama-index-tools-twosio |
pip install llama-index-tools-twosio |
✅ Tool adapters |
| Go | github.com/2s-io/sdk/packages/go |
go get github.com/2s-io/sdk/packages/go |
🚧 x402 wire-up pending |
| Rust | twosio |
cargo add twosio |
🚧 x402 wire-up pending |
No accounts. No API keys. No credit cards. Buyers sign an EIP-3009 USDC authorization (Base) or an SPL USDC transfer (Solana) on-the-fly, the facilitator verifies + settles in ~2 seconds on mainnet, and the API returns typed data. Prices start at $0.001/call.






