get_demographics
Retrieve the ONS Census 2021 demographic profile for any UK postcode, including population, age bands, ethnicity, tenure, occupation, and qualifications.
Instructions
Return ONS Census 2021 demographic profile for a postcode.
Includes population, age bands, household composition, ethnicity, tenure, occupation and qualifications - all keyed to the postcode's output area.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"postcode": "<postcode>"
},
"name": "get_demographics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| postcode | Yes | UK postcode (any common format, e.g. "SW1A 1AA" or "sw1a1aa"). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||