If it fails, nobody pays.
A call that fails, times out or comes back without a valid proof before any output reaches you is charged nothing.
One key gives your agent every tool in the catalogue, from the MCP client you already use. Fixed prices, a hard spend cap you set on each key, and nothing charged when a call fails.
Your server stays yours, wherever it runs. Nexus402 puts the meter in front of it: every call is checked, charged and signed, and you are paid for each one your server answers. You set the price.
How it works
One URL and one key header, from Cursor, Claude Code, Codex or any MCP client. Discovery is free; only a tool call is billed.
The key, its rate limit and its 24-hour cap are checked, and the tool's fixed price is taken from the wallet in one atomic step. The charge is recorded before anything moves on.
The call reaches the creator's own server, signed with Ed25519. Their answer carries a proof that it came from the server that received the call.
The result streams back to your agent. The charge settles to a double-entry ledger, and the creator's share becomes payable. A failure before any output costs nothing.
Two sides, one meter
For developers and their agents
For creators of MCP tools
For developers
No SDK and nothing to host. A key, one line of config, and your agent can call every tool.
Sign in, fund your wallet and mint a key with its own spend cap. It is shown once.
One command in Claude Code, one entry in Cursor or Codex. The key stays in an environment variable.
Your agent picks the tool and calls it. Each call is charged its fixed price, once.
Paste this into Claude Code, Codex or Cursor. Your agent connects itself to Nexus402 and adds the skills, for whichever tool it is.
Set up Nexus402 for me in this coding agent.
1. Read https://www.nexus402.dev/docs/agents.md and work out which tool you are (Claude Code, Codex or Cursor).
2. Add the Nexus402 MCP server https://api.nexus402.dev/v1/mcp the way that page shows for your tool, sending the X-Nexus-Api-Key header from the NEXUS402_API_KEY environment variable.
3. Install the skills listed at https://www.nexus402.dev/.well-known/skills/index.json where your tool keeps skills or rules.
Never write my key into a file, a commit or a reply. If NEXUS402_API_KEY is not set, stop and tell me to set it.
Then check the connection lists tools, and tell me what you changed.
Connect the gateway, then add the two skills.
claude mcp add --transport http --scope user nexus402 https://api.nexus402.dev/v1/mcp \
--header "X-Nexus-Api-Key: $NEXUS402_API_KEY"
mkdir -p ~/.claude/skills/nexus402-tools && curl -fsSL https://www.nexus402.dev/.well-known/skills/nexus402-tools/SKILL.md -o ~/.claude/skills/nexus402-tools/SKILL.md
mkdir -p ~/.claude/skills/nexus402-endpoint && curl -fsSL https://www.nexus402.dev/.well-known/skills/nexus402-endpoint/SKILL.md -o ~/.claude/skills/nexus402-endpoint/SKILL.md
Add the gateway to ~/.codex/config.toml, then add the skills with npx skills add https://www.nexus402.dev.
[mcp_servers.nexus402]
url = "https://api.nexus402.dev/v1/mcp"
env_http_headers = { "X-Nexus-Api-Key" = "NEXUS402_API_KEY" }
tool_timeout_sec = 130
Opens Cursor and asks to add the gateway. Your key is read from NEXUS402_API_KEY.
Or add it by hand to ~/.cursor/mcp.json. Then add the skills with npx skills add https://www.nexus402.dev.
{
"mcpServers": {
"nexus402": {
"url": "https://api.nexus402.dev/v1/mcp",
"headers": {
"X-Nexus-Api-Key": "${env:NEXUS402_API_KEY}"
}
}
}
}
Skills-only installs don't update automatically.
npx skills add https://www.nexus402.dev
Every option reads your key from NEXUS402_API_KEY; none writes it into a file. Learn more
Featured and top tools
Every tool lists its fixed price per call, its creator and whether it gives free calls.
Built for money
A call that fails, times out or comes back without a valid proof before any output reaches you is charged nothing.
The price is taken in one atomic step and written to a durable queue before the creator is contacted. If it cannot be recorded, the call is refused, never given away.
Every call to a creator is signed, and every answer must carry a proof that it came from the server that received it.
Every charge settles to an append-only ledger in which every debit has its credit. Corrections are new entries, never edits.
If the metering store cannot be reached, paid calls are refused with 503. A call is never let through unmetered.
Nexus402 does not store or log the contents of tool calls. It reads only the method and tool name, to route and bill.
No subscription and no SDK. Developers pay a fixed price per call; creators keep their servers and set the price.