# Connect LangRouter to Your AI Agent (Universal MCP)

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

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

## Key Facts
- Software: LangRouter | Category: AI, Data & Automation (LangRouter) | 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 Route metrics, Usage and billing, Routing rules; 1-click View Only lock; stateless pass-through; zero stored business records
- Connect: https://app.universalmcp.app/connect?system=langrouter | Guide: https://universalmcp.app/mcp/langrouter
- Built by: Alex Myers (Legal entity: Lancaster Agentic LLC; support@lancasteragentic.com)

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

## Example Prompts for LangRouter
- **Latency by route:** "Rank my LangRouter routes by p95 latency and error rate for the past week."
- **Cost per model:** "Summarize LangRouter spend by model for last month and flag routes above budget."
- **Failover review:** "Find LangRouter requests that fell back to secondary models and list the top causes."
- **Draft alert rule:** "Draft a LangRouter alert rule for error rates over 2% and save it for my review, unactivated."
