x402pal
by metaiio
README.md
# x402 Pal
Check an x402 payment request before your agent pays it.
An x402 seller answers an unpaid request with HTTP 402 and a quote. x402 Pal reads that quote and checks the token contract, the network, the amount and the pay-to address. It returns one of three verdicts: `no_problems_found`, `caution` or `do_not_pay`.
It is free, needs no account or key, and never pays, signs or holds keys. Operated by [SLYD](https://slyd.com).
## Use it as an MCP server
Endpoint: `https://x402pal.com/mcp` (Streamable HTTP, no authentication)
Tool: `check_payment_request`, with one of:
- `quote`: the 402 response body or the `PAYMENT-REQUIRED` header value
- `url`: a public https endpoint to fetch a quote from
Claude Code:
```bash
claude mcp add --transport http x402pal https://x402pal.com/mcp
```
Any client that reads an `mcpServers` config:
```json
{ "mcpServers": { "x402pal": { "type": "http", "url": "https://x402pal.com/mcp" } } }
```
## Use it as a Claude Code plugin
The plugin adds the MCP server, a skill that makes Claude check every quote before paying, and a `/x402-pal:check-quote` command.
```
/plugin install x402-pal --marketplace metaiio/x402pal
```
On older versions of Claude Code:
```
/plugin marketplace add metaiio/x402pal
/plugin install x402-pal@x402pal
```
## Other ways in
- Web: <https://x402pal.com/>
- HTTP: `POST https://x402pal.com/api/check` with the quote, or `GET https://x402pal.com/api/check?url=<https address>`
- A2A: `POST https://x402pal.com/a2a`, agent card at `https://x402pal.com/.well-known/agent-card.json`
## What a verdict means
| Verdict | Meaning |
| --- | --- |
| `do_not_pay` | A defect that can lose money, such as a token named USDC that is not the official contract |
| `caution` | Something unusual: a test network, a non-USDC token, a large amount, or a pay-to address that changed |
| `no_problems_found` | The payment terms passed every check |
The check covers payment terms only. It does not show that a seller is honest or that a service is good, and `no_problems_found` is not a guarantee.
## What is recorded
Each check records the seller's host, network, price, pay-to address and verdict, so the service can flag a pay-to address that changes. IP addresses are not stored. Do not send private keys, seed phrases or signed payments; the service has no use for them. Full details: <https://x402pal.com/privacy>
## License
MIT
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues