P402 runs on your own machine — the client starts it, so there is no endpoint to ping. 47 installs a week from npm. Last commit 5 Jun 2026.
Multi-provider AI router with x402 micropayment settlement on Base L2. 1% flat fee.
Today is the operative word: we check P402 every 15 minutes and re-read its code on every release. Watch it and you find out the day that stops being true.
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.
claude mcp add p402 -e 'P402_API_KEY=<P402_API_KEY>' -- npx -y @p402/mcp-server
{
"mcpServers": {
"p402": {
"command": "npx",
"args": [
"-y",
"@p402/mcp-server"
],
"env": {
"P402_API_KEY": "<P402_API_KEY>"
}
}
}
}
[mcp_servers.p402]
command = "npx"
args = ["-y", "@p402/mcp-server"]
env = { P402_API_KEY = "<P402_API_KEY>" }
{
"mcpServers": {
"p402": {
"command": "npx",
"args": [
"-y",
"@p402/mcp-server"
],
"env": {
"P402_API_KEY": "<P402_API_KEY>"
}
}
}
}
{
"servers": {
"p402": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@p402/mcp-server"
],
"env": {
"P402_API_KEY": "<P402_API_KEY>"
}
}
}
}
Put your own value in place of
<P402_API_KEY> (Your P402 API key. Get one at https://p402.io/dashboard/settings).
The author’s registry entry marks it as required.
Optional settings from the registry entry, left out of the block above:
P402_ROUTER_URL (P402 router base URL override. Defaults to https://p402.io).
x402 payment wrapper for AI Agents and MCP Servers. USDC settlements on Base L2.
Smart Meta-Facilitator for x402 payments on Base: route, verify, and settle payments.
Autonomous x402 Token Stripper API settling $0.002 USDC micro-payments on Base L2.
22 AI microservices with x402 micropayments: summarize, translate, code-review. USDC on Base.
Pay-per-call USDA nutrition for AI agents (x402 micropayments in USDC on Base).
Read-only Base mainnet reader. Verifies x402 payment settlements + AFTA federation status.
59 pay-per-call AI services as MCP tools with automatic x402 USDC-on-Base payment.
Xenarch — x402 MCP server for AI agent payments. Non-custodial, USDC on Base L2.
Answers built from our own checks of this server.