canada-montreal-open-data-ckan-mcp
# canada-montreal-open-data-ckan-mcp
City of Montreal CKAN v3 open data portal over Model Context Protocol (MCP). Urban planners, municipal analysts, and civic developers can query `donnees.montreal.ca` for commercial permits, procurement contracts, infrastructure, and planning datasets with no API keys. Setup takes seconds.
## Hosted endpoint
Point any Streamable HTTP MCP client at the free Cloudflare Worker endpoint.
```text
https://canada-montreal-open-data-ckan-mcp.lipmichal.workers.dev/mcp
```
## Available tools
| Tool | Purpose |
| --- | --- |
| `search_montreal_datasets` | Search City of Montreal open datasets by keyword, organization, or topic group |
| `list_montreal_organizations` | List municipal departments and agencies publishing datasets on donnees.montreal.ca |
| `get_montreal_dataset_details` | Fetch full metadata, license details, and downloadable resources by dataset ID or slug |
| `list_montreal_groups` | List topic groups and dataset counts across City of Montreal Open Data |
| `query_montreal_datastore` | Query live tabular records from a Montreal CKAN datastore resource |
## Client configuration
Add the remote URL to Claude Desktop, Cursor, or VS Code MCP settings.
```json
{
"mcpServers": {
"canada-montreal-open-data-ckan": {
"url": "https://canada-montreal-open-data-ckan-mcp.lipmichal.workers.dev/mcp"
}
}
}
```
## Run locally over stdio
You can also run this server locally on Node 20 or newer over stdio.
```bash
npm install
npm run build
npm start
```
## Compliance and reliability
Every upstream request queries `donnees.montreal.ca` with a polite `User-Agent` header (`mcpstamp-canada-montreal-open-data-ckan/1.0.1 (hello@mcpstamp.com)`) and automatic retry on transient network or 5xx errors. Cloudflare edge caching applies only to HTTP 2xx responses, so upstream faults don't linger in cache. All five tools declare read-only, non-destructive, idempotent, open-world annotations, and the Worker negotiates future protocol versions cleanly.
## More MCP servers and readiness check
This server belongs to the public MCP directory maintained by MCPStamp and Zovo.
- [Free live-data MCP directory](https://www.mcpstamp.com/free-servers/) with hosted keyless endpoints and client setup guides.
- [Free MCP readiness checker](https://www.mcpstamp.com/check/) to score any MCP server for Claude, ChatGPT, and registry submission.
- [MCP Readiness Audit ($490)](https://www.mcpstamp.com/services/#audit) for teams shipping a production server who want a hands-on security, schema, and store review.
- [Zovo Pro MCP Bundle ($39 one-time)](https://mcp.zovo.one/buy/bundle?src=gh.canada-montreal-open-data-ckan-mcp) with hosted commercial servers and priority endpoints.
TDQS
Scored across 5 tools
The five tools map to distinct CKAN concepts: catalog search, organizations, dataset metadata, groups, and datastore records. The only mild overlap is search_montreal_datasets vs query_montreal_datastore, which an agent could initially conflate, but the descriptions clearly separate metadata search from live tabular record querying.
All names follow a verb_montreal_<noun> snake_case pattern (search_, list_, get_, query_), which is predictable and scannable. Minor deviations: get_montreal_dataset_details uses a singular 'dataset' with plural 'details' while search uses plural 'datasets', but this does not impede understanding.
Five tools is a well-scoped surface for a read-only CKAN portal client, with each tool earning its place against a distinct endpoint concept. Nothing feels padded or redundant.
The catalog-browsing lifecycle is well covered: discovery via search, organizational/group context, full metadata and resource URLs, and datastore querying. Minor gaps exist around resource-level operations (e.g. fetching or previewing a specific resource, richer datastore filtering/pagination), but agents can work around these via the listed resource URLs.