# Preflight Checks (x402)

> Preflight Checks (x402) is a paid MCP server for security. Pay-per-call checks for agents: packages, CVEs, legal citations and transactions. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Paid
- **Platforms:** API, CLI
- **Website:** https://preflight402.com
- **Repository:** https://github.com/josediegorobles/preflight-x402/tree/HEAD/packages/mcp-server
- **MCP Registry name:** io.github.josediegorobles/preflight-checks
- **Categories:** security, developer tools
- **Listing updated:** 2026-11-15

## About

Preflight is built for the step before something irreversible: installing a package a model suggested, signing a transaction, or publishing a legal claim. Each check queries public registries when needed, or searches pinned official legal texts, and returns a compact result with an official_url plus a checked_at timestamp or corpus version.

The site lists checks for dependency names that may have been invented, exact dependency versions and hashes, Bitcoin transactions and their input chain context, EVM transaction calldata, CVE identifiers, EU law citations and AI Act obligations by role. The dependency check is listed at $0.05 and Bitcoin inspection at $0.10. Calls are paid in USDC over x402 on Base, and the MCP package needs a Base wallet private key with USDC.

It does not return a safe or approved verdict. Responses come from deterministic parsing, retrieval and validation, with no LLM in the critical path, and nothing is charged when the check itself fails. The same checks are also offered as an x402 API and an Apify Actor.

## Features

- **Dependency name check:** Catches package names a model may have invented before they are installed.
- **Version and hash check:** Verifies an exact package version or lockfile entry before pinning.
- **Bitcoin and EVM inspection:** Inspects Bitcoin transactions and Ethereum or Base transactions and calldata before signing.
- **Legal and CVE lookups:** Checks EU law citations, CVE records and AI Act obligations against official sources.
- **Cited, timestamped results:** Each result carries an official_url and a checked_at time or corpus version.
- **No charge on failure:** Settlement happens after the check, and failed work is not billed.

## Good for

- Verify an AI-suggested package exists before installing
- Inspect a Bitcoin transaction before broadcasting
- Review EVM calldata before signing
- Confirm a CVE ID produced by a model is real
- Check an EU law citation before publishing

## Install

### Claude Code (Terminal)

```sh
claude mcp add preflight-checks --env PREFLIGHT_BUYER_PRIVATE_KEY='<PREFLIGHT_BUYER_PRIVATE_KEY>' -- npx -y @joserobles/preflight-mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "preflight-checks": {
      "command": "npx",
      "args": [
        "-y",
        "@joserobles/preflight-mcp"
      ],
      "env": {
        "PREFLIGHT_BUYER_PRIVATE_KEY": "<PREFLIGHT_BUYER_PRIVATE_KEY>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "preflight-checks": {
      "command": "npx",
      "args": [
        "-y",
        "@joserobles/preflight-mcp"
      ],
      "env": {
        "PREFLIGHT_BUYER_PRIVATE_KEY": "<PREFLIGHT_BUYER_PRIVATE_KEY>"
      }
    }
  }
}
```

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

```json
{
  "servers": {
    "preflight-checks": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@joserobles/preflight-mcp"
      ],
      "env": {
        "PREFLIGHT_BUYER_PRIVATE_KEY": "<PREFLIGHT_BUYER_PRIVATE_KEY>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "preflight-checks": {
      "command": "npx",
      "args": [
        "-y",
        "@joserobles/preflight-mcp"
      ],
      "env": {
        "PREFLIGHT_BUYER_PRIVATE_KEY": "<PREFLIGHT_BUYER_PRIVATE_KEY>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "preflight-checks": {
      "command": "npx",
      "args": [
        "-y",
        "@joserobles/preflight-mcp"
      ],
      "env": {
        "PREFLIGHT_BUYER_PRIVATE_KEY": "<PREFLIGHT_BUYER_PRIVATE_KEY>"
      }
    }
  }
}
```

## FAQ

### How is it paid for?

Per call in USDC over x402 on Base; the MCP server reads a Base wallet private key from PREFLIGHT_BUYER_PRIVATE_KEY and the registry entry lists 0.05 USDC per check.

### Does it say whether something is safe?

No. It describes, cites and links, and leaves the decision to the caller.

### Is an LLM involved?

No. The site says responses come from deterministic parsing, retrieval and validation.

### How do I run the MCP server?

With npx @joserobles/preflight-mcp over stdio.

### Is Preflight Checks (x402) free?

No. Preflight Checks (x402) is a paid product.

### How do I add Preflight Checks (x402) to Claude Code?

Run this command in your terminal: claude mcp add preflight-checks --env PREFLIGHT_BUYER_PRIVATE_KEY='<PREFLIGHT_BUYER_PRIVATE_KEY>' -- npx -y @joserobles/preflight-mcp

### What are the best alternatives to Preflight Checks (x402)?

The closest alternatives to Preflight Checks (x402) 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/preflight-checks-x402
