Look Up UK Postcode
gov_govuk_lookup_postcodeResolve any UK postcode to its local authority, region, constituency, and NHS area. Direct users to the right GOV.UK service for council tax, planning, or waste.
Instructions
Look up a UK postcode to retrieve its local authority, region, constituency, and other administrative geography.
Useful for determining which council area, parliamentary constituency, or NHS region a postcode falls within. Commonly used to direct users to the correct local service on GOV.UK (e.g. council tax, planning, waste).
Uses the postcodes.io public API (no key required).
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": "gov_govuk_lookup_postcode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| postcode | Yes | UK postcode, e.g. 'SW1A 2AA' or 'NG1 1AA'. Spaces optional. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| codes | No | GSS codes for all administrative geographies covering this postcode. | |
| region | No | ONS region, e.g. 'East Midlands'. | |
| country | No | Country, e.g. 'England', 'Scotland', 'Wales', 'Northern Ireland'. | |
| latitude | No | Latitude in decimal degrees (WGS84). | |
| postcode | No | Canonicalised postcode as returned by postcodes.io. | |
| longitude | No | Longitude in decimal degrees (WGS84). | |
| admin_county | No | Administrative county, where applicable (null in unitary areas). | |
| local_authority | No | Local authority / council covering the postcode. | |
| nhs_integrated_care_board | No | NHS Integrated Care Board, where available. | |
| parliamentary_constituency | No | Parliamentary constituency (pre-2025 boundary). | |
| parliamentary_constituency_2025 | No | Parliamentary constituency under the 2025 boundaries. |