# data.gov.uk dataset catalogue

The data.gov.uk catalogue of UK government datasets: search by keyword and read a dataset's publisher, licence and download links.

- No API key needed to call
- Source: [data.gov.uk \(Government Digital Service\)](https://data.gov.uk/)
- Licence and terms: [Open Government Licence v3.0](https://data.gov.uk/terms-and-conditions)
- Coverage: United Kingdom
- Answers are shared and cached for 3600 seconds.

## Questions you can ask

- Which UK government datasets cover road traffic? (operation `ukdata_dataset_search`)
- What files are in the data.gov.uk housing dataset? (operation `ukdata_dataset`)

## Operations

### Search UK government datasets

Answers: which UK government datasets are about a topic, who publishes them and under which licence? The licence of each dataset is in its record.

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

Example: Which UK government datasets cover road traffic?

Over MCP:

```
{"tool":"call_connector_operation","arguments":{"connector":"ukdata","operation":"ukdata_dataset_search","params":{"q":"road traffic","rows":3}}}
```

Over HTTP:

```
curl '/v1/connectors/ukdata/ukdata_dataset_search?q=road+traffic&rows=3'
```

### UK government dataset record

Answers: what are the description, publisher, licence and download links of one data.gov.uk dataset?

- `id`: required, string, Dataset id or name \(slug\) from ukdata\_dataset\_search.

Example: What files are in the data.gov.uk housing dataset?

Over MCP:

```
{"tool":"call_connector_operation","arguments":{"connector":"ukdata","operation":"ukdata_dataset","params":{"id":"housing"}}}
```

Over HTTP:

```
curl '/v1/connectors/ukdata/ukdata_dataset?id=housing'
```

## Source notice

Source: data.gov.uk. Contains information licensed under the Open Government Licence v3.0. Terms: "You are free to: copy, publish, distribute and transmit the Information; adapt the Information; exploit the Information commercially and non-commercially" under the Open Government Licence v3.0, which asks for attribution. 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.
