# x402 Doctor

> x402 Doctor is a freemium MCP server for developer tools. Preflight any x402, MPP or L402 paid endpoint before an agent spends money on it. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Platforms:** Web, API, CLI
- **Website:** https://x402-doctor.fizzl.eu
- **Repository:** https://github.com/fizzl13/x402-doctor
- **MCP Registry name:** io.github.Fizzl13/x402-doctor
- **Categories:** developer tools, finance and payments
- **Listing updated:** 2026-11-15

## About

Built for the new world of agents paying for APIs. You give it the URL of a paid endpoint and it reads the payment challenge the way a paying agent would, with no wallet or payment, then reports which part of the flow is broken. Verdicts are go, caution or no_go, plus the payment option to use; a seller whose payout address appears on the OFAC sanctions list is a no_go. It covers x402 over HTTP and MCP, Stripe and Tempo's MPP, and Lightning L402.

The free quick check sits beside paid extras. A preflight costs $0.001, the code fix for your stack is $0.05, and a delivery check at $0.25 actually buys the endpoint once, for at most $0.10, and publishes whether it paid and delivered with the charge measured on chain. Prepaid credits are offered at a discount. Payment is in USDC on Base or other listed chains.

It also checks MCP servers for tool descriptions that hide instructions to the agent, and offers a Concordium badge check on whether the seller is a registered agent. An hourly watch can alert you by phone, Telegram, Discord or Slack when an endpoint stops being payable.

## Features

- **Read-only diagnosis:** Reads the payment challenge without a wallet or payment.
- **Go or no-go verdict:** Returns go, caution or no_go with the payment option and reason.
- **OFAC check:** Flags sellers whose payout address is on the sanctions list.
- **Delivery check:** Buys the endpoint once and verifies what was delivered.
- **Tool-poisoning scan:** Looks for hidden instructions in MCP tool descriptions.
- **Endpoint watch:** Notifies you when an endpoint stops being payable.
- **Prepaid credits:** Discounted credits valid for a year.

## Good for

- Check an x402 endpoint before an agent pays it
- Debug why your own paid API's payment flow fails
- Batch-compare several paid services
- Verify that a paid endpoint delivers what it declares

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http x402-doctor https://x402-doctor.fizzl.eu/mcp
```

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

```sh
https://x402-doctor.fizzl.eu/mcp
```

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

```json
{
  "mcpServers": {
    "x402-doctor": {
      "url": "https://x402-doctor.fizzl.eu/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "x402-doctor": {
      "type": "http",
      "url": "https://x402-doctor.fizzl.eu/mcp"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "x402-doctor": {
      "serverUrl": "https://x402-doctor.fizzl.eu/mcp"
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "x402-doctor": {
      "type": "http",
      "url": "https://x402-doctor.fizzl.eu/mcp"
    }
  }
}
```

## Tools

- `concordium_badge_check`: Check whether the seller is a registered agent in Concordium's Agent Registry.

## FAQ

### Does the free check need a wallet?

No. The site says the read-only diagnostics need no wallet, no payment and carry no risk.

### What does a preflight cost?

$0.001, or 1 credit; a deeper diagnosis is 10 credits.

### What does the delivery check do?

It buys the endpoint once for at most $0.10, checks the answer against its declared schema and measures the charge on chain, for $0.25.

### Which protocols does it cover?

x402 over HTTP or MCP, MPP from Stripe and Tempo, and L402 over Lightning.

### Is x402 Doctor free?

x402 Doctor has a free plan, with paid plans for more usage or features.

### How do I add x402 Doctor to Claude Code?

Run this command in your terminal: claude mcp add --transport http x402-doctor https://x402-doctor.fizzl.eu/mcp

### What are the best alternatives to x402 Doctor?

The closest alternatives to x402 Doctor are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github-2): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Ouroboros](https://ai-powered.com/mcp/ouroboros): Ouroboros is an open-source MCP server for developer tools.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [Concord MCP](https://ai-powered.com/mcp/concord-mcp): Concord MCP is a freemium MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/x402-doctor-2
