# Connect SubRouter to Your AI Agent (Universal MCP)

> Use your AI to build software, monitor performance, and review costs in SubRouter — and much more.

## Quick Connect (CLI / MCP)
- Claude Code: `claude mcp add --transport http subrouter https://api.universalmcp.app/mcp/subrouter`
- Remote MCP URL (ChatGPT, Claude, Cursor, VS Code): `https://api.universalmcp.app/mcp/subrouter` (unified: `https://api.universalmcp.app/mcp`)
- Actions & Discovery: `POST https://universalmcp.app/mcp/directory` (`get_software_actions({ slug: "subrouter", query })` & `search_software`); configs: https://universalmcp.app/install.md

## Key Facts
- Software: SubRouter | Category: AI, Data & Automation (SubRouter) | Auth: Encrypted workspace API key
- Pricing: 100% Free (unlimited users, unlimited software, zero task metering)
- Permissions & Security: Per-person, per-area Off/Read/Write across Routing metrics, Usage and pricing, Route rule changes; 1-click View Only lock; stateless pass-through; zero stored business records
- Connect: https://app.universalmcp.app/connect?system=subrouter | Guide: https://universalmcp.app/mcp/subrouter
- Built by: Alex Myers (Legal entity: Lancaster Agentic LLC; support@lancasteragentic.com)

## Supported Actions (3 actions: 0 Read, 3 Write)
Perform 3 actions across routing metrics, usage and pricing, and route rule changes. Save hours of work each week by utilizing AI rather than using a traditional app interface.
- **Routing metrics (1):** Routing metrics (write)
- **Usage and pricing (1):** Usage and pricing (write)
- **Route rule changes (1):** Route rule changes (write)

## Example Prompts for SubRouter
- **Provider uptime:** "Show SubRouter uptime by provider for the past 7 days and flag any pool below 99.5% for Cedar Ridge."
- **Usage by model:** "Break down SubRouter token usage by model and key for Harbor Retail this month, sorted by highest spend."
- **Price comparison:** "Compare SubRouter per-token prices for GPT, Claude, and Gemini models across all routes for Northwind Supply."
- **Draft route rules:** "Draft a SubRouter fallback rule that moves Summit Logistics traffic to Gemini, but hold it for review first."
