# Code402

> Code402 is a freemium MCP server for finance and payments. MCP server for finding x402-payable APIs and checking order, payment and delivery records. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Platforms:** API, Web
- **Website:** https://code402.dev
- **Repository:** https://github.com/89rat/m2m-exchange
- **MCP Registry name:** io.github.89rat/code402
- **Categories:** finance and payments, developer tools
- **Listing updated:** 2026-11-17

## About

Code402 combines two things. The registry entry describes an MCP server for discovering machine-payable APIs, probing x402 payment terms and running seller operations, described as non-custodial. The website centres on a narrower offer: comparing order, payment and delivery records to catch mismatches such as supplier or IBAN differences before a cross-border wire, and returning an inspectable exception report from records you supply.

The evaluation workflow is free: a synthetic workbench and a stateless comparison endpoint need no wallet and no payment, and the comparison handler does not execute payments. Separate API checks settle per call in Base L2 USDC or Circle EURC using x402 v2, while operators can buy card quota keys or $99 batch packs through Stripe. A scoped pilot is quoted in writing, with an initial price experiment of $500 to $1,500 for one workflow.

The site is candid about limits: a comparison is not independent proof of authorization, settlement, delivery or quality, and a receipt signature only authenticates recorded data. It also warns that a current LangChain dependency can report receipt_verified false for the extended XDR-1 form. The combined material is somewhat scattered, so details beyond these points are limited.

## Features

- **Record comparison:** Finds mismatches between order, payment and delivery records you supply.
- **Exception report:** Returns an inspectable JSON report and retains XDR-1 evidence.
- **Free evaluation:** A synthetic workbench and stateless endpoint need no wallet.
- **x402 discovery:** Discovers machine-payable APIs and probes their payment terms.
- **Free receipt verification:** Signed receipts can be verified at no charge.
- **Portable results:** Example inputs and responses download as JSON.

## Good for

- Check a supplier's IBAN against order and payment records before a wire
- Probe an API's x402 payment terms before an agent pays
- Produce an exception report for a recurring reconciliation problem
- Verify a signed receipt from a paid check

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http code402 https://rail.hcrb.in/mcp
```

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

```sh
https://rail.hcrb.in/mcp
```

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

```json
{
  "mcpServers": {
    "code402": {
      "url": "https://rail.hcrb.in/mcp"
    }
  }
}
```

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

```json
{
  "servers": {
    "code402": {
      "type": "http",
      "url": "https://rail.hcrb.in/mcp"
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "code402": {
      "serverUrl": "https://rail.hcrb.in/mcp"
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "code402": {
      "type": "http",
      "url": "https://rail.hcrb.in/mcp"
    }
  }
}
```

## FAQ

### Is there a free way to try it?

Yes. The synthetic workbench and stateless supplied-record comparison are free, with no wallet or payment.

### How are paid API checks billed?

Per call in Base L2 USDC or Circle EURC via x402 v2, or through card quota keys and $99 batch packs via Stripe.

### Does a comparison prove a payment was authorised?

No. The site says it is not independent proof of authorization, settlement, delivery or quality.

### Does it custody funds?

The registry description says it is non-custodial.

### Is Code402 free?

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

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

Run this command in your terminal: claude mcp add --transport http code402 https://rail.hcrb.in/mcp

### What are the best alternatives to Code402?

The closest alternatives to Code402 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/code402
