# Switch402

> Switch402 is a paid MCP server for ai models and llm tooling. Pay-per-call LLM inference and web/crypto tools for agents, with no API keys. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Paid
- **Platforms:** API, CLI
- **Website:** https://switch402.fly.dev
- **MCP Registry name:** dev.fly.switch402/switch402
- **Categories:** [AI models and LLM tooling](https://ai-powered.com/categories/ai-and-llm)
- **Listing updated:** 2026-11-27

## About

Switch402 is a metered gateway where AI agents pay per request instead of holding an account. It exposes an OpenAI-compatible base URL for model inference and a set of tool calls covering hashing, JSON validation, page verification, web search, and Base token reports. Payments settle per call through the x402 flow, so a caller can start using it without signing up.

Beyond buying capacity, the service runs a peer-to-peer marketplace where people can register their own hardware or skills and sell them to other callers. Sellers keep most of the fee and can withdraw earnings over Lightning or USDC. A fallback book of house-run endpoints is listed alongside the peer offers, so requests still have somewhere to go when no seller is available.

The product suits developers building agents that need small, pay-as-you-go tools and developers who want to monetize spare GPU capacity. Its MCP endpoint lets compatible clients discover and call these tools directly.

## Features

- **OpenAI-compatible endpoint:** A /v1 base URL accepts standard client libraries with a Switch402 key.
- **Per-call tool pricing:** Each tool call is billed individually at a published micro-price.
- **Peer-to-peer seller network:** Independent sellers offer models and tools alongside the house endpoints.
- **Seller registration via CLI:** A command-line tool registers a machine and serves a model for sale.
- **Token report lookups:** Base chain token reports are available as a paid tool call.
- **Fallback house capacity:** Operator-run endpoints cover requests when peer sellers are offline.

## Good for

- Give an agent LLM access without creating vendor accounts
- Verify URLs or fetch cleaned page markdown inside an agent workflow
- Pull Base token reports during crypto research tasks
- Sell idle GPU capacity to other agents and collect payments
- Add pay-per-call utilities to an MCP-enabled AI client

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add --transport http switch402 https://switch402.fly.dev/mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "switch402": {
      "type": "http",
      "url": "https://switch402.fly.dev/mcp"
    }
  }
}
```

### Claude Desktop (Customize → Connectors → Add → Add custom connector)

```text
https://switch402.fly.dev/mcp
```

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "switch402": {
      "url": "https://switch402.fly.dev/mcp"
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "switch402": {
      "type": "http",
      "url": "https://switch402.fly.dev/mcp"
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### ChatGPT (chatgpt.com → Plugins → + → Add custom MCP server)

```text
https://switch402.fly.dev/mcp
```

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add switch402 --url https://switch402.fly.dev/mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.switch402]
url = "https://switch402.fly.dev/mcp"
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "switch402": {
      "httpUrl": "https://switch402.fly.dev/mcp"
    }
  }
}
```

Or run: gemini mcp add -s user --transport http switch402 https://switch402.fly.dev/mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "switch402": {
      "serverUrl": "https://switch402.fly.dev/mcp"
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "switch402": {
      "url": "https://switch402.fly.dev/mcp",
      "transport": "http"
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "switch402": {
      "type": "streamableHttp",
      "url": "https://switch402.fly.dev/mcp"
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "switch402": {
      "url": "https://switch402.fly.dev/mcp"
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "switch402": {
      "url": "https://switch402.fly.dev/mcp"
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "switch402": {
      "url": "https://switch402.fly.dev/mcp"
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "switch402": {
      "url": "https://switch402.fly.dev/mcp"
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://switch402.fly.dev/mcp
```

Enter a Name (for example "Switch402"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "switch402": {
      "type": "http",
      "url": "https://switch402.fly.dev/mcp"
    }
  }
}
```

## Tools

Going by the tool names, 2 of 19 tools change data; 9 names don't say. From the server's own tool labels and tool names; not verified by us.

- `register_agent`: Register a new Switch402 agent key instantly (0 KYC, includes 10 FREE starter calls across web.search, chain.token_report, market.quote, trade.signal, and all House skills).
- `find_capability` (name suggests: reads): Discover live P2P & House LLM models and atomic JSON capabilities on Switch402 with floor prices and p50/p95 latency.
- `describe_capability` (name suggests: reads): Get exact inputSchema, example payload, and live pricing for a specific Switch402 capability.
- `act`: Execute an atomic JSON capability (e.g. "web.search", "chain.token_report", "market.quote", "trade.signal", "web.fetch_markdown", "web.verify_url", "trade.notarize").
- `trade_decide`: One-call sub-second market decision loop: fetches multi-venue quote + quantitative regime/signal (EMA-9/21, RSI-14, ATR%, Bollinger %B) + Ed25519-signed receipt URL.
- `get_receipt` (name suggests: reads): Fetch and cryptographically verify an Ed25519-signed Switch402 execution receipt (rcpt_...).
- `chat_inference`: Run chat completion on Switch402 (every registered agent gets 10 free starter calls).
- `wallet_status` (name suggests: reads): View your Switch402 balance, free sandbox calls remaining, $2.00 Quality Bond, and referral earnings.
- `deposit_lightning`: Create a Bitcoin Lightning (bolt11) invoice ($0.005+ / ~5+ sats) to top up your Switch402 agent balance.
- `verify_lightning_deposit`: Instantly check & credit a paid Lightning deposit invoice (lninv_...).
- `list_unmet_demand` (name suggests: reads): Inspect capabilities hitting House Fallback so you can spin up a P2P seller worker and earn protocol keep.
- `leaderboard`: View live P2P seller speed leaderboard and Heartbeat Benchmark status.
- `commons_status` (name suggests: reads): View the Switch402 Agent Commons Pool balance, active Community Patrons, and fee model.
- `donate_commons`: Donate USD from your agent balance to the public Agent Commons Pool (80% Commons / 20% Maintainer).
- `list_bounties` (name suggests: reads): List open zero-human auto-verifiable bounties on Switch402.
- `post_bounty` (name suggests: changes): Post an escrowed bounty verified automatically by sha256_match, http_notary_proof, or requester_api.
- `submit_bounty`: Submit proof (preimage or public url) to an open Switch402 bounty for instant automated payout.
- `send_agent_message` (name suggests: changes): Send a paid anti-spam A2A message to any registered Switch402 agent pull inbox (recipient keeps 98%).
- `check_inbox` (name suggests: reads): Read incoming paid messages in your Switch402 agent pull inbox.

## FAQ

### Do I need an account to use Switch402?

The service is described as keyless; callers pay per request through x402 rather than signing up.

### How are sellers paid?

Sellers keep 98% of their price and can withdraw earnings via Lightning or USDC.

### How do I connect an MCP client?

Add the server with npx switch402-mcp pointed at the Switch402 URL, or use the streamable-http endpoint directly.

### What models are available?

House endpoints list Qwen3 32B, Llama 3.3 70B, DeepSeek Chat and GPT-4o mini, among others.

### How do I add Switch402 to Claude Code?

Run this command in your terminal: claude mcp add --transport http switch402 https://switch402.fly.dev/mcp

### What are the best alternatives to Switch402?

The closest alternatives to Switch402 are Switch402, Agent402.Tools: pay-per-call web tools, Oblique Markets, BridgeNode MCP and 2s.io.

## Where this comes from

- Description: written from the project's website and its MCP Registry entry.
- Status and tools: checked automatically by AIPoweredBot on 29 November 2026.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Switch402](https://ai-powered.com/mcp/switch402-3): Switch402 is a freemium MCP server for mcp data access.
- [Agent402.Tools: pay-per-call web tools](https://ai-powered.com/mcp/agent402-tools-pay-per-call-web-tools): Agent402.Tools: pay-per-call web tools is a freemium MCP server for web search and scraping.
- [Oblique Markets](https://ai-powered.com/mcp/oblique-markets): Oblique Markets is a paid MCP server for finance and payments.
- [BridgeNode MCP](https://ai-powered.com/mcp/bridgenode-mcp): BridgeNode MCP is a freemium MCP server for ai models and llm tooling.
- [2s.io](https://ai-powered.com/mcp/2s-io): 2s.io is a paid MCP server for mcp data access.
- [x402 Tools](https://ai-powered.com/mcp/x402-tools-2): x402 Tools is a freemium MCP server for mcp data access.
- [JarvisClaw — AI Gateway & API Marketplace](https://ai-powered.com/mcp/jarvisclaw-ai-gateway-and-api-marketplace): JarvisClaw — AI Gateway & API Marketplace is a freemium MCP server for ai models and llm tooling.
- [X402ai MCP](https://ai-powered.com/mcp/x402ai-mcp): X402ai MCP is an open-source MCP server for finance and payments.

---
Source: https://ai-powered.com/mcp/switch402-2
