Winnipeg City MCP Server
Provides access to real-time Winnipeg Transit data and 311 City Services, enabling AI assistants to plan trips, check bus arrivals, and search for reported city issues. It allows users to interact with city infrastructure data and transit schedules through natural language.
README
Winnipeg City MCP Server
A powerful Model Context Protocol (MCP) server that enables AI assistants to access real-time Winnipeg Transit data and 311 City Services information. This server allows AI models like Claude to help users plan trips, check bus arrivals, find stops, and explore city service reports.
Features
- π Real-time Transit Information: Get live bus arrival times and route status
- πΊοΈ Trip Planning: Plan single trips or multi-stop journeys with optimized routes
- π Location Search: Find bus stops near any location
- ποΈ 311 City Services: Search for reported issues and explore neighborhoods
- β±οΈ Time-Aware Routing: Get accurate transit schedules based on actual timetables
Tools Included
Transit
get_bus_arrivals: Get real-time bus arrivals for a specific stopget_commute_status: Check status of specific bus routesfind_stops_near: Find bus stops near a locationplan_trip: search for a trip from an origin to a destinationplan_journey: Plan a multi-stop journey
City Services
search_311_issues: Search for reported 311 issueslist_neighborhoods: List Winnipeg neighborhoods
Prerequisites
- uv (recommended for running the script)
- Python 3.12+
- Winnipeg Transit API key (see setup instructions below)
Setup
1. Get a Winnipeg Transit API Key
To use the transit features, you'll need a free API key from Winnipeg Transit:
- Visit the Winnipeg Transit API Registration page
- Sign up for a free developer account
- Once approved, you'll receive your API key via email
2. Configure Environment Variables
-
Copy the example environment file:
cp .env.example .env -
Edit
.envand add your API key:TRANSIT_API_KEY=your_actual_api_key_here
How to Run
You can run the server directly using uv:
uv run server.py
Connecting to Claude Desktop
To use this MCP server with the Claude Desktop app:
-
Open your Claude Desktop configuration file:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
- macOS:
-
Add the following configuration (replace
/ABSOLUTE/PATH/TO/with the actual path to this repository):
{
"mcpServers": {
"winnipeg-city": {
"command": "uv",
"args": [
"run",
"/ABSOLUTE/PATH/TO/wpg-city-mcp/server.py"
]
}
}
}
- Restart Claude Desktop.
Debugging with MCP Inspector
You can test and debug the server using the MCP Inspector:
npx @modelcontextprotocol/inspector uv run server.py
This will start the Inspector in your browser, allowing you to manually call tools and verify the server's behavior.
Contributing
Contributions are welcome! Feel free to:
- Report bugs or suggest features by opening an issue
- Submit pull requests with improvements
- Improve documentation
License
This project is licensed under the MIT License - see the LICENSE file for details.
Acknowledgments
- Winnipeg Transit for providing the transit API
- City of Winnipeg Open Data for 311 services data
- Model Context Protocol for the MCP framework
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.