MCP Hub
Back to servers

railrouter-lite

RailRouter Lite is a real, production-ready MCP server implementing the Model Context Protocol. It exposes one tool: route_payment. This tool intelligently routes payments to the optimal rail (Stripe MPP, Coinbase x402, or Google AP2) in real time, choosing based on cost, latency, and success rate. Every decision is logged to a Cloudflare D1 database, creating compounding routing intelligence

glama
Updated
Apr 16, 2026

RailRouter Lite

Intelligent real-time payment rail router for AI agents.

Live MCP Endpoint
https://railrouter-lite.sgdata.workers.dev/mcp

Tool: route_payment

Routes a payment request to the optimal rail (Stripe MPP, x402, or Google AP2) in real time based on cost, latency, and success rate.

Input Schema

{
  "amount_sgd": { "type": "number", "description": "Amount in SGD" },
  "target_server_url": { "type": "string", "description": "The MCP server that needs payment" },
  "tool_name": { "type": "string", "description": "Name of the tool being paid for" },
  "preferred_rail": { "type": "string", "enum": ["mpp", "x402", "ap2", "auto"] }
}
Response Example
JSON{
  "success": true,
  "chosen_rail": "mpp",
  "payment_intent": "rr_1744641123456",
  "estimated_fee_sgd": 0.13,
  "message": "Routed via MPP in 12ms"
}
Every routing decision is automatically logged to D1, creating compounding intelligence (cost, latency, success rate per category). No other MCP server offers intelligent cross-rail routing.
Compatible with LangChain, LangGraph, CrewAI, AutoGen and any MCP client.
GitHub: https://github.com/vdineshk/railrouter-lite
Pricing

Free: 10 routes/day
Starter: S$29/month (unlimited + analytics)
Pro: S$99/month (priority routing + Observatory trust integration)

Reviews

No reviews yet

Sign in to write a review