UK postcode lookup
uk_postcode_lookupLook up any UK postcode and get latitude/longitude, local council, county, ward, parish, parliamentary constituency, region and country, from official ONS data. Use when you need to place a UK address on a map, work out which council or MP covers it, or check a postcode is real. Spaces optional. Errors: 400 invalid format, 404 postcode not found. Price: $0.001 USDC per call (x402).
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": "uk_postcode_lookup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| postcode | Yes | UK postcode, e.g. SW1A1AA |