X402 Router MCP
A hosted MCP server that searches a registry of 24,500+ live x402 pay-per-call API endpoints, routes requests to the best option based on price and reliability, and compares endpoints. It offers free read-only tools for discovery and paid tools for executing transactions via x402 v2 on Base or Solana.
Endpoint and access
No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.
https://router-production-ab89.up.railway.app/mcpWhat its tools do
9 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.
Read-only (7)
Can change data (2)
Checks and signals
Each line is separate evidence, not a trust score.
- Passed Endpoint answered the live check ·
- Availability 1 of 1 checks passed in 30 days
What you can do with it
- Search for live x402 endpoints matching a query
- Route requests to the cheapest reliable endpoint
- Compare head-to-head metrics of multiple endpoints
- Execute paid API calls using x402 payments
Source and maintenance
- Maintenance checked
Protocol and capabilities
- Server
- x402-router 3.1.0
- MCP protocol negotiated in check
- 2025-11-25
- Tools
- 9 advertised
- Resources
- 0 advertised
- Resource templates
- 0 advertised
- Prompts
- 0 advertised
{
"tools": {
"listChanged": false
},
"prompts": {},
"resources": {}
}Server-provided instructions
Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.
Tools
9 advertised
search_x402_endpoints — Search live x402 APIs
Search the router's continuously probed registry of ~24,000 LIVE x402 pay-per-call endpoints. Returns the best-ranked matches with price (USDC), crawl latency, reliability_pct (share of the last <=20 probes that answered HTTP 402), networks and payTo. Free.
{
"type": "object",
"properties": {
"q": {
"type": "string",
"description": "Free-text task or keyword, e.g. 'weather', 'image generation', 'token price'"
},
"chain": {
"type": "string",
"description": "Chain filter: Base, Solana, or a CAIP-2 id like eip155:8453"
},
"limit": {
"type": "integer",
"maximum": 25,
"minimum": 1,
"description": "Results to return (default 10, max 25)"
},
"category": {
"type": "string",
"description": "Category filter, e.g. AI, Data, Finance, Search"
},
"max_price": {
"type": "number",
"description": "Maximum price per call in USDC, e.g. 0.05"
}
},
"additionalProperties": false
}{
"title": "Search live x402 APIs",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}route_x402_request — Best live x402 API for a task (free preview)
Pick the best-scored LIVE x402 endpoint for a task and return it with the top 3 alternatives (the same answer as the free POST /route). For a live-checked pick with fallbacks and the full ranked list, see get_paid_route_requirements. Free.
{
"type": "object",
"properties": {
"q": {
"type": "string",
"description": "Free-text task or keyword, e.g. 'weather', 'image generation', 'token price'"
},
"chain": {
"type": "string",
"description": "Chain filter: Base, Solana, or a CAIP-2 id like eip155:8453"
},
"category": {
"type": "string",
"description": "Category filter, e.g. AI, Data, Finance, Search"
},
"max_price": {
"type": "number",
"description": "Maximum price per call in USDC, e.g. 0.05"
}
},
"additionalProperties": false
}{
"title": "Best live x402 API for a task",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}compare_x402_endpoints — Compare x402 endpoints head-to-head
Compare 2-5 x402 endpoints side by side (pass urls), or the top 5 matches for a task (pass q/category/chain/max_price): price, latency, reliability over the last crawl probes, valid 402, networks and payTo, with a winner plus the cheapest, fastest and most reliable. Free.
{
"type": "object",
"properties": {
"q": {
"type": "string",
"description": "Free-text task or keyword, e.g. 'weather', 'image generation', 'token price'"
},
"urls": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 5,
"minItems": 2,
"description": "2-5 endpoint urls to compare"
},
"chain": {
"type": "string",
"description": "Chain filter: Base, Solana, or a CAIP-2 id like eip155:8453"
},
"category": {
"type": "string",
"description": "Category filter, e.g. AI, Data, Finance, Search"
},
"max_price": {
"type": "number",
"description": "Maximum price per call in USDC, e.g. 0.05"
}
},
"additionalProperties": false
}{
"title": "Compare x402 endpoints",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}get_endpoint_reliability — Reliability history of one x402 endpoint
Probe history of one x402 endpoint url: status, success rate over the last <=20 crawl probes, consecutive failures, last seen. Returns found=false for urls the router does not track. Free.
{
"type": "object",
"required": [
"url"
],
"properties": {
"url": {
"type": "string",
"description": "Exact endpoint url"
}
},
"additionalProperties": false
}{
"title": "Endpoint reliability history",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}get_x402_changes — payTo / price change alerts
Recent payTo (receiving wallet) and price changes of x402 endpoints, observed by the router's own crawl probes of the live 402. Only values that were stable and then changed are alerts; endpoints that use per-request deposit addresses or metered prices are classified (payto_rotating / price_dynamic) instead. Filter by host or exact url before paying an endpoint. Free.
{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "Exact endpoint url"
},
"host": {
"type": "string",
"description": "Seller hostname, e.g. api.example.com (subdomains included)"
},
"type": {
"enum": [
"payto_changed",
"price_changed",
"payto_rotating",
"price_dynamic"
],
"type": "string"
},
"limit": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "Default 20"
},
"since": {
"type": "string",
"description": "ISO 8601 time, e.g. 2026-11-20T00:00:00"
}
},
"additionalProperties": false
}{
"title": "payTo / price change alerts",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}get_paid_route_requirements — How to call the paid live-checked route
x402 v2 payment requirements and copy-paste client code for POST https://router-production-ab89.up.railway.app/route/paid (0.01 USDC on Base; Solana accepted): a best endpoint re-checked live seconds before answering, up to 4 fallbacks and the full ranked list (up to 25). Includes the free trial (3 calls/day with header X-402-Trial: <wallet>). The same answer is sold inside MCP by the route_paid tool. This tool never pays; your x402 client does.
{
"type": "object",
"properties": {},
"additionalProperties": false
}{
"title": "Paid route requirements",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}get_router_stats — Router and registry stats
Live proof numbers: registry size and freshness, LIVE endpoints, reliability buckets, uptime, settled paid requests and trial usage (aggregates only). Free.
{
"type": "object",
"properties": {},
"additionalProperties": false
}{
"title": "Router stats",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}route_paid — Live-checked best x402 API for a task (paid, 0.01 USDC)
Paid (0.01 USDC via x402, Base; Solana accepted): the same answer as POST https://router-production-ab89.up.railway.app/route/paid. The best endpoint is re-checked live seconds before answering, with up to 4 fallbacks, the full ranked list (up to 25) with reliability_pct, and paying wallets get their last good endpoint tried first. Pay inside the call: without payment this returns isError with the x402 PaymentRequired object; retry with the signed PaymentPayload in params._meta["x402/payment"] (x402 MCP transport, e.g. @x402/mcp). The receipt is in result._meta["x402/payment-response"].
{
"type": "object",
"properties": {
"q": {
"type": "string",
"description": "Free-text task or keyword, e.g. 'weather', 'image generation', 'token price'"
},
"agent": {
"type": "string",
"description": "Optional caller label"
},
"chain": {
"type": "string",
"description": "Chain filter: Base, Solana, or a CAIP-2 id like eip155:8453"
},
"category": {
"type": "string",
"description": "Category filter, e.g. AI, Data, Finance, Search"
},
"max_price": {
"type": "number",
"description": "Maximum price per call in USDC, e.g. 0.05"
}
},
"additionalProperties": false
}{
"title": "Live-checked best x402 API (paid)",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}check_endpoint_paid — Fresh live probe of one x402 endpoint (paid, 0.002 USDC)
Paid (0.002 USDC via x402): the same answer as https://router-production-ab89.up.railway.app/check/paid: probes one registry endpoint now (live?, HTTP status, latency, real price, payTo, networks). Same in-call payment flow as route_paid (_meta["x402/payment"]).
{
"type": "object",
"required": [
"url"
],
"properties": {
"url": {
"type": "string",
"description": "Exact endpoint url from the registry"
},
"agent": {
"type": "string",
"description": "Optional caller label"
}
},
"additionalProperties": false
}{
"title": "Fresh endpoint probe (paid)",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}Prompts
0 advertised
Resources
0 advertised
90-day uptime
A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.
- 2026-11-26: 1 of 1 checks answered
- 2026-11-27: 2 of 2 checks answered
30-day availability
Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.
- Successful checks
- 1 of 1 (100%)
- Average latency
- 1136 ms
- 95th percentile latency
- 1136 ms
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · probe · passed · 1136 ms · metadata changed · 9 tool(s), 0 resource(s), 0 resource template(s), 0 prompt(s)
Connect from your client
Each snippet registers the same endpoint; pick the client you use.
Claude Code
claude mcp add --transport http x402-router-mcp-railway https://router-production-ab89.up.railway.app/mcpCodex
codex mcp add x402-router-mcp-railway --url https://router-production-ab89.up.railway.app/mcpCursor
{
"mcpServers": {
"x402-router-mcp-railway": {
"url": "https://router-production-ab89.up.railway.app/mcp"
}
}
}Cline
{
"mcpServers": {
"x402-router-mcp-railway": {
"type": "streamableHttp",
"url": "https://router-production-ab89.up.railway.app/mcp",
"disabled": false
}
}
}VS Code
{
"servers": {
"x402-router-mcp-railway": {
"type": "http",
"url": "https://router-production-ab89.up.railway.app/mcp"
}
}
}Gemini CLI
gemini mcp add --transport http x402-router-mcp-railway https://router-production-ab89.up.railway.app/mcpClaude Desktop
https://router-production-ab89.up.railway.app/mcpWindsurf
{
"mcpServers": {
"x402-router-mcp-railway": {
"serverUrl": "https://router-production-ab89.up.railway.app/mcp"
}
}
}Let your agent find its tools
Find servers like X402 Router MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.