invar402-mcp MCP Server
Invar402 trust scores for x402 data APIs, checked against reference data.
invar402-mcp scores 66 (Good), licensed MIT and written in JavaScript. It installs as a local process. It declares 5 tools. Filed under Uncategorized. GitHub shows 0 stars. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
66 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade A
90/100 for listing completeness. Lost points: short summary, no docs link.
How quality is graded
Where the 66 comes from
22 + 20 + 0 + 10 + 4 + 10 = 66. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "dumeinao441-ux-invar402-mcp": { "command": "npx", "args": [ "-y", "invar402-mcp@0.1.1" ], "env": { "INVAR402_BASE": "", "INVAR402_LABEL": "" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
INVAR402_BASE | Optional | Optional API base. Defaults to https://invar402.com |
INVAR402_LABEL | Optional | Optional label included in the User-Agent. Defaults to invar402-mcp. |
Tools5Tool docs quality grade B
All capabilitiesget_historytoolDaily score and uptime history for one service (id, optional days); days with no stored observation are null
seller_selfchecktoolUnpaid self-check of one https x402 endpoint (url); never pays
verify_bulktoolGET /verify/bulk?ids=.... If payment is required, returns the 402 quote. Flat $0.01 USDC for up to 20 ids. This server never pays.
watch_changestoolPoll grade changes since the last poll (token)
watch_createtoolCreate a free grade-drop watchlist (ids, optional threshold); returns a 30-day token
About
Invar402 public packages
This repository holds the Invar402 MCP server and thin plugins for other agent frameworks. Every package is our own MIT-licensed code. None of them hold a wallet, API key, or facilitator secret, and none of them pay automatically.
Website: https://invar402.com
Network: Base (eip155:8453)
Paid lookup: $0.002 USDC
Paid /verify and /services calls return the x402 402 quote unless the developer opts in with both a payWithX402 / pay_with_x402 flag and a host-provided x402 fetch wrapper. Packages will not build a payer from a private key or from an AgentKit wallet.
Packages
| Folder | Registry name | What it is |
|---|---|---|
| (repo root) | invar402-mcp (npm) | Stdio MCP server |
packages/client | invar402-client (npm) | Shared HTTP client |
packages/agentkit | invar402-agentkit (npm) | Coinbase AgentKit action provider (TypeScript) |
packages/agentkit-py | invar402-agentkit (PyPI) | Coinbase AgentKit action provider (Python) |
packages/langchain-py | langchain-invar402 (PyPI) | LangChain tools (Python) |
packages/langchain-js | langchain-invar402 (npm) | LangChain tools (JavaScript) |
packages/ai-sdk | invar402-ai-sdk (npm) | Vercel AI SDK tool factory |
All of these names are published. See PUBLISH.md for later release commands.
Install
The MCP server is invar402-mcp on npm, currently 0.1.1. Listings: mcp.so and Glama.
npx (recommended)
No global install is required:
npx -y invar402-mcp
Or npm install -g invar402-mcp.
Claude Desktop, Cursor, or mcp.so:
{
"mcpServers": {
"invar402": {
"command": "npx",
"args": ["-y", "invar402-mcp"]
}
}
}
Optional environment: INVAR402_BASE (API base, default https://invar402.com) and INVAR402_LABEL (included in the User-Agent).
Docker
The Dockerfile at the repo root starts the stdio server with no secrets. stdin must stay attached (-i); there is no HTTP port.
git clone https://github.com/dumeinao441-ux/invar402-mcp.git
cd invar402-mcp
docker build -t invar402-mcp .
docker run --rm -i invar402-mcp
{
"mcpServers": {
"invar402": {
"command": "docker",
"args": ["run", "--rm", "-i", "invar402-mcp"]
}
}
}
Pass optional env with -e INVAR402_BASE=... and -e INVAR402_LABEL=.... podman works with the same flags. Glama builds this Dockerfile for its listing once their review finishes.
From a local checkout
git clone https://github.com/dumeinao441-ux/invar402-mcp.git
cd invar402-mcp
node bin/invar402-mcp.js
To pin a checkout in a client, use "command": "node" and "args": ["/absolute/path/to/invar402-mcp/bin/invar402-mcp.js"]. src/index.mjs also works.
Python and other npm packages
pip install langchain-invar402
pip install invar402-agentkit
Other npm packages: npm install invar402-client, npm install invar402-agentkit, npm install langchain-invar402, npm install invar402-ai-sdk. PyPI: langchain-invar402, invar402-agentkit.
Tests from source
git clone https://github.com/dumeinao441-ux/invar402-mcp.git
cd invar402-mcp
npm test # MCP server only
bash scripts/test-all.sh # every package, plus a live free-route smoke test
Set INVAR402_LIVE=0 to skip the live smoke test.
invar402-mcp
A stdio MCP server. It adds Invar402's free discovery tools and unpaid paid-route quotes to an agent's tool list. When /verify or /services requires payment, the tool returns the x402 quote in-band. The host agent's own wallet decides whether to pay.
Requires Node.js 18 or later. Zero dependencies. Use the npx, Docker, or checkout commands in Install.
Tools
Free routes (rate-limited by the API):
health— Worker health and catalog statscheck— Coarse pre-check for one service byidorurl(no trust score)search— Keyword search over the rated catalogrecommend— Need-based picks, such asbtc-feesorbitcoin mempool feespreview— Three sample/verifyreports in the paid shapeleaderboard— Host-level mean scoresrankings— Category rankings (omitcategoryto list categories; pass e.g.crypto-priceorweatherfor a ranked list)compare— Price-vs-quality compare (id,q, orcategory) with avalue_pickwatch_create— Create a free grade-drop watchlist (ids, optionalthreshold); returns a 30-day tokenwatch_changes— Poll grade changes since the last poll (token)get_history— Daily score and uptime history for one service (id, optionaldays); days with no stored observation are nullseller_selfcheck— Unpaid self-check of one https x402 endpoint (url); never pays
Unpaid paid routes (this server does not pay):
verify— GET/verify. If payment is required, returns the 402 quoteservices— GET/services. If payment is required, returns the 402 quoteverify_bulk— GET/verify/bulk?ids=.... If payment is required, returns the 402 quote. Flat $0.01 USDC for up to 20 ids. This server never pays.
To get a full paid record, use an x402 client or start a 3-call weekly trial at https://invar402.com/trial. See also https://invar402.com/llms.txt.
Example
Ask the agent: "Recommend an x402 service for bitcoin mempool fees, then preview the report shape."
The agent should call recommend with need=btc-fees, then preview or check. It should not expect this MCP server to settle a payment.
License
MIT. This package is our own code. Public MIT and Apache clients were used only as shape guides. No payment keys are included.
Frequently asked questions
What is invar402-mcp MCP Server?
Invar402 trust scores for x402 data APIs, checked against reference data.
How do I install invar402-mcp MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. invar402-mcp MCP Server runs locally from the npm package invar402-mcp with the command npx -y invar402-mcp@0.1.1.
Is invar402-mcp MCP Server free and open source?
Yes. invar402-mcp MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does invar402-mcp MCP Server support remote (HTTP) connections?
No remote endpoint is listed for invar402-mcp MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does invar402-mcp MCP Server provide?
invar402-mcp MCP Server provides 5 tools, including get_history, seller_selfcheck, verify_bulk, and watch_changes. See the full tool list for descriptions and parameters.
How is invar402-mcp MCP Server's trust score calculated?
invar402-mcp MCP Server scores 66 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.