Skip to content
MCP server

Invar402 MCP

MCP server giving agents free trust-score lookups for x402 data APIs

Runs locally

Invar402 MCP is an open-source MCP server for agent verification. It runs locally on your machine and is started by your AI client.

Pricing
Open source
Platforms
CLI, API, Self-hosted
Runs
Locally
What it can do
Can change data (1 tool)
Version
0.1.1
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

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.

Or share it with your project

Add to .mcp.json

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

Claude Code setup guide

Add to claude_desktop_config.json

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

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

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

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

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

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.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.

VS Code setup guide

Add with the CLI

Run in a terminal

codex mcp add invar402-mcp -- npx -y invar402-mcp

Or add to config.toml

Add to ~/.codex/config.toml

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

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "invar402-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "invar402-mcp"
      ]
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

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

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

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

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

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

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.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.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

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

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

    Cline setup guide

  • Zed

    Add to Zed settings.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.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

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

    Junie

    Add to ~/.junie/mcp/mcp.json

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

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

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

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

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

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

Configuration

  • INVAR402_BASEOptional API base. Defaults to https://invar402.com
  • INVAR402_LABELOptional label included in the User-Agent. Defaults to invar402-mcp.

About Invar402 MCP

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.

Tools this server provides (15)

Taken from the project documentation; the running server may differ.

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
checkName suggests: reads
Coarse pre-check for one service by id or url
searchName suggests: reads
Keyword search over the rated catalog
recommend
Need-based picks for a task
previewName 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_createName suggests: changes
Create a free grade-drop watchlist
watch_changes
Poll grade changes since the last poll
get_historyName 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

What it does

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

Pricing

Open source

MIT-licensed server; paid API lookups are priced per call in USDC.

Invar402 MCP 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.

How AIPoweredBot checks servers