# Connect AIHubMix to Your AI Agent (Universal MCP)

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

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

## Key Facts
- Software: AIHubMix | Category: HR & Payroll (AIHubMix) | 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 Usage and logs, API keys and routes, Billing data; 1-click View Only lock; stateless pass-through; zero stored business records
- Connect: https://app.universalmcp.app/connect?system=aihubmix | Guide: https://universalmcp.app/mcp/aihubmix
- Built by: Alex Myers (Legal entity: Lancaster Agentic LLC; support@lancasteragentic.com)

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

## Example Prompts for AIHubMix
- **Latency by model:** "Compare p95 latency and error rates for each model route in AIHubMix over the last 7 days and rank the slowest."
- **Spend by API key:** "Break down AIHubMix token spend by API key and model, and flag any key above its monthly budget threshold."
- **Fallback coverage:** "Show which AIHubMix model requests failed over to a fallback endpoint, grouped by client application."
- **Draft routing rule:** "Draft a fallback routing change in AIHubMix for review, and do not apply it until I approve the config."
