mcpbeat Sign in

X402 API MCP Server

local only

X402 API runs on your own machine — the client starts it, so there is no endpoint to ping. 134 installs a week from npm. Last commit 30 Sep 2026.

Eight paid DeFi tools: prices, gas, swaps, token security, holders, yields, funding and wallets

Installs per day peak 177 · avg 19 · +86% w/w
a month agotoday
134
Installs / week
npm · @x402-api/mcp-server
0
Stars
2 open issues
30 Sep 2026
Last commit
2 releases in 90 days
MIT
License
TypeScript

Nothing serious here today

Today is the operative word: we check X402 API every 15 minutes and re-read its code on every release. Watch it and you find out the day that stops being true.

Three servers free · no card

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add x402-api -- npx -y @x402-api/mcp-server
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "x402-api": {
      "command": "npx",
      "args": [
        "-y",
        "@x402-api/mcp-server"
      ]
    }
  }
}
~/.codex/config.toml
[mcp_servers.x402-api]
command = "npx"
args = ["-y", "@x402-api/mcp-server"]
.cursor/mcp.json
{
  "mcpServers": {
    "x402-api": {
      "command": "npx",
      "args": [
        "-y",
        "@x402-api/mcp-server"
      ]
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "x402-api": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@x402-api/mcp-server"
      ]
    }
  }
}

Optional settings from the registry entry, left out of the block above: X402_API_BASE_URL (x402 API base URL (default: https://x402-api.fly.dev)), X402_WALLET_PRIVATE_KEY (Base wallet private key for optional EIP-3009 auto-pay. Default mode inspects payment requirements without paying), X402_MAX_PER_CALL_USDC (Maximum USDC allowed per automatic tool call (default: 0.01)), X402_REFERRAL_SOURCE (Optional referral label: github, glama, nohumans, bazaar, mcp, eliza, demo or test. Default mcp), X402_EXPECTED_PAY_TO (Expected payment recipient; defaults to the official x402-api wallet. Change only when using a trusted alternative deployment).

Alternatives to X402 API

same job, measured the same way
T
Tools
by workers-sebastiaan-ba3-mcpgateway

Doormat Capital's paid x402 safety tools (token scan, HTTP security headers) for AI agents.

4 tools answering
Defenter Proxy
by defenter-ai

Real-time semantic security for AI coding agents and MCP tools

76 installs/wk local only
Vaultguard MCP
by kota1026

VaultGuard MCP Server - Yearn V3 / DeFi vault security and analysis tools for AI coding agents....

45 installs/wk local only
Sec Nport
by pipeworx-io

SEC Form N-PORT — fund and ETF holdings, asked security-first.

212 installs/wk 48 tools answering
Jikida
by jikida

Security tools for your AI: scan, pentest, check headers, guard code and scan repos for secrets.

147 installs/wk local only
Arcwall Security
by rom-baro

Security scanning for AI coding tools. Detects secrets, threat models, and runs pre-commit checks.

41 installs/wk local only
Agent Toolkit
by white-hat-lab

Pay-per-call developer utilities and npm supply-chain security tools for coding agents, over x402.

77 installs/wk local only
Mcpshield
by mcpshield-dev

Security scanner for MCP servers - detects tool poisoning and injection

43 installs/wk local only

X402 API — questions

Answers built from our own checks of this server.

Why is there no uptime for X402 API?
X402 API runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the npm package @x402-api/mcp-server was installed 134 times last week.
How do I connect X402 API?
Copy the ready config from this page. We generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each in the form that client actually reads. It runs locally, so the command pulls @x402-api/mcp-server straight from npm; nothing to host, nothing to sign up for.
How many people use X402 API?
The npm package @x402-api/mcp-server was installed 134 times in the last week. Week over week that is +86%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is X402 API open source?
Yes — it is published under the MIT licence, written in TypeScript, 0 stars on GitHub and 2 open issues. The source link is on this page, so you can read exactly what it does with your data before you connect it.