Accesses Canadian government transportation infrastructure data through ESRI REST services, enabling queries of bridges, airports, and other infrastructure from provincial open data portals in multiple data formats including GeoJSON.
Government of Canada Open Data MCP Servers
Python-based Model Context Protocol (MCP) servers for accessing Canada's Open Government data. This project includes two complementary MCP servers:
GOV CA DATASET MCP - Universal dataset discovery, search, and metadata retrieval across all Canadian government open data
GOV CA TRANSPORTATION MCP - Specialized infrastructure querying for bridges, airports, cycling networks, transit, railways, and tunnels
Features
Dataset Discovery (gov_mcp)
Search across 250,000+ datasets from Open Government Canada
Browse by topic, organization, or jurisdiction (federal/provincial/municipal)
Get detailed dataset schemas and download URLs
Track recent dataset updates
Transportation Infrastructure (gov_ca_transportation)
Query bridge conditions with filtering by province, city, and condition rating
Search airports across Canada with facility details
Explore cycling networks in major cities (Vancouver, Toronto, Montreal, etc.)
Access transit stops and coverage analysis
Query railway infrastructure
Search tunnels by province and type
Quick Start
Installation
Running the Servers
Architecture
Data Sources
The Transportation MCP fetches actual infrastructure records from:
Province | Bridges | Airports | Cycling | Transit |
British Columbia | ✅ BC OpenMaps WFS | ✅ BC OpenMaps WFS | ✅ Vancouver Open Data | - |
Ontario | ✅ Ontario Open Data | - | ✅ Toronto Open Data | ✅ TTC GTFS |
Quebec | ✅ Montreal Open Data | ✅ Quebec WFS | ✅ Montreal/Quebec City | ✅ STM |
Nova Scotia | ✅ NS Open Data | - | - | - |
National | - | - | - | ✅ Multiple agencies |
Available Tools
Dataset Discovery MCP (gov_mcp) - 7 Tools
Tool | Description |
| Search across all 250,000+ Canadian government datasets |
| Get complete schema with field definitions and download URLs |
| Browse by department/organization |
| Explore datasets by subject area |
| Check which specialized MCPs are available |
| See recently updated datasets |
| Query data directly (fallback mode) |
Transportation Infrastructure MCP (gov_ca_transportation) - 10 Tools
Tool | Description |
| Search bridge infrastructure by province, city, condition |
| Aggregate condition analysis for a region |
| Search airports, ports, marinas, heliports |
| Get cycling paths and lanes by municipality |
| Search public transit stops by city |
| Analyze transit accessibility coverage |
| Access transit data in GTFS format |
| Search railway lines and stations |
| Search tunnel infrastructure |
| Compare infrastructure across provinces |
| Get replacement cost estimates |
Example Usage
Search for Datasets
Analyze Bridge Conditions
Query Cycling Networks
Get Tax Datasets
Project Structure
Configuration
VS Code MCP Settings
Add to your VS Code settings.json or MCP config:
Development
Running Tests
Running Validation
Key Capabilities
250,000+ datasets searchable from Open Government Canada
Real infrastructure data from provincial/municipal open data portals
Multi-province coverage: BC, Ontario, Quebec, Nova Scotia, and more
Multiple data formats: GeoJSON, CSV, WFS, ESRI REST
Condition analysis: Bridge ICG ratings, age distribution, critical structures
Geographic filtering: By province, city, or region
API Sources
Source | Data Types |
open.canada.ca | Federal datasets, Statistics Canada |
donnees.montreal.ca | Montreal infrastructure, cycling |
data.ontario.ca | Ontario bridges, transit |
openmaps.gov.bc.ca | BC airports, bridges, railways |
opendata.vancouver.ca | Vancouver bikeways |
data.novascotia.ca | Nova Scotia structures |
donneesquebec.ca | Quebec provincial data |
License
MIT License - See LICENSE file for details
Contributing
Contributions are welcome! Please:
Fork the repository
Create a feature branch
Add tests for new functionality
Submit a pull request
This server cannot be installed