# Connect Trafi to Your AI Agent (Universal MCP)

> Use your AI to track vehicles, analyze data, and monitor performance in Trafi — and much more.

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

## Key Facts
- Software: Trafi | Category: Other B2B Software (Trafi) | Auth: Guided workspace authorization
- Pricing: 100% Free (unlimited users, unlimited software, zero task metering)
- Permissions & Security: Per-person, per-area Off/Read/Write across Route and stop data, Trip planner analytics, Rider notices; 1-click View Only lock; stateless pass-through; zero stored business records
- Connect: https://universalmcp.app/mcp/trafi | Guide: https://universalmcp.app/mcp/trafi
- Built by: Alex Myers (Legal entity: Lancaster Agentic LLC; support@lancasteragentic.com)

## Supported Actions (3 actions: 0 Read, 3 Write)
Perform 3 actions across route and stop data, trip planner analytics, and rider notices. Save hours of work each week by utilizing AI rather than using a traditional app interface.
- **Route and stop data (1):** Route and stop data (write)
- **Trip planner analytics (1):** Trip planner analytics (write)
- **Rider notices (1):** Rider notices (write)

## Example Prompts for Trafi
- **Delay hotspots:** "Which Trafi routes had the longest average transfer waits over the past seven days, by stop?"
- **Ridership trends:** "Summarise Trafi trip planner searches by hour for the Cedar Ridge corridor, with peak-hour totals."
- **Operator performance:** "Compare on-time rates across Trafi transit operators in the central district for last month."
- **Draft rider notice:** "Draft a service change notice for Route 14 riders and hold it for my approval before publishing."
