transportnsw-mcp
0
This project implements a Model Context Protocol (MCP) service for accessing and interacting with the Transport NSW API. It provides structured APIs for finding transport stops, monitoring real-time departures, and retrieving transport alerts.
Transport NSW API Client (MCP Implementation)
A Claude MCP for interacting with the Transport NSW API using direct HTTP requests.
Features
- Stop Finder API: Find transport stops by name or coordinates
- Alerts API: Get information about transport alerts and disruptions
- Departure Monitor API: Get real-time departure information for transport stops
- MCP Implementation: Structured as a Model Context Protocol service
Setup
- Clone the repository
- Install dependencies using the uv package manager
- Create a
.env
file with your API key - (Optional) Run the MCP Inspector to test locally
Testing
- Run tests locally with
pytest
- Use GitHub Actions for CI testing with coverage reporting