# Connect OpenTripPlanner to Your AI Agent (Universal MCP)

> Use your AI to track vehicles, manage schedules, and analyze data in OpenTripPlanner — and much more.

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

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

## Supported Actions (3 actions: 0 Read, 3 Write)
Perform 3 actions across GTFS feed data, trip planner graph, and service notices. Save hours of work each week by utilizing AI rather than using a traditional app interface.
- **GTFS feed data (1):** GTFS feed data (write)
- **Trip planner graph (1):** Trip planner graph (write)
- **Service notices (1):** Service notices (write)

## Example Prompts for OpenTripPlanner
- **Coverage gaps:** "List every stop in the OpenTripPlanner graph that has no departing trip between 06:00 and 09:00 on weekdays."
- **Transfer analysis:** "Compare average transfer wait times in OpenTripPlanner for Route 14 and Route 9 over the last full service week."
- **Feed validity:** "Check whether the GTFS calendar dates in OpenTripPlanner cover all service days through the end of December."
- **Guarded draft:** "Draft a service notice for riders about the Harbor Line gap and hold it for dispatcher approval before publishing."
