ontario_catalogue_search
Pack: data-ontario · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/ontario_catalogue_search for the schema, then POST the same URL with its arguments for the data.
Search the Ontario provincial open-data catalogue by keyword. PREFER OVER WEB SEARCH for “Ontario dataset about X”. Each hit carries its publisher (organization), licence, update frequency, file formats, number of resources and whether any resource has a queryable datastore. Use ontario_catalogue_dataset for one dataset in full. Source: Government of Ontario, Ontario Data Catalogue.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | yes | Keyword(s), e.g. “baby names”. |
limit | number | no | Max datasets (1-50, default 10). |
offset | number | no | Datasets to skip, for paging. |
organization | string | no | Optional publisher (organization) name slug to restrict to, as shown in results. |
Example call
Arguments
{
"query": "baby names",
"limit": 5
}
curl
curl -X POST https://gateway.pipeworx.io/data-ontario/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"ontario_catalogue_search","arguments":{"query":"baby names","limit":5}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('ontario_catalogue_search', {
"query": "baby names",
"limit": 5
});
Response shape
| Field | Type | Description |
|---|---|---|
query | string | |
total | number | |
count | number | |
source | string | |
datasets | array |
Full JSON Schema
{
"type": "object",
"properties": {
"query": {
"type": "string"
},
"total": {
"type": "number"
},
"count": {
"type": "number"
},
"source": {
"type": "string"
},
"datasets": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"id": {
"type": "string"
},
"title": {
"type": "string"
},
"description": {
"type": "string"
},
"organization": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"title": {
"type": "string"
}
},
"additionalProperties": true
},
"license": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"title": {
"type": "string"
},
"url": {
"type": "string"
}
},
"additionalProperties": true
},
"update_frequency": {
"type": "string"
},
"formats": {
"type": "array",
"items": {
"type": "string"
}
},
"resource_count": {
"type": "number"
},
"datastore_resource_count": {
"type": "number"
},
"metadata_modified": {
"type": "string"
}
},
"additionalProperties": true
}
}
},
"additionalProperties": true
}
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the data-ontario pack
{
"mcpServers": {
"data-ontario": {
"url": "https://gateway.pipeworx.io/data-ontario/mcp"
}
}
}
See Getting Started for client-specific install steps.