x402 Doctor MCP
An MCP server that allows AI agents to diagnose x402 payment flows, perform pre-flight checks, and verify endpoint payability without making actual payments. It provides read-only diagnostics for HTTP or MCP endpoints, supporting networks like Base and Solana, and helps agents decide whether to proceed with a payment based on challenge verification and trust metrics.
Endpoint and access
No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.
https://x402-doctor.fizzl.eu/mcpWhat its tools do
16 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.
Read-only (13)
Can change data (3)
Checks and signals
Each line is separate evidence, not a trust score.
- Passed Endpoint answered the live check ·
- Passed Endpoint and vendor documentation share a domain
- Uptime 100% over 90 days
- Availability 2 of 2 checks passed in 30 days
- Popularity 1 GitHub star
What you can do with it
- Diagnose broken x402 payment flows
- Perform pre-flight checks before paying an endpoint
- Verify endpoint payability and trust index
- Check signature and wallet safety before signing
Source and maintenance
- Last repository push
- Maintenance checked
Protocol and capabilities
- Server
- x402-doctor 1.0.3
- MCP protocol negotiated in check
- 2025-11-25
- Tools
- 16 advertised
- Resources
- Not advertised
- Resource templates
- Not advertised
- Prompts
- Not advertised
{
"tools": {
"listChanged": true
}
}Tools
16 advertised
x402_quick_check — Quick x402 endpoint check (free)
Free: does this x402 endpoint work for a paying agent? Returns pass, warn or fail with the number of problems and the top three. Limited to 10 calls per hour. For every check use x402_diagnose ($0.01); for code changes x402_fix ($0.05); before paying someone else's endpoint x402_preflight ($0.001).
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"url"
],
"properties": {
"url": {
"type": "string",
"description": "The x402 endpoint (public http(s) URL), e.g. https://api.example.com/paid"
},
"body": {
"type": "string",
"maxLength": 16384,
"description": "Example JSON request body, for a POST route that checks its input before the 402 (implies POST). Without it, {} is sent and the requestBody example in the endpoint's /openapi.json is tried."
},
"method": {
"enum": [
"GET",
"POST"
],
"type": "string",
"description": "HTTP method of the paid route (default: GET, then POST)"
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"overall",
"failures",
"warnings",
"top_problems"
],
"properties": {
"url": {
"type": "string"
},
"next": {
"type": "string"
},
"overall": {
"type": "string",
"description": "pass, warn or fail"
},
"failures": {
"type": "number"
},
"warnings": {
"type": "number"
},
"top_problems": {
"type": "array",
"items": {
"type": "string"
},
"description": "Up to three problems, failures first"
}
},
"additionalProperties": {}
}{
"readOnlyHint": true,
"openWorldHint": true
}x402_payee_check — ERC-8004 payee verification (free)
Free: is every payTo of this x402 endpoint really its seller's? Per payment option, one outcome of the draft ERC "x402 Payee Verification for ERC-8004 Agents": verified-wallet (the payTo is the agent wallet registered in the ERC-8004 Identity Registry), verified-delegation (the agent wallet signed an EIP-712 payee delegation for it), mismatch, invalid-delegation, endpoint-unlisted, owner-only (payTo is the identity's owner: never counted as verified), no-agent-wallet or not-read. The identity comes from the 402's extra.erc8004 or the seller's /.well-known/agent-registration.json. When the seller's /.well-known/agent-card.json carries a Concordium badge, the result also has concordium: the agent in Concordium's Agent Registry (CIS-8004; its owner is an identity-verified account) and per payTo verified-wallet, verified-external-key (a CIS-8 bound key), owner-only, mismatch, not-bound, revoked, card-mismatch, endpoint-unlisted or not-read. Never pays. Shares the free limit of 10 calls per hour.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"url"
],
"properties": {
"url": {
"type": "string",
"description": "The x402 endpoint (public http(s) URL), e.g. https://api.example.com/paid"
},
"body": {
"type": "string",
"maxLength": 16384,
"description": "Example JSON request body, for a POST route that checks its input before the 402 (implies POST). Without it, {} is sent and the requestBody example in the endpoint's /openapi.json is tried."
},
"method": {
"enum": [
"GET",
"POST"
],
"type": "string",
"description": "HTTP method of the paid route (default: GET, then POST)"
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"summary",
"payees"
],
"properties": {
"fix": {
"type": [
"string",
"null"
]
},
"url": {
"type": "string"
},
"agent": {
"anyOf": [
{
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
{
"type": "null"
}
],
"description": "The identity checked: registry, agentId, block read, agent wallet"
},
"payees": {
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"description": "Per payment option: network, payTo, asset, outcome (verified-wallet, verified-delegation, mismatch, invalid-delegation, endpoint-unlisted, owner-only, no-agent-wallet, not-read) and reason"
},
"status": {
"type": "string",
"description": "pass: every payTo is bound to the seller's agent; warn: some are not; info: could not confirm; none: no ERC-8004 identity found"
},
"summary": {
"type": "string"
},
"concordium": {
"anyOf": [
{
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
{
"type": "null"
}
],
"description": "Verified by Concordium, when the seller's Agent Card carries a Concordium badge: status, summary, agent (badge, network, owner, agent wallet) and payees (outcome per payment option: verified-wallet, verified-external-key, owner-only, no-agent-wallet, mismatch, not-bound, revoked, card-mismatch, endpoint-unlisted, not-read)"
}
},
"additionalProperties": {}
}{
"readOnlyHint": true,
"openWorldHint": true
}check_payment_proof — Check an x402 payment proof (free)
Free: after paying an x402 endpoint, pass the PAYMENT-RESPONSE header it returned (X-PAYMENT-RESPONSE in v1). Returns the transaction, network and payer it names, whether that transaction exists on-chain and succeeded, and which USDC moved from whom to whom, with an explorer link. Read-only. Limited to 10 calls per hour.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"header"
],
"properties": {
"header": {
"type": "string",
"maxLength": 20000,
"minLength": 8,
"description": "The PAYMENT-RESPONSE header value (base64 JSON)"
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"overall"
],
"properties": {
"checks": {
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
},
"decoded": {
"type": "object",
"description": "Transaction, network and payer named in the header",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"onchain": {
"anyOf": [
{
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
{
"type": "null"
}
],
"description": "Whether the transaction exists and succeeded, and the USDC transfers"
},
"overall": {
"type": "string",
"description": "pass, warn or fail"
},
"explorer": {
"type": [
"string",
"null"
],
"description": "Explorer link for the transaction"
}
},
"additionalProperties": {}
}{
"readOnlyHint": true,
"openWorldHint": true
}concordium_badge_check — Concordium badge lookup (free)
Free: look up an agent in Concordium's Agent Registry (CIS-8004) by its badge, the CIS-2 token address an Agent Card carries, or by the longer Agent ID that Concordium's registry app shows. Returns whether the badge is valid (Active, the card at agent_uri hashes to the metadata_hash on chain, and that card carries this badge), the owner account (tied to a verified identity), the agent wallet, the origins the card lists, and the CIS-8 key the agent binds with the address it stands for and whether the CIS-8 registry still holds it. To check the payTos of an x402 endpoint against its seller's badge, use x402_payee_check. Read-only. Shares the free limit of 10 calls per hour.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"badge"
],
"properties": {
"badge": {
"type": "string",
"maxLength": 120,
"minLength": 8,
"description": "The badge (e.g. Mf22oVsbu3vf4Jb1cga49), its ccd:<genesis>/cis-2:<address> form, or the registry app's Agent ID"
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"badge",
"valid",
"issues"
],
"properties": {
"card": {
"type": [
"string",
"null"
],
"description": "match, mismatch or unread"
},
"badge": {
"type": "string",
"description": "The badge as its short CIS-2 token address (an Agent ID is turned into it)"
},
"owner": {
"type": [
"string",
"null"
],
"description": "The owner account: a Concordium account, tied to a verified identity at the protocol level"
},
"valid": {
"type": "boolean",
"description": "Active, the card at agent_uri hashes to the metadata_hash on chain, and the card carries this badge"
},
"issues": {
"type": "array",
"items": {
"type": "string"
},
"description": "Why it is not valid; empty when valid"
},
"status": {
"type": [
"string",
"null"
]
},
"network": {
"type": [
"string",
"null"
],
"description": "mainnet or testnet, from the badge's own registry contract"
},
"tokenId": {
"type": [
"string",
"number",
"null"
]
},
"agentUri": {
"type": [
"string",
"null"
]
},
"agentWallet": {
"type": [
"string",
"null"
]
},
"card_origins": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
],
"description": "The origins the anchored card lists as the agent's own"
},
"external_key": {
"anyOf": [
{
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
{
"type": "null"
}
],
"description": "The key the agent binds with CIS-8: namespace, key_type, the address it stands for, and still_bound (the CIS-8 registry still holds it for the owner)"
}
},
"additionalProperties": {}
}{
"readOnlyHint": true,
"openWorldHint": true
}x402_facilitator_status — x402 facilitator status (free)
Free: which public x402 facilitators (PayAI, x402.org, GoPlausible, x402.rs, Dexter, Daydreams, Semantic Pay and more) answer right now, and which networks and schemes each one settles. Give a network (CAIP-2 like eip155:8453, or an x402 v1 name like base, solana, xlayer) to get only the facilitators that settle it now. Read from each facilitator's GET /supported at most every 5 minutes; never verifies or settles anything. Use it to pick a facilitator for a new paid endpoint, or to see why payments on a network fail.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"network": {
"type": "string",
"pattern": "^[a-z0-9-]{2,32}(:[-_a-zA-Z0-9/+=]{1,64})?$",
"description": "A network to filter on, e.g. eip155:196 or xlayer"
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"checked_at",
"up",
"down",
"facilitators"
],
"properties": {
"up": {
"type": "number",
"description": "Facilitators that answered GET /supported with at least one payment kind"
},
"down": {
"type": "number"
},
"network": {
"anyOf": [
{
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
{
"type": "null"
}
],
"description": "With a network asked for: its CAIP-2 id, name, and facilitators_up (the ids that settle it right now)"
},
"checked_at": {
"type": "string"
},
"facilitators": {
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"description": "Per facilitator: id, name, url, state (up, slow, down, not_checked), note, networks (CAIP-2, testnet flag, schemes), schemes, x402_versions, recent checks, last_up"
}
},
"additionalProperties": {}
}{
"readOnlyHint": true,
"openWorldHint": true
}x402_trust_record — x402 Trust Index record (free)
Free: the daily track record of a paid x402 or MPP endpoint from the x402 Trust Index: on how many of the last 30 scanned days an agent could pay it, the latest verdict and reasons, price and networks. found: false when it is not in the index; add your own endpoint with x402_trust_add. Limited to 10 calls per hour. Before paying, x402_preflight ($0.001) checks the live 402 and includes this record.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"url"
],
"properties": {
"url": {
"type": "string",
"description": "The x402 endpoint (public http(s) URL), e.g. https://api.example.com/paid"
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"url",
"found"
],
"properties": {
"url": {
"type": "string"
},
"last": {
"type": [
"string",
"null"
],
"description": "Latest day: g go, c caution, n no_go, x unreachable"
},
"found": {
"type": "boolean",
"description": "false: not in the Trust Index (see how_to_list)"
},
"last_scan": {
"anyOf": [
{
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
{
"type": "null"
}
],
"description": "The latest verdict, reasons, price and networks"
},
"submitted": {
"type": [
"boolean",
"null"
],
"description": "Added by its seller, not listed in a registry"
},
"how_to_list": {
"type": [
"string",
"null"
]
},
"days_checked": {
"type": [
"number",
"null"
]
},
"days_payable": {
"type": [
"number",
"null"
],
"description": "Days the daily scan found it payable (go or caution)"
},
"payable_ratio": {
"type": [
"number",
"null"
]
}
},
"additionalProperties": {}
}{
"readOnlyHint": true,
"openWorldHint": false
}x402_trust_add — Add your endpoint to the x402 Trust Index (free)
Free: add your own paid endpoint to the x402 Trust Index when no registry lists it yet (CDP Bazaar, Circle's Agent Marketplace, GoPlausible, XRPL AI Hub, nohumans.directory, PayAPI Market, HIVE402, MPP directory). x402 Doctor first checks that it answers 402 with a payment challenge (x402, MPP or L402); the next daily scan starts its record, which buyers' agents see before they pay. At most 25 endpoints per host. Limited to 10 calls per hour.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"url"
],
"properties": {
"url": {
"type": "string",
"description": "The x402 endpoint (public http(s) URL), e.g. https://api.example.com/paid"
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"ok"
],
"properties": {
"ok": {
"type": "boolean",
"description": "true: added, already added, or already listed"
},
"url": {
"type": [
"string",
"null"
]
},
"check": {
"type": [
"string",
"null"
],
"description": "The free web check for this URL"
},
"error": {
"type": [
"string",
"null"
],
"description": "Why it was not added"
},
"status": {
"type": [
"string",
"null"
],
"description": "added, submitted (already added) or listed (a registry lists it)"
},
"message": {
"type": [
"string",
"null"
]
},
"verdict": {
"type": [
"string",
"null"
],
"description": "The pre-payment verdict when it was added"
}
},
"additionalProperties": {}
}{
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}verify_receipt — Verify a signed x402 Doctor answer (free)
Free: check the signed receipt that every paid x402 Doctor answer carries (diagnose, preflight, batch, deep, fix, delivery check; HTTP or MCP), for example to prove later which verdict you got before paying an endpoint. Pass the whole answer as response. Returns valid, the signer and whether it is an x402 Doctor signer; with route and input also whether the receipt is for exactly that request. A changed verdict or receipt fails. Read-only, nothing is stored. Same as POST /api/v1/verify.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"response"
],
"properties": {
"input": {
"type": "object",
"description": "The tool arguments you sent (MCP), or the query parameters as strings (HTTP)",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"route": {
"type": "string",
"description": "The request it answered: \"mcp <tool name>\" for an MCP answer (e.g. \"mcp x402_preflight\"), \"GET /api/v1/preflight\" for an HTTP one"
},
"response": {
"type": "object",
"description": "The whole paid answer as you received it, including its receipt",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"valid"
],
"properties": {
"valid": {
"type": "boolean",
"description": "true: signed by an x402 Doctor signer, unchanged, and (when route and input are given) for that request"
},
"reason": {
"type": "string",
"description": "Why it is not valid"
},
"signer": {
"type": "string",
"description": "The address that signed it"
},
"known_signer": {
"type": [
"boolean",
"null"
],
"description": "Whether that address is a current, retired or certified x402 Doctor signer"
},
"input_matches": {
"type": "boolean",
"description": "Only with route and input: whether the receipt is for exactly that request"
},
"signer_status": {
"type": [
"string",
"null"
],
"description": "current, retired or certified"
}
},
"additionalProperties": {}
}{
"readOnlyHint": true,
"openWorldHint": false
}x402_diagnose — Diagnose an x402 endpoint ($0.01 via x402)
Paid ($0.01 via x402 in USDC on Base, Solana, Monad, Polygon, Arbitrum, Avalanche, Algorand, Stellar or NEAR, or in RLUSD on the XRP Ledger): diagnose an x402 endpoint the way a paying agent would, without paying it: the 402 challenge format, every accepts[] option, the resource URL, Solana settlement readiness, which wallets can pay, Bazaar/OpenAPI discovery and the browser paywall. Returns every check with pass/warn/fail and a fix hint. For the endpoint's owner or a developer debugging it; to decide whether to pay someone else's endpoint, use x402_preflight. Same as GET /api/v1/diagnose. The answer carries a signed receipt (EIP-191, bound to your arguments) that proves later which verdict you got.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"url"
],
"properties": {
"url": {
"type": "string",
"description": "The x402 endpoint (public http(s) URL), e.g. https://api.example.com/paid"
},
"body": {
"type": "string",
"maxLength": 16384,
"description": "Example JSON request body, for a POST route that checks its input before the 402 (implies POST). Without it, {} is sent and the requestBody example in the endpoint's /openapi.json is tried."
},
"method": {
"enum": [
"GET",
"POST"
],
"type": "string",
"description": "HTTP method of the paid route (default: GET, then POST)"
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"url": {
"type": [
"string",
"null"
]
},
"checks": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
},
{
"type": "null"
}
],
"description": "Every check with its status, message and hint"
},
"accepts": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
},
{
"type": "null"
}
],
"description": "Only on an unpaid call: the x402 payment options"
},
"overall": {
"anyOf": [
{
"type": "string",
"description": "pass, warn or fail"
},
{
"type": "null"
}
],
"description": "pass, warn or fail (absent on the payment requirement)"
},
"receipt": {
"anyOf": [
{
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
{
"type": "null"
}
],
"description": "Signed receipt (EIP-191) binding the answer to your arguments"
}
},
"additionalProperties": {}
}{
"readOnlyHint": true,
"openWorldHint": true
}x402_preflight — Check an x402 endpoint before paying it ($0.001 via x402)
Paid ($0.001 via x402 in USDC on Base, Solana, Monad, Polygon, Arbitrum, Avalanche, Algorand, Stellar or NEAR, or in RLUSD on the XRP Ledger): call this before your agent pays an x402 endpoint. Returns go, caution or no_go, the recommended payment option, and why: payment would fail, the seller's payout address is on the OFAC SDN sanctions list, over your budget (max_usd), price above what is advertised, not HTTPS, unknown token, its 30-day track record. Never pays the endpoint. The buyer's check for one call; for several endpoints at once use x402_preflight_batch, before a payment above about $1 x402_preflight_deep, and to debug your own endpoint x402_diagnose. Same as GET /api/v1/preflight. The answer carries a signed receipt (EIP-191, bound to your arguments) that proves later which verdict you got.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"url"
],
"properties": {
"url": {
"type": "string",
"description": "The x402 endpoint (public http(s) URL), e.g. https://api.example.com/paid"
},
"body": {
"type": "string",
"maxLength": 16384,
"description": "Example JSON request body, for a POST route that checks its input before the 402 (implies POST). Without it, {} is sent and the requestBody example in the endpoint's /openapi.json is tried."
},
"client": {
"enum": [
"gateway"
],
"type": "string",
"description": "Set to gateway when your agent pays with Circle's Gateway client (@circle-fin/x402-batching) from a Gateway balance: Gateway-only endpoints are then not a caution, and Gateway options are recommended first."
},
"method": {
"enum": [
"GET",
"POST"
],
"type": "string",
"description": "HTTP method of the paid route (default: GET, then POST)"
},
"pay_to": {
"type": "string",
"pattern": "^[A-Za-z0-9:._-]{20,128}$",
"description": "The payout address (payTo) your agent was asked to pay, from the 402 it got. x402 Doctor screens that address too (OFAC SDN) and says caution (payto_not_shown) when the seller showed x402 Doctor another one: a seller can show a checker one 402 and buyers another."
},
"max_usd": {
"type": "number",
"description": "Your budget per call in USD, e.g. 0.05",
"exclusiveMinimum": 0
},
"network": {
"type": "string",
"description": "CAIP-2 network you want to pay on, e.g. eip155:8453"
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"url": {
"type": [
"string",
"null"
]
},
"accepts": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
},
{
"type": "null"
}
],
"description": "Only on an unpaid call: the x402 payment options"
},
"options": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
},
{
"type": "null"
}
],
"description": "Each payment option with its network, price and problems"
},
"reasons": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
},
{
"type": "null"
}
]
},
"receipt": {
"anyOf": [
{
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
{
"type": "null"
}
],
"description": "Signed receipt (EIP-191) binding the answer to your arguments"
},
"summary": {
"type": [
"string",
"null"
],
"description": "One line, e.g. OK to pay: $0.02 on Base."
},
"verdict": {
"anyOf": [
{
"type": "string",
"description": "go: pay; caution: stop and ask your user first, saying why; no_go: do not pay"
},
{
"type": "null"
}
]
},
"next_step": {
"anyOf": [
{
"type": "string",
"description": "pay, ask_user (a caution: tell your user why and pay only if they accept) or do_not_pay"
},
{
"type": "null"
}
]
},
"safe_to_pay": {
"type": [
"boolean",
"null"
]
}
},
"additionalProperties": {}
}{
"readOnlyHint": true,
"openWorldHint": true
}x402_fix — Fix plan for an x402 endpoint ($0.05 via x402)
Paid ($0.05 via x402 in USDC on Base, Solana, Monad, Polygon, Arbitrum, Avalanche, Algorand, Stellar or NEAR, or in RLUSD on the XRP Ledger): diagnoses your x402 endpoint, then returns per problem the concrete change as code for your stack (express, next, hono, node, python, generic), filled in with your own payTo, amount, network and route. A working endpoint gets improvements too (ERC-8004 identity, Base Builder Code, x402scan ownership proof, skill.md, browser paywall, Bazaar output schema), each with code. For the endpoint's owner: includes the diagnosis, so there is no need to call x402_diagnose first. Same as GET /api/v1/fix. The answer carries a signed receipt (EIP-191, bound to your arguments) that proves later which verdict you got.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"url"
],
"properties": {
"url": {
"type": "string",
"description": "The x402 endpoint (public http(s) URL), e.g. https://api.example.com/paid"
},
"body": {
"type": "string",
"maxLength": 16384,
"description": "Example JSON request body, for a POST route that checks its input before the 402 (implies POST). Without it, {} is sent and the requestBody example in the endpoint's /openapi.json is tried."
},
"stack": {
"enum": [
"express",
"next",
"hono",
"node",
"python",
"generic"
],
"type": "string",
"description": "Your server stack (default: detected)"
},
"method": {
"enum": [
"GET",
"POST"
],
"type": "string",
"description": "HTTP method of the paid route (default: GET, then POST)"
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"url": {
"type": [
"string",
"null"
]
},
"fixes": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
},
{
"type": "null"
}
],
"description": "Each problem with steps and code for your stack"
},
"accepts": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
},
{
"type": "null"
}
],
"description": "Only on an unpaid call: the x402 payment options"
},
"overall": {
"anyOf": [
{
"type": "string",
"description": "pass, warn or fail"
},
{
"type": "null"
}
]
},
"receipt": {
"anyOf": [
{
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
{
"type": "null"
}
],
"description": "Signed receipt (EIP-191) binding the answer to your arguments"
},
"summary": {
"type": [
"string",
"null"
]
},
"unfixed": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
},
{
"type": "null"
}
]
},
"improvements": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
},
{
"type": "null"
}
],
"description": "Not wrong, but makes the service easier to find, trust or pay: steps and code"
}
},
"additionalProperties": {}
}{
"readOnlyHint": true,
"openWorldHint": true
}x402_preflight_batch — Check up to 10 x402 endpoints before paying ($0.005 via x402)
Paid ($0.005 via x402 in USDC on Base, Solana, Monad, Polygon, Arbitrum, Avalanche, Algorand, Stellar or NEAR, or in RLUSD on the XRP Ledger): the pre-payment check for up to 10 x402 endpoints at once. Per endpoint go, caution or no_go, the recommended payment option and why, plus totals. For marketplaces and agents that weigh several services. Never pays the endpoints. Same as GET /api/v1/preflight/batch. The answer carries a signed receipt (EIP-191, bound to your arguments) that proves later which verdict you got.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"urls"
],
"properties": {
"urls": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 10,
"minItems": 1,
"description": "The x402 endpoints to check (public http(s) URLs), at most 10"
},
"client": {
"enum": [
"gateway"
],
"type": "string",
"description": "Set to gateway when your agent pays with Circle's Gateway client (@circle-fin/x402-batching) from a Gateway balance: Gateway-only endpoints are then not a caution, and Gateway options are recommended first."
},
"method": {
"enum": [
"GET",
"POST"
],
"type": "string",
"description": "HTTP method of the paid route (default: GET, then POST)"
},
"max_usd": {
"type": "number",
"description": "Your budget per call in USD, e.g. 0.05",
"exclusiveMinimum": 0
},
"network": {
"type": "string",
"description": "CAIP-2 network you want to pay on, e.g. eip155:8453"
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"count": {
"type": [
"number",
"null"
]
},
"counts": {
"anyOf": [
{
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "number"
}
},
{
"type": "null"
}
],
"description": "How many go, caution, no_go and unknown"
},
"accepts": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
},
{
"type": "null"
}
],
"description": "Only on an unpaid call: the x402 payment options"
},
"receipt": {
"anyOf": [
{
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
{
"type": "null"
}
],
"description": "Signed receipt (EIP-191) binding the answer to your arguments"
},
"results": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
},
{
"type": "null"
}
],
"description": "One preflight per endpoint"
}
},
"additionalProperties": {}
}{
"readOnlyHint": true,
"openWorldHint": true
}x402_preflight_deep — Deep check of an x402 endpoint before an expensive payment ($0.01 via x402)
Paid ($0.01 via x402 in USDC on Base, Solana, Monad, Polygon, Arbitrum, Avalanche, Algorand, Stellar or NEAR, or in RLUSD on the XRP Ledger): for expensive calls. The pre-payment verdict (go, caution or no_go) plus the full diagnosis, the 30-day history per day, how reliable the seller's other endpoints are and whether the endpoint moved domains. Never pays the endpoint. Worth it before a payment above about $1; for an ordinary call x402_preflight is enough. Same as GET /api/v1/preflight/deep. The answer carries a signed receipt (EIP-191, bound to your arguments) that proves later which verdict you got.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"url"
],
"properties": {
"url": {
"type": "string",
"description": "The x402 endpoint (public http(s) URL), e.g. https://api.example.com/paid"
},
"body": {
"type": "string",
"maxLength": 16384,
"description": "Example JSON request body, for a POST route that checks its input before the 402 (implies POST). Without it, {} is sent and the requestBody example in the endpoint's /openapi.json is tried."
},
"client": {
"enum": [
"gateway"
],
"type": "string",
"description": "Set to gateway when your agent pays with Circle's Gateway client (@circle-fin/x402-batching) from a Gateway balance: Gateway-only endpoints are then not a caution, and Gateway options are recommended first."
},
"method": {
"enum": [
"GET",
"POST"
],
"type": "string",
"description": "HTTP method of the paid route (default: GET, then POST)"
},
"max_usd": {
"type": "number",
"description": "Your budget per call in USD, e.g. 0.5",
"exclusiveMinimum": 0
},
"network": {
"type": "string",
"description": "CAIP-2 network you want to pay on, e.g. eip155:8453"
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"url": {
"type": [
"string",
"null"
]
},
"accepts": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
},
{
"type": "null"
}
],
"description": "Only on an unpaid call: the x402 payment options"
},
"options": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
},
{
"type": "null"
}
]
},
"reasons": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
},
{
"type": "null"
}
]
},
"receipt": {
"anyOf": [
{
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
{
"type": "null"
}
],
"description": "Signed receipt (EIP-191) binding the answer to your arguments"
},
"summary": {
"type": [
"string",
"null"
]
},
"verdict": {
"anyOf": [
{
"type": "string",
"description": "go: pay; caution: stop and ask your user first, saying why; no_go: do not pay"
},
{
"type": "null"
}
]
},
"next_step": {
"anyOf": [
{
"type": "string",
"description": "pay, ask_user (a caution: tell your user why and pay only if they accept) or do_not_pay"
},
{
"type": "null"
}
]
},
"safe_to_pay": {
"type": [
"boolean",
"null"
]
}
},
"additionalProperties": {}
}{
"readOnlyHint": true,
"openWorldHint": true
}x402_delivery_check — Have an x402 endpoint bought once: paid and delivered? ($0.25 via x402)
Paid ($0.25 via x402 in USDC on Base, Solana, Monad, Polygon, Arbitrum, Avalanche, Algorand, Stellar or NEAR, or in RLUSD on the XRP Ledger): not a reading but a purchase. x402 Doctor buys the endpoint once (at most $0.1, USDC on Base, from its own wallet) with the example input its listing declares, checks the answer against the declared output schema, has TypeSafe's Jev judge whether it is what was paid for, and measures the charge on chain. Answers with a job id at once; follow it with x402_delivery_status (free), the result usually comes within minutes. The endpoint must get a "go" from the pre-payment check and be payable in USDC on Base; otherwise it is refused before payment. Same as GET /api/v1/delivery-check. The answer carries a signed receipt (EIP-191, bound to your arguments) that proves later which verdict you got.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"url"
],
"properties": {
"url": {
"type": "string",
"description": "The x402 endpoint to buy once (https, someone else's, payable in USDC on Base)"
},
"method": {
"enum": [
"GET",
"POST"
],
"type": "string",
"description": "HTTP method of the paid route (default: GET, then POST)"
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"id": {
"type": [
"string",
"null"
],
"description": "The job id: pass it to x402_delivery_status"
},
"url": {
"type": [
"string",
"null"
]
},
"status": {
"type": [
"string",
"null"
],
"description": "queued, then done"
},
"accepts": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
},
{
"type": "null"
}
],
"description": "Only on an unpaid call: the x402 payment options"
},
"receipt": {
"anyOf": [
{
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
{
"type": "null"
}
],
"description": "Signed receipt (EIP-191) binding the answer to your arguments"
},
"status_url": {
"type": [
"string",
"null"
]
},
"endpoint_price_usd": {
"type": [
"number",
"null"
]
}
},
"additionalProperties": {}
}{
"readOnlyHint": false,
"openWorldHint": true,
"destructiveHint": false
}x402_delivery_status — Status of a delivery check (free)
Free: the status of a delivery check ordered with x402_delivery_check (or GET /api/v1/delivery-check): awaiting_payment, queued or done, and once done the result: paid_and_delivered, the outcome, the charge measured on chain and the transaction.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"pattern": "^[a-z0-9]{10}$",
"description": "The job id x402_delivery_check answered with"
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"id",
"status"
],
"properties": {
"id": {
"type": "string"
},
"url": {
"type": [
"string",
"null"
]
},
"result": {
"anyOf": [
{
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
{
"type": "null"
}
],
"description": "Once done: paid_and_delivered, result, charged_usd, transaction, cache (could a CDN serve the paid answer to callers who did not pay)"
},
"status": {
"type": "string",
"description": "awaiting_payment, queued or done"
},
"status_url": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": {}
}{
"readOnlyHint": true,
"openWorldHint": false
}feedback — Send feedback (free)
Report a bug, a missing feature or anything else about this service, in a structured way. Free. A person reads every report; nothing is run or changed automatically.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"message"
],
"properties": {
"type": {
"enum": [
"bug",
"feature",
"other"
],
"type": "string",
"description": "bug, feature (something missing) or other"
},
"contact": {
"type": "string",
"description": "Optional: how to reach you about it"
},
"message": {
"type": "string",
"description": "What happened or what you need"
},
"payment": {
"type": "object",
"properties": {
"tx": {
"type": "string",
"description": "The transaction hash or signature, e.g. the settlement transaction from the pay answer"
},
"network": {
"type": "string",
"description": "Its network, e.g. eip155:8453 (Base), solana, xrpl:0"
},
"receipt": {
"type": "string",
"description": "A receipt id you were given for it"
}
},
"description": "Optional: the payment it is about, when a paid call went wrong: its transaction (with the network) or a receipt id"
},
"endpoint": {
"type": "string",
"description": "Optional: the route or tool it is about, e.g. /v1/token"
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"received",
"id"
],
"properties": {
"id": {
"type": "string",
"description": "Report id, to refer to it later"
},
"note": {
"type": "string"
},
"type": {
"type": "string"
},
"service": {
"type": "string"
},
"received": {
"type": "boolean",
"description": "true: a person will read it"
}
},
"additionalProperties": {}
}{
"readOnlyHint": false,
"openWorldHint": false,
"destructiveHint": false
}Prompts
Not advertised
Resources
Not advertised
90-day uptime
A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.
- 2026-11-02: 3 of 3 checks answered
- 2026-11-03: 4 of 4 checks answered
- 2026-11-04: 4 of 4 checks answered
- 2026-11-05: 4 of 4 checks answered
- 2026-11-06: 4 of 4 checks answered
- 2026-11-07: 2 of 2 checks answered
- 2026-11-09: 1 of 1 checks answered
- 2026-11-10: 2 of 2 checks answered
- 2026-11-11: 1 of 1 checks answered
- 2026-11-12: 1 of 1 checks answered
- 2026-11-14: 1 of 1 checks answered
- 2026-11-15: 2 of 2 checks answered
- 2026-11-16: 4 of 4 checks answered
- 2026-11-17: 5 of 5 checks answered
- 2026-11-18: 5 of 5 checks answered
- 2026-11-19: 4 of 4 checks answered
- 2026-11-20: 2 of 2 checks answered
- 2026-11-21: 4 of 4 checks answered
- 2026-11-22: 4 of 4 checks answered
- 2026-11-23: 4 of 4 checks answered
- 2026-11-24: 4 of 4 checks answered
- 2026-11-25: 4 of 4 checks answered
- 2026-11-26: 3 of 3 checks answered
30-day availability
Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.
- Successful checks
- 2 of 2 (100%)
- Average latency
- 636 ms
- 95th percentile latency
- 662 ms
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · probe · passed · 665 ms · metadata changed · 16 tool(s)
- · probe · passed · 606 ms · metadata changed · 16 tool(s)
- · repository · passed · metadata changed · updated
- · repository · passed · metadata changed · updated
- · repository · passed · metadata changed · updated
- · registry · passed · metadata changed · Source metadata updated
- · backfill · recorded · Pre-expansion baseline; unobserved rich metadata remains unknown
Connect from your client
Each snippet registers the same endpoint; pick the client you use.
Claude Code
claude mcp add --transport http x402-doctor-mcp https://x402-doctor.fizzl.eu/mcpCodex
codex mcp add x402-doctor-mcp --url https://x402-doctor.fizzl.eu/mcpCursor
{
"mcpServers": {
"x402-doctor-mcp": {
"url": "https://x402-doctor.fizzl.eu/mcp"
}
}
}Cline
{
"mcpServers": {
"x402-doctor-mcp": {
"type": "streamableHttp",
"url": "https://x402-doctor.fizzl.eu/mcp",
"disabled": false
}
}
}VS Code
{
"servers": {
"x402-doctor-mcp": {
"type": "http",
"url": "https://x402-doctor.fizzl.eu/mcp"
}
}
}Gemini CLI
gemini mcp add --transport http x402-doctor-mcp https://x402-doctor.fizzl.eu/mcpClaude Desktop
https://x402-doctor.fizzl.eu/mcpWindsurf
{
"mcpServers": {
"x402-doctor-mcp": {
"serverUrl": "https://x402-doctor.fizzl.eu/mcp"
}
}
}Let your agent find its tools
Find servers like x402 Doctor MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.
Other payments servers
Do you run x402 Doctor MCP?
Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.