# Open Government Canada dataset catalogue

The open.canada.ca catalogue of Government of Canada datasets: search by keyword and retrieve a dataset record with its organisation, licence and downloadable resources.

- No API key needed to call
- Source: [Open Government Portal, Government of Canada](https://open.canada.ca/)
- Licence and terms: [Open Government Licence - Canada](https://open.canada.ca/en/open-government-licence-canada)
- Coverage: Canada
- Answers are shared and cached for 3600 seconds.

## Questions you can ask

- Which Canadian government datasets cover housing starts? (operation `open_canada_dataset_search`)
- What files are in the Preliminary housing starts dataset? (operation `open_canada_dataset`)

## Operations

### Search Canadian government datasets

Answers: which Government of Canada datasets are about a topic, from which department, under which licence and in which formats?

- `q`: required, string, Search keywords.
- `rows`: optional, integer, default 8, How many datasets.

Example: Which Canadian government datasets cover housing starts?

Over MCP:

```
{"tool":"call_connector_operation","arguments":{"connector":"open_canada","operation":"open_canada_dataset_search","params":{"q":"housing starts","rows":3}}}
```

Over HTTP:

```
curl '/v1/connectors/open_canada/open_canada_dataset_search?q=housing+starts&rows=3'
```

### Canadian government dataset record

Answers: what are the description, publisher, licence, update frequency and download links \(resources\) of one open.canada.ca dataset?

- `id`: required, string, Dataset id \(a UUID\) from open\_canada\_dataset\_search.

Example: What files are in the Preliminary housing starts dataset?

Over MCP:

```
{"tool":"call_connector_operation","arguments":{"connector":"open_canada","operation":"open_canada_dataset","params":{"id":"ad17c1fe-ae10-45c3-8e8d-2dd69cc55759"}}}
```

Over HTTP:

```
curl '/v1/connectors/open_canada/open_canada_dataset?id=ad17c1fe-ae10-45c3-8e8d-2dd69cc55759'
```

## Source notice

Source: Open Government Portal, Government of Canada. Terms were not quoted here: see the terms page. Information is released under the Open Government Licence - Canada unless a record says otherwise; check the licence field of each record. Values are trimmed and reordered here; the publisher does not endorse this presentation.

## Missing something?

Tell us what data, endpoint or feature you wish we had. It is free and needs no signup: call the MCP tool request_capability, or POST a short description to https://agentnative.dennery.ai/v1/capabilities/request.
