# Invar402 MCP

> Invar402 MCP is an open-source MCP server for agent verification. MCP server giving agents free trust-score lookups for x402 data APIs. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, API, Self-hosted
- **Repository:** https://github.com/dumeinao441-ux/invar402-mcp
- **MCP Registry name:** io.github.dumeinao441-ux/invar402-mcp
- **Categories:** [agent verification](https://ai-powered.com/categories/agent-verification)
- **Listing updated:** 2026-12-01

## About

Invar402 is a stdio MCP server that lets an AI agent look up and compare x402 data services before it calls them. Free tools cover catalog search, need-based recommendations, category rankings, host-level scores, grade-drop watchlists and score history for individual services.

Paid verification routes such as single-service reports, service lists and bulk lookups are exposed as tools that return the x402 payment quote in-band. The server never holds a wallet or key, so the host agent's own wallet decides whether to pay. Sellers can also run an unpaid self-check on their own https x402 endpoint.

The package suits developers building agents that buy data over x402 on Base and want a vetting step before spending. It can be run with npx, Docker or from a local checkout, and it has no dependencies beyond Node.js 18 or later.

## Features

- **Free catalog search:** Keyword and need-based search across the rated catalog of x402 data services.
- **Category rankings:** Ranked lists of services within categories such as crypto prices or weather.
- **Price-versus-quality comparison:** Compares services by id, query or category and suggests a value pick.
- **Grade-drop watchlists:** Creates a 30-day watchlist and reports grade changes since the last poll.
- **Score and uptime history:** Daily score and uptime history for a single service, with gaps shown as null.
- **Unpaid x402 quotes:** Paid routes return the 402 payment quote in-band rather than paying automatically.
- **Seller self-check:** Unpaid check of an https x402 endpoint that never triggers a payment.

## Good for

- Choosing a data API for an agent before paying for it over x402
- Comparing price and quality across services in one category
- Setting up alerts when a monitored service's grade drops
- Pre-checking a seller's own x402 endpoint before publishing it
- Giving an agent a discovery tool that keeps payment decisions with its own wallet

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add invar402-mcp -- npx -y invar402-mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "invar402-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "invar402-mcp"
      ]
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "invar402-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "invar402-mcp"
      ]
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

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

```json
{
  "mcpServers": {
    "invar402-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "invar402-mcp"
      ]
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "invar402-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "invar402-mcp"
      ]
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add invar402-mcp -- npx -y invar402-mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.invar402-mcp]
command = "npx"
args = ["-y", "invar402-mcp"]
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "invar402-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "invar402-mcp"
      ]
    }
  }
}
```

Or run: gemini mcp add -s user invar402-mcp npx -- -y invar402-mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "invar402-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "invar402-mcp"
      ]
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "invar402-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "invar402-mcp"
      ]
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "invar402-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "invar402-mcp"
      ]
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "invar402-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "invar402-mcp"
      ]
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "invar402-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "invar402-mcp"
      ]
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "invar402-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "invar402-mcp"
      ]
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "invar402-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "invar402-mcp"
      ]
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

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

```json
{
  "mcpServers": {
    "invar402-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "invar402-mcp"
      ]
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 1 of 15 tools changes data; 10 names don't say. From the server's own tool labels and tool names; not verified by us.

- `health`: Worker health and catalog stats
- `check` (name suggests: reads): Coarse pre-check for one service by id or url
- `search` (name suggests: reads): Keyword search over the rated catalog
- `recommend`: Need-based picks for a task
- `preview` (name suggests: reads): Three sample verify reports in the paid shape
- `leaderboard`: Host-level mean scores
- `rankings`: Category rankings
- `compare`: Price-versus-quality comparison with a value pick
- `watch_create` (name suggests: changes): Create a free grade-drop watchlist
- `watch_changes`: Poll grade changes since the last poll
- `get_history` (name suggests: reads): Daily score and uptime history for one service
- `seller_selfcheck`: Unpaid self-check of one https x402 endpoint
- `verify`: Paid verify route; returns the 402 quote
- `services`: Paid services route; returns the 402 quote
- `verify_bulk`: Bulk paid verify route; returns the 402 quote

## FAQ

### Does the MCP server pay for paid lookups?

No. Paid routes return the x402 quote in-band, and the host agent's own wallet decides whether to pay.

### How do I install Invar402 MCP?

Run npx -y invar402-mcp, install it globally with npm, use the Docker image, or run it from a local checkout with Node.js 18 or later.

### Which environment variables are supported?

INVAR402_BASE sets the API base, defaulting to https://invar402.com, and INVAR402_LABEL sets a label included in the User-Agent.

### What does the paid lookup cost?

A paid lookup is listed at $0.002 USDC on Base, and bulk verification is listed at a flat $0.01 USDC for up to 20 ids.

### How do I add Invar402 MCP to Claude Code?

Run this command in your terminal: claude mcp add invar402-mcp -- npx -y invar402-mcp

### What are the best alternatives to Invar402 MCP?

The closest alternatives to Invar402 MCP are X402 Trust MCP and x402 Discovery MCP.

## Where this comes from

- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [X402 Trust MCP](https://ai-powered.com/mcp/x402-trust-mcp): X402 Trust MCP is a freemium MCP server for finance and payments.
- [x402 Discovery MCP](https://ai-powered.com/mcp/x402-discovery-mcp): x402 Discovery MCP is an open-source MCP server for mcp data access.

---
Source: https://ai-powered.com/mcp/invar402-mcp
