Skip to main content
Glama
Ontario Open Data CKAN MCP

Ontario Open Data CKAN MCP

README.md
# canada-ontario-open-data-ckan-mcp

Province of Ontario official CKAN v3 open data catalog over Model Context Protocol (MCP). Policy analysts, compliance teams, and Canadian GovTech builders can query `data.ontario.ca` for public datasets, ministries, datastore tables, and topic tags with no API keys. Setup takes seconds.

## Hosted endpoint

Point any Streamable HTTP MCP client at the free Cloudflare Worker endpoint.

```text
https://canada-ontario-open-data-ckan-mcp.lipmichal.workers.dev/mcp
```

## Available tools

| Tool | Purpose |
| --- | --- |
| `search_ontario_datasets` | Search Ontario open datasets by keyword or publishing ministry |
| `get_ontario_dataset_details` | Fetch full metadata, license details, and downloadable resources by dataset ID or slug |
| `list_ontario_organizations` | List Ontario government ministries and public agencies publishing open datasets |
| `query_ontario_datastore` | Query tabular records directly from a CKAN DataStore resource ID |
| `list_ontario_tags` | List or filter official Ontario Data Catalogue topic tags |

## Client configuration

Add the remote URL to Claude Desktop, Cursor, or VS Code MCP settings.

```json
{
  "mcpServers": {
    "canada-ontario-open-data-ckan": {
      "url": "https://canada-ontario-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 `data.ontario.ca` with a polite `User-Agent` header (`mcpstamp-canada-ontario-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-ontario-open-data-ckan-mcp) with hosted commercial servers and priority endpoints.

TDQS

A3.7/5.0

Scored across 5 tools

Disambiguation4/5

The five tools split cleanly along resource lines: catalog search, dataset metadata, organizations, tags, and DataStore records. The only plausible confusion is between search_ontario_datasets (metadata search) and query_ontario_datastore (live row query), but the descriptions draw that line explicitly enough for an agent to choose correctly.

Naming Consistency5/5

All five names follow the same verb_ontario_noun pattern (search_ontario_datasets, get_ontario_dataset_details, list_ontario_organizations, query_ontario_datastore, list_ontario_tags). Verbs are used predictably: list for enumeration, get for single-resource retrieval, search/query for filtering.

Tool Count4/5

Five tools is a lean but sensible surface for a read-only open-data catalogue integration, with one tool per major CKAN capability. It sits at the lower edge of the ideal range, leaving little room for auxiliary operations like resource-level access.

Completeness4/5

Search, metadata, organizations, tags, and DataStore querying cover the core read-only lifecycle of a CKAN portal, and create/update/delete are correctly out of scope for open data. Minor gaps remain: no way to inspect DataStore field schema before querying and no direct resource/file download or organization-detail lookup, which agents must work around via the metadata tool.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues