# Connect PeakAPI to Your AI Agent (Universal MCP)

> Use your AI to monitor performance, review costs, and manage cloud resources in PeakAPI — and much more.

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

## Key Facts
- Software: PeakAPI | Category: AI, Data & Automation (Peak API) | 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 changes; 1-click View Only lock; stateless pass-through; zero stored business records
- Connect: https://app.universalmcp.app/connect?system=peakapi | Guide: https://universalmcp.app/mcp/peakapi
- 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 changes. 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 changes (1):** Routing changes (write)

## Example Prompts for PeakAPI
- **Slow routes:** "Which PeakAPI model routes have the highest p95 latency this week, and how do they compare to last week?"
- **Usage by team:** "Break down PeakAPI token usage and spend by API key for the current billing cycle."
- **Key access audit:** "List PeakAPI API keys created in the last 30 days that have not been used since, with their owners."
- **Draft route change:** "Draft a PeakAPI traffic shift from upstream-east-2 to the backup pool, pending my approval before it applies."
