# Connect NixAPI to Your AI Agent (Universal MCP)

> Use your AI to review costs, track billing, and monitor performance in NixAPI — and much more.

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

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

## Supported Actions (3 actions: 1 Read, 2 Write)
Perform 3 actions across gateway route logs, usage and billing data, and API key inventory. Save hours of work each week by utilizing AI rather than using a traditional app interface.
- **Gateway route logs (1):** Gateway route logs (write)
- **Usage and billing data (1):** Usage and billing data (read)
- **API key inventory (1):** API key inventory (write)

## Example Prompts for NixAPI
- **Route health review:** "Summarize NixAPI failover events by model and show which upstream provider caused each reroute this week."
- **Spend by model:** "Break down NixAPI spend for the Harbor Retail key this month by model family, compared with official list rates."
- **Key usage audit:** "List NixAPI API keys with no calls in the last 30 days so I can review which credentials to rotate or revoke."
- **Draft incident note:** "Draft a status update on NixAPI failover events for the Harbor Retail team, then hold it for my approval before sending."
