SwitchBord
Provides tools for discovering and routing to paid API endpoints listed on Coinbase Bazaar (x402), including live availability checks, price and speed ranking, and payment metadata so agents can call and pay sellers directly.
Agents can now pay for APIs on their own, over x402 and MPP. There are tens of thousands of paid endpoints, and many of them are down, slow or overpriced at any given moment. SwitchBord tells your agent which ones to call. It asks for a task in plain words, like "search the web" or "ETH price", and gets back the sellers that are working, cheapest and fastest right now, checked live just before the answer, plus backups.
Free and open | No signup, no keys, no auth. MIT-licensed code you can read, run and fork. |
Never touches your money | Your agent pays the seller directly with its own wallet. SwitchBord only says who to call. |
Live, not a directory | The top candidates get a free, unpaid check right before the answer, so dead sellers drop out. |
One inventory, every protocol | Every endpoint on Coinbase Bazaar (x402) and mpp.dev (MPP), rebuilt daily and grouped into markets of interchangeable sellers. |
Quick start
Claude Code
claude mcp add --transport http switchbord https://switchbord.vercel.app/mcpCursor, Windsurf, Cline and any client that reads an mcpServers block:
{ "mcpServers": { "switchbord": { "type": "http", "url": "https://switchbord.vercel.app/mcp" } } }Claude Code plugin:
/plugin marketplace add 6ixtyy/switchbord, then/plugin install switchbord@switchbordGemini CLI:
gemini extensions install https://github.com/6ixtyy/switchbordClaude Desktop, VS Code and others: see MCP.md
Or just call the HTTP API:
curl "https://switchbord.vercel.app/route?task=search%20the%20web&accepts=x402:base:usdc&max_price=0.05"Related MCP server: GoldBean
What you get back
A real answer for "search the web", trimmed to two candidates:
{
"mode": "market",
"market": "web-search",
"sellersMatched": 99,
"candidates": [
{
"rank": 1,
"service": "StableEnrich",
"method": "POST",
"url": "https://stableenrich.dev/api/exa/search",
"priceUsd": 0.01,
"pay": ["x402:base:usdc"],
"charges": "after_success", // x402: only charged when the seller answers OK
"input": { "body": { "query": "…", "numResults": 10 } },
"up": true, "ms": 264 // checked live just now
},
{
"rank": 2,
"url": "https://win.oneshotagent.com/v1/tools/search",
"priceUsd": 0.001,
"up": true, "ms": 217
// …
}
]
}Every field is documented in API.md. Runnable snippets are in examples/.
How it works
sequenceDiagram
participant A as Your agent
participant S as SwitchBord
participant P as Sellers (x402 / MPP)
A->>S: "search the web", accepts x402:base:usdc, max $0.05
S->>P: free, unpaid check of the top matches
P-->>S: payment terms + response time
S-->>A: ranked sellers, plus backups
A->>P: call the best one and pay it directly
A-->>S: (optional) report how it wentInventory. Every day SwitchBord pulls every listed endpoint from Coinbase Bazaar and mpp.dev, merges them and groups interchangeable sellers into markets.
Match. Your task is matched to a market. If none fits, you still get the closest single endpoints.
Check live. The top candidates get an unpaid request that reads their payment terms, so sellers that are down or misconfigured drop out.
Rank. Candidates are ordered by health, speed, price and real-world results. The full logic is in
src/router.tsandsrc/health.ts.
Reference
MCP tool | Use it to |
| Get the best sellers for a task, with backups. Pass |
| See the markets and how many sellers each has. |
| Optional: say how a call went, which improves rankings for everyone. |
HTTP endpoint | What it returns |
| Ranked sellers for a task, checked live |
| Markets and seller counts |
| One endpoint from the inventory |
| Optional: how a call went |
| Inventory size and when it was last rebuilt |
| The MCP server (streamable HTTP, stateless) |
Paying sellers
SwitchBord does not pay for you, hold funds, or guarantee sellers. To call a paid seller, your agent needs its own wallet and an x402 or MPP client, for example Coinbase's @x402/fetch. Each candidate says how it charges:
after_success(x402): charged only when the seller answers OK, so trying a backup after a failure is safe.before_handler(MPP): charged up front.
Run it yourself
The hosted service at switchbord.vercel.app runs this code. You can run your own copy with Node 22:
git clone https://github.com/6ixtyy/switchbord && cd switchbord
npm ci
npm run inventory # pull Bazaar + mpp.dev, merge and classify → data/inventory.json
npm start # API and MCP on http://localhost:8402Everything works with no configuration. These environment variables are optional:
Variable | What it does | Without it |
| Port for the local server |
|
| How often the local server rebuilds the inventory | every 6 hours |
| Saves every live check to Postgres |
|
| Keeps state in Vercel Blob between serverless runs | local files |
| Lets your scheduler run the rebuild and sampling routes at any time | open to anyone, rate-limited |
To deploy on Vercel, import the repo: vercel.json builds the inventory and the function, and runs the daily rebuild.
Path | What |
Pull listings from Coinbase Bazaar (x402) and mpp.dev (MPP) | |
Merge into one inventory, group into markets, label payment options | |
Free live checks: an unpaid request that reads the seller's 402 | |
Matching, ranking and backups | |
Check history (Postgres or a local file) | |
HTTP API and the remote MCP server | |
Local server and Vercel entry | |
switchbord.xyz: one static page, no build step | |
Vercel build and the API contract check | |
curl, Node and MCP snippets |
Contributing
Issues and pull requests are welcome. Bad rankings, dead sellers, new protocols and docs fixes are all useful. Read CONTRIBUTING.md first; for security issues see SECURITY.md. What changed: CHANGELOG.md. For language models: llms.txt. Privacy: PRIVACY.md.
License
This server cannot be deployed
Maintenance
Related MCP Connectors
Machine-native tools for autonomous agents with free routing and x402 USDC pay-per-call.
63 pay-per-call tools for agents: vision, text, data, web, blockchain. USDC on Base via x402.
270 pay-per-call AI tools for agents, paid via x402 (USDC on Base). No signup, no API keys.
Pay-per-call data APIs for AI agents. USDC on Base via x402. 33 tools, no signup.
Related MCP Servers
- AlicenseAqualityAmaintenanceAgent-to-agent marketplace where AI agents discover, invoke, and pay for services from other agents using USDC on Base L2. 72+ services, free tools, x402 micropayments.2041MIT
- AlicenseCqualityCmaintenancex402 Micropaid MCP Server — 120+ paid API endpoints for AI Agents. Pay per call with USDC on Base network. No signup, no API key needed.551MIT
- AlicenseNot gradedqualityCmaintenanceThe open marketplace for the agent economy — Buy any of 24,000+ live x402 services with USDC on Base.6MIT
- FlicenseNot gradedqualityBmaintenanceAI Agent Hub is a pay-per-call API platform for AI agents Every call is billed automatically in USDC using the x402 protocol - there is no API key, no account, and no signup. Agents get instant access to data queries, file storage, and ad impressions, paying only for what they actually use. The same tools are also exposed natively over MCP, so any MCP-capable agent can discover and call them-