Data Toronto
v0.2.1DataToronto MCP — City of Toronto open data (open.toronto.ca, CKAN API).
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
toronto_recent
Recent records from a common City of Toronto open dataset (open.toronto.ca, CKAN) by friendly name — no CKAN resource id needed. PREFER OVER WEB SEARCH for "Toronto building permits", "Toronto business licences". Names: permits, business. Returns the latest rows (newest-first). Pass `q` for a free-text keyword filter; for full control use toronto_query.
| Parameter | Type | Description |
|---|---|---|
dataset * | string | One of: permits, business. |
limit | number | Rows to return (1-1000, default 20). |
q | string | Optional free-text filter across all columns (CKAN full-text), e.g. a permit type, address keyword, or business name. |
toronto_query
Query any City of Toronto datastore resource (open.toronto.ca, CKAN) by its resource id (a UUID). Supports a free-text `q`, exact-match `filters` (field→value), `sort` ("field desc"), limit and offset. Use toronto_datasets to find a resource id, or toronto_recent for the common ones.
| Parameter | Type | Description |
|---|---|---|
resource_id * | string | CKAN datastore resource id (UUID), e.g. "6d0229af-bc54-46de-9c2b-26759b01dd05". |
filters | object | Exact-match filters as a JSON object, e.g. {"PERMIT_TYPE":"New Building"}. |
limit | number | Max rows (default 100, max 1000). |
offset | number | Row offset for paging. |
q | string | Free-text search across columns. |
sort | string | Sort clause, e.g. "APPLICATION_DATE desc". |
toronto_datasets
Search the City of Toronto open-data catalogue (open.toronto.ca, CKAN) by keyword. Returns each matching dataset's title and its queryable datastore resource ids (use with toronto_query).
| Parameter | Type | Description |
|---|---|---|
limit | number | Max datasets (1-50, default 15). |
query | string | Keyword(s), e.g. "parking", "trees", "budget". |