The @2sio/mcp server exposes every 2s endpoint as a Model Context Protocol tool. Point Claude Desktop (or any MCP host) at it and your agent can call real APIs and pay per call — no per-tool API keys.
Drop this into your MCP host config (Claude Desktop shown). The wallet key funds x402 payments; each endpoint becomes a callable tool:
// Add @2sio/mcp to any MCP host (Claude Desktop shown). Every 2s endpoint
// becomes a tool the model can call; payments settle per call from your wallet.
{
"mcpServers": {
"2sio": {
"command": "npx",
"args": ["-y", "@2sio/mcp"],
"env": { "EVM_PRIVATE_KEY": "0x..." }
}
}
}Run the server in trial mode to let the agent make free real calls (one per endpoint per hour) before you fund a wallet:
npx -y @2sio/mcp --trial # or set TWOS_TRIAL=1
Every endpoint in the catalog shows up as a tool with a typed input schema, so the model knows when and how to call it — weather, patents, sanctions screening, SEC filings, CVEs, geocoding, and the rest. Payment happens automatically per call; you stay in control of the wallet.
Call a live x402 API right now — no signup.
Browse the full endpoint directory, grab the quickstart, or read the llms.txt manifest. Every endpoint is keyless and pay-per-call.