Postcode Context Great Britain
OfficialEnables per-call paid access to postcode intelligence through x402 v2 payments in USDC on Base Mainnet, using Coinbase CDP sponsored gas for payment settlement.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Postcode Context Great BritainCompare SW1A 1AA and M1 1AE on house prices, schools, and broadband"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Postcode Context Great Britain — Remote MCP Server & x402 API
Give AI agents real-world UK location intelligence.
Turn any Great Britain postcode (England, Scotland, or Wales) into structured property, demographic, energy, school metadata, GP healthcare, rail transit, and broadband context in one call. Compare locations, batch-enrich up to 50 postcodes per request, and return source-grounded evidence—with transparent per-call pricing from $0.005 per request ($0.050 per 50-postcode batch = $1 per 1,000 postcodes).
Postcode Context Great Britain is a stateless Remote Model Context Protocol (MCP) Server (streamable-http) and REST API delivering socio-economic intelligence, ONS Census 2021 (England & Wales) and NRS Scotland's Census 2022 demographics, Index of Multiple Deprivation (IoD 2025 / WIMD 2025 / SIMD 2020v2) deciles, HM Land Registry & Registers of Scotland residential property prices, MHCLG & Scottish Domestic EPC ratings, and Ofcom gigabit broadband availability across 1,760,216 (1.76M) active Great Britain postcodes.
Northern Ireland (BT) and Crown Dependencies (JE, GY, IM) are excluded due to separate proprietary licensing regimes (e.g., Land & Property Services Northern Ireland). Underlying public sector datasets are predominantly licensed under the Open Government Licence v3.0 (OGL v3.0) alongside Ordnance Survey, ONS, and Royal Mail Gridlink statutory attribution terms; commercial API access and integration usage remain governed by the Terms of Service and License.
🌐 Live Server Endpoints & Access Model
Paid Intelligence Endpoints (x402 v2 USDC on Base Mainnet eip155:8453)
Intelligence queries require per-call payment via the x402 v2 protocol (USDC on Base Mainnet with Coinbase CDP sponsored gas). Unpaid requests receive an HTTP 402 Payment Required challenge (REST) or structured x402 payment requirement (MCP). There is no unauthenticated free sandbox tier on REST intelligence routes.
Interface | Endpoint | Price (USDC) | Purpose |
Remote MCP ( |
| $0.005 – $0.050 | Execute the 8 paid intelligence MCP tools |
REST Single Postcode |
| $0.005 | Full or filtered ( |
REST Outcode District |
| $0.005 | Outward postal district aggregation (e.g. |
REST Compare |
| $0.010 | Side-by-side comparison & ranking of 2 to 5 postcodes |
REST Batch Enrichment |
| $0.050 | Bulk enrichment for 1 to 50 postcodes ( |
Reference, Schema & Protocol Discovery Endpoints ($0.00 / No Auth — Subject to Terms)
Protocol discovery, schema reference, documentation, and verification routes require no authentication and $0.00 payment. Usage remains subject to the Terms of Service and statutory Crown / OGL v3.0 / Royal Mail attribution notices:
Resource | URL | Format | Scope & Status |
MCP Discovery & Free Tools |
| Streamable HTTP ( | No auth ( |
Data Dictionary |
| HTML & JSON | Complete field definitions, mathematical formulas & statistical caveats |
Attribution Registry |
| JSON | All 19 official data sources, vintages & OGL v3.0 / Gridlink notices |
OpenAPI 3.1 Spec |
| OpenAPI JSON | Full REST API schema & x402 pricing metadata |
LLMs.txt & MCP Guide |
| Markdown / HTML | Autonomous agent documentation & integration guides |
Discovery Manifests |
| JSON | Standard x402, MCP, and A2A machine-discovery manifests |
Crawler Verification |
| JSON | Glama Remote Connector domain ownership claim |
Registry Domain Auth |
|
| Official MCP Registry HTTP Ed25519 domain verification route |
Legal Governance |
| HTML | Commercial Terms of Service, Privacy Notice & Disclaimers |
Related MCP server: quanta-x402-mcp
📊 Datasets & Coverage Scope
Every full postcode profile joins intelligence across 19 official Great Britain public sector and statutory datasets (applied according to England, Scotland, and Wales jurisdiction via the ONS Postcode Directory ONSPD 2026-Q3, Ordnance Survey OS OpenData, and Royal Mail Gridlink):
Property Valuation & Housing Stock (HM Land Registry
2024–2026& Registers of Scotland2023–2025):3-year rolling median residential transaction price, transaction volume (
sales_volume_3yr), benchmark estimated price per square metre (£/sqm),price_basisgranularity (postcode,data_zone,outcode_district, orlocal_authority), dominant property typology, mean internal floor area (avg_floor_area_sqm), and pre-1930 housing share (pre_1930_housing_pct).
Census Demographics & Modelled Income Heuristic (ONS Census 2021 E&W; NRS Scotland's Census 2022):
est_median_household_income_gbp: Heuristic small-area estimate of annual gross disposable household income (clamped£21,000–£95,000for relative ranking — not an observed Census or HMRC survey return).Observed Census shares: NS-SeC higher managerial/professional %, Level 4+ and no-qualification rates, housing tenure breakdown (owned outright, mortgaged, private rented, social rented), economically active employed %, retired %, student %, work-from-home %, car ownership (
zero_cars,two_or_more_cars), 5 age bands, and population density per km².
Statutory Indices of Multiple Deprivation — All 7 Domains:
National deciles (
1= most deprived 10% within home nation,10= least deprived 10%) and overall rank across overall IMD plus all 7 statutory domains:income,employment,education_skills,health,crime_safety,housing_barriers, andliving_environment(English IoD 2025, Welsh WIMD 2025, Scottish SIMD 2020v2).Cross-border note: IMD deciles are calculated separately within England, Wales, and Scotland and are not directly interchangeable across national borders.
Domestic EPC Energy Efficiency (MHCLG Open EPC E&W & Scottish Domestic EPC Register):
Modal current and potential EPC rating bands (
A–G) and green retrofit upside summary (retrofit_upside_potential).
Ofcom Digital Infrastructure (Connected Nations 2026):
gigabit_availability_pct: Percentage of domestic premises with access to gigabit-capable broadband (>= 1,000 Mbps, FTTP full fibre or gigabit cable).broadband_speed_tier_mbps: Discrete fixed broadband availability tier (350,120,80, or68.5 Mbpsbaseline) derived from Ofcom availability brackets. Note: This is a modelled availability tier, not an empirically measured speed-test average; separate FTTP-only and superfast availability percentages are not returned.
Schools Metadata & Straight-Line Proximity (DfE GIAS, Scottish SEED, Welsh Government):
Nearest primary and nearest secondary school metadata (
id,name,phase,gender,religious_character,admissions_policy) with straight-line geodesic distance (distance_km). Note: Does NOT include statutory school inspection ratings or school admissions catchment boundaries.
Primary Care / GP Proximity & Statutory Ratings (CQC England, PHS/HIS Scotland, NWSSP/HIW Wales):
nearest_gp_surgery: Nearest registered GP practice/surgery (id,name,care_type, straight-linedistance_km,regulator, statutoryrating, andinspection_datewhere available). Note: Acute hospitals are not returned in API responses.
Rail & Rapid Transit Connectivity (DfT NaPTAN & ORR Table 1410):
nearest_stationandnearest_intercity_hub(id,name,station_type, straight-line geodesicdistance_km, andhub_typestation hierarchy tier:national_hub,regional_hub,commuter_hub, orlocal_stationderived from ORR Table 1410 usage & Network Rail categories; raw annual passenger counts are not returned).
National Landmarks & Special Non-Geographic Context:
Curated
landmark_contextflags and demographic distortion notes for major UK royal, civic, diplomatic, and institutional postcodes (e.g.,SW1A 1AA), plus British Forces Post Office (BF1) and royal/civic non-geographic postcodes.
📐 Transparent Scoring Methodology & Mathematical Formulas
Every synthetic score in Postcode Context is deterministic, grounded in Census 2021/2022 and statutory public registers, and documented below and in the live Data Dictionary:
1. Affluence Score (affluence_score_100)
Scale:
1 to 100(100 = Peak Affluence; ~10 points represents ~1 national decile shift).Weighting Dimensions:
35% Heuristic Modelled Gross Disposable Household Income: Normalized against regional GDHI baseline (£72,000 ceiling, capped at 100), where $\text{Income} = \text{clamp}\left(21000, 95000, \text{round}\left(22000 + 3300 \times (\text{IncomeDecile} - 1) + 260 \times \text{Managerial} + 180 \times \text{L4}\right)\right)$.
25% Human Capital: Equal weighting between Level 4+ higher education degree holders (
degree_or_higher_level4_plus) and higher managerial/professional occupations (ns_sec_managerial_professional_pct).25% Statutory Deprivation Freedom: Normalized national IMD decile (
imd_overall_decile * 10).15% Housing Equity: Share of outright homeownership and mortgaged households (
owned_outright + mortgaged).
Formula: $$\text{Score} = \text{clamp}\left(1, 100, \text{round}\left(0.35 \times \min\left(100, \frac{\text{Income}}{72000} \times 100\right) + 0.25 \times \frac{\text{L4} + \text{Managerial}}{2} + 0.25 \times (\text{IMD} \times 10) + 0.15 \times \text{Homeownership}\right)\right)$$
Tiers:
Ultra-Prime(>=90) |Affluent(75–89) |Mid-Market(50–74) |Modest-Income(30–49) |High-Deprivation(<30).Scope Note: Measured at LSOA / Data Zone neighbourhood granularity. Because IMD deciles are relative within England, Wales, and Scotland, cross-border comparisons should rely on underlying Census percentages and property transaction metrics.
2. Family Suitability Score (family_suitability_score_100)
Scale:
1 to 100(100 = Optimal Family Environment).Weighting Dimensions:
40% Statutory Crime Safety: Low crime deprivation from statutory IMD crime domain (
crime_safety_decile * 10).30% Statutory Education Deprivation & School Proximity: Low adult/child education deprivation (
education_skills_decile * 10), adjusted at runtime if the nearest primary school (falling back to nearest secondary if unavailable) exceeds 3 km geodesic distance: $\text{EduComponent} = \max\left(10, \text{round}\left(\text{EduDecile} \times 10 - \min\left(20, \max(0, \text{SchoolDistKm} - 3) \times 2\right)\right)\right)$.30% Demographic Family Density: Concentration of children (0–15 years) and parenting-age adults (30–44 years).
Formula: $$\text{Score} = \text{clamp}\left(1, 100, \text{round}\left(0.40 \times (\text{CrimeDecile} \times 10) + 0.30 \times \text{EduComponent} + 0.30 \times \min\left(100, (\text{Age}{0-15} + \text{Age}{30-44}) \times 2\right)\right)\right)$$
Scope Note: Evaluates statutory neighbourhood crime/education deciles, age structure, and straight-line proximity; does not include school inspection ratings or admissions catchment boundaries.
3. Commuter Connectivity Score (commuter_connectivity_score_100)
Scale:
1 to 100(100 = Exceptional Multi-Modal Connectivity).Components & Weights:
45% Rail / Metro Station Proximity ($S_{\text{station}}$): Stepped straight-line (geodesic) distance score to the nearest NaPTAN station (
<=0.8 km: 100,<=1.5 km: 85,<=3.0 km: 65,<=6.0 km: 45,<=10.0 km: 25,>10.0 km: 10).Additive Intercity Hub Bonus ($B_{\text{hub}}$): Proximity to major mainline rail/interchange hub ($\le 3.0\text{ km}: +15$; $\le 7.0\text{ km}: +8$; $>7.0\text{ km}: 0$).
20% Local Transit Reliance ($S_{\text{transit}}$): Zero-car household density from Census
car_ownership_pct.zero_cars, scaled as $\min(100, \text{round}(\text{ZeroCarPct} \times 2.2))$.15% Digital Infrastructure ($S_{\text{digital}}$): $\min(100, \text{round}((\text{BroadbandSpeedTierMbps} / 350) \times 60 + \text{GigabitAvailabilityPct} \times 0.4))$.
10% Corridor Affluence:
affluence_score_100.
Formula: $$\text{Score} = \text{clamp}\left(1, 100, \text{round}\left(0.45 \times S_{\text{station}} + B_{\text{hub}} + 0.20 \times S_{\text{transit}} + 0.15 \times S_{\text{digital}} + 0.10 \times \text{Affluence}\right)\right)$$
4. Property Value Index (property_value_index)
Scale:
1 to 100integer index (100 = Prime Central London benchmark ceiling of £16,200/m²; 50 ≈ £8,100/m²).Formula: $\min\left(100, \max\left(1, \text{round}\left(\frac{\text{price_per_sqm_gbp}}{16200} \times 100\right)\right)\right)$
5. Primary Persona Tag Heuristics (primary_persona_tag)
Assigned deterministically through a transparent decision tree based on wealth tier, student concentration, age cohorts, and rental tenure across residential archetypes (Ultra-High-Net-Worth Executives & Diplomatic Residents, Urban Young Renters & University Students, Affluent Coastal & Countryside Retirees, Affluent Suburban Commuter Families, Metropolitan Corporate Professionals & Renters, Industrial & Service Sector Households, and Established Mixed-Generation Suburban Residents). Curated national landmarks receive specialized institutional archetypes (e.g., Crown & Sovereign Diplomatic Enclave).
Verifiable via Tool & Web: The complete mathematical dictionary for all 113 documented dictionary fields (across 11 domains, including nested subfields, query metadata, and 1 deprecated alias) can be inspected programmatically via
get_data_dictionary($0.00) or online at https://api.postcodecontext.uk/data-dictionary.
🧰 Available MCP Tools (10 Canonical Tools)
MCP discovery (initialize, tools/list, resources/list), resources/read (postcode://data-dictionary, postcode://data-attribution), and the two reference tools (get_data_dictionary, get_data_attribution) require no authentication and $0.00 payment (subject to the Terms of Service). All 10 tools declare explicit MCP annotations (readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false), and five backward-compatible tool aliases are routed transparently on tools/call.
Tool Name | Price (USDC / Call) | Annotations | Function |
| $0.005 | Read-Only, Idempotent | Full multi-domain profile across 113 documented dictionary fields ( |
| $0.010 | Read-Only, Idempotent | Side-by-side comparison of 2 to 5 postcodes with automated AI synthesis ranking |
| $0.050 | Read-Only, Idempotent | High-throughput cohort enrichment for 1 to 50 postcodes ( |
| $0.005 | Read-Only, Idempotent | District-level aggregation across an outward postal district (e.g. |
| $0.005 | Read-Only, Idempotent | Low-token (~80 tokens) natural language briefing, affluence score & persona |
| $0.005 | Read-Only, Idempotent | HMLR / RoS median price, £/sqm, sales volume, EPC band & retrofit upside |
| $0.005 | Read-Only, Idempotent | Heuristic household income, Census 2021 (E&W) / 2022 (Scotland) demographics & 7-domain IMD deciles |
| $0.010 | Read-Only, Idempotent | Rank 2 to 10 postcodes by |
| $0.00 (No Auth) | Read-Only, Idempotent | Exact field definitions, calculation formulas, statistical scales, and sources |
| $0.00 (No Auth) | Read-Only, Idempotent | Statutory Crown copyright, OGL v3.0, and Royal Mail Gridlink provenance metadata |
District Fallback & Fair Exchange Guarantee: If a syntactically valid GB unit postcode is newly registered or absent from ONSPD, lookup falls back automatically to the parent outward district (
match_type: "district_fallback",confidence: "approximate"). On x402-signed requests, if neither the unit postcode nor its outward district matches in ONS data—or if a request fails syntax validation or targets excluded territories (BT,JE,GY,IM)—tool execution errors before settlement (billed: false, $0.00 USDC settled). Unpaid requests without an x402 payment header receive the standard payment challenge upfront.
⚡ Client Configuration & Installation
You can connect Postcode Context directly over remote Streamable HTTP, or through the lightweight npx stdio wrapper for clients that require local processes.
1. Claude Desktop
Direct Remote Streamable HTTP (Recommended)
Edit your claude_desktop_config.json:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"postcode-context": {
"url": "https://api.postcodecontext.uk/mcp"
}
}
}Stdio Local Wrapper (Compatible with all stdio-only MCP clients)
Via mcp-remote:
{
"mcpServers": {
"postcode-context": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://api.postcodecontext.uk/mcp"]
}
}
}Or via this repository's lightweight stdio wrapper:
{
"mcpServers": {
"postcode-context": {
"command": "npx",
"args": ["-y", "github:postcodecontext/postcode-context-mcp"]
}
}
}2. Cursor (.cursor/mcp.json)
Add to your project's .cursor/mcp.json or Global Cursor Settings:
{
"mcpServers": {
"postcode-context": {
"type": "streamable-http",
"url": "https://api.postcodecontext.uk/mcp"
}
}
}3. Claude Code CLI
Add the remote server directly with one command:
claude mcp add --transport http postcode-context https://api.postcodecontext.uk/mcp4. VS Code (Copilot / MCP)
In .vscode/mcp.json:
{
"servers": {
"postcode-context": {
"type": "http",
"url": "https://api.postcodecontext.uk/mcp"
}
}
}💳 Autonomous Payment via x402 (Zero-Signup USDC on Base)
AI agents and code pipelines can call paid tools autonomously in USDC on Base Mainnet (eip155:8453) with Coinbase CDP sponsored gas (zero gas fees):
import { createx402MCPClient } from '@x402/mcp';
import { ExactEvmScheme } from '@x402/evm/exact/client';
import { privateKeyToAccount } from 'viem/accounts';
import { StreamableHTTPClientTransport } from '@modelcontextprotocol/sdk/client/streamableHttp.js';
const account = privateKeyToAccount(process.env.EVM_PRIVATE_KEY as `0x${string}`);
const mcpClient = createx402MCPClient({
name: 'my-location-agent',
version: '1.0.0',
schemes: [{ network: 'eip155:8453', client: new ExactEvmScheme(account) }],
autoPayment: true
});
await mcpClient.connect(
new StreamableHTTPClientTransport(new URL('https://api.postcodecontext.uk/mcp'))
);
const response = await mcpClient.callTool('lookup_postcode', {
postcode: 'SW1A 1AA',
view: 'full' // or 'brief' (~80 tokens)
});
console.log(response.content[0].text);🔬 Example Tool Call & Output
Request: lookup_postcode (alias: get_postcode_intelligence)
{
"postcode": "SW1A 1AA"
}Truncated Live Response (abridged for brevity; full census, school, GP, transit & licensing fields omitted):
{
"match_type": "exact_unit",
"confidence": "exact",
"summary_for_ai": {
"ai_context_briefing": "Buckingham Palace is the official London residence and administrative headquarters of the British Sovereign. General Census 2021 returns for LSOA Westminster 018C reflect surrounding civic barracks and transient rental flats, not the sovereign palace estate. Census demographics reflect residential blocks in Westminster 018C (Wellington Barracks and rental flats towards Victoria), not the Royal Household.",
"primary_persona_tag": "Crown & Sovereign Diplomatic Enclave",
"affluence_tier": "Ultra-Prime",
"b2c_spending_propensity": "Sovereign estate, high-security royal residence, and international diplomatic statecraft.",
"affluence_score_100": 100,
"family_suitability_score_100": 67,
"commuter_connectivity_score_100": 92,
"property_value_index": 100
},
"location": {
"postcode": "SW1A 1AA",
"clean_postcode": "SW1A1AA",
"outcode": "SW1A",
"incode": "1AA",
"lsoa_code": "E01004736",
"lsoa_name": "Westminster 018C",
"local_authority": "Westminster",
"region_or_nation": "England",
"latitude": 51.50101,
"longitude": -0.141563
},
"property_and_energy": {
"median_house_price_gbp": 3525000,
"price_per_sqm_gbp": 47000,
"price_basis": {
"resolution": "postcode",
"window": "2024–2026",
"n": 38
},
"sales_volume_3yr": 38,
"dominant_property_type": "Terraced",
"avg_floor_area_sqm": 75,
"epc_rating_current": "D",
"epc_rating_potential": "C",
"retrofit_upside_potential": "High upgrade upside (Current EPC D upgradable to C)"
},
"deprivation_deciles": {
"imd_overall_decile": 8,
"crime_safety_decile": 5,
"education_skills_decile": 10
},
"census_demographics": {
"est_median_household_income_gbp": 73722
},
"digital_infrastructure": {
"broadband_speed_tier_mbps": 68.5,
"gigabit_availability_pct": 0
},
"schools_and_education": {
"nearest_primary_school": {
"id": "ENG-152443",
"name": "St Vincent De Paul Catholic Primary School",
"phase": "Primary",
"distance_km": 0.56
},
"nearest_secondary_school": {
"id": "ENG-138312",
"name": "Westminster City School",
"phase": "Secondary",
"distance_km": 0.38
}
},
"healthcare_and_services": {
"nearest_gp_surgery": {
"id": "CQC-1-15779406945",
"name": "Dr Apul Parikh Clinic",
"care_type": "GP Practice",
"distance_km": 0.48,
"regulator": "CQC"
}
},
"transit": {
"nearest_station": {
"id": "4900VICTRIC1",
"name": "Victoria",
"station_type": "London Underground",
"hub_type": "national_hub",
"distance_km": 0.52
}
},
"landmark_context": {
"is_national_landmark": true,
"landmark_name": "Buckingham Palace",
"landmark_category": "Royal Residence",
"demographic_distortion_note": "Census demographics reflect residential blocks in Westminster 018C (Wellington Barracks and rental flats towards Victoria), not the Royal Household."
},
"_attribution": "Contains OS data © Crown copyright and database right 2026. Contains Royal Mail data © Royal Mail copyright and database right 2026. Contains National Statistics data © Crown copyright and database right 2026. Contains HM Land Registry data © Crown copyright 2026. Contains Registers of Scotland data © Crown copyright and database right 2026. Contains public sector information licensed under the Open Government Licence v3.0 (MHCLG Open EPC, Scottish Government Domestic EPC, English/Welsh/Scottish Indices of Deprivation, Ofcom Connected Nations, DfE GIAS, CQC, Scottish Government, Welsh Government, Public Health Scotland, Healthcare Inspectorate Wales)."
}📜 Data Provenance, Attribution & Licensing
Service & Proprietary Rights: Postcode Context Great Britain is a proprietary commercial API and remote MCP service operated by Postcode Context (
postcodecontext.uk). The Worker backend source code, data pipelines, and pre-built database tables are proprietary and private. However, all scoring algorithms, weighting dimensions, mathematical formulas, and data dictionary definitions are openly documented and verifiable in this README and via theget_data_dictionarytool //data-dictionaryendpoint ($0.00). The client manifest files and stdio wrapper in this repository are provided under the Postcode Context Client Integration License solely for connecting to the official endpoints. All queries remain subject to the Postcode Context Terms of Service.Public Sector Data & Statutory Attribution: Underlying public sector datasets contain OS, ONS (Census 2021 / ONSPD), NRS Scotland (Census 2022), Ofcom (Connected Nations), MHCLG (Open EPC & IoD 2025), Scottish Government (Domestic EPC, SIMD 2020v2, SEED), Welsh Government (WIMD 2025 & Schools), DfE (GIAS), CQC, PHS/HIS Scotland, NWSSP/HIW Wales, DfT (NaPTAN), ORR (Table 1410), HM Land Registry, and Registers of Scotland data © Crown copyright and database right 2026, licensed under the Open Government Licence v3.0 (OGL v3.0). Royal Mail postcode and Gridlink allocation data © Royal Mail copyright and database right 2026 is supplied under Gridlink licensing arrangements. Full dataset-by-dataset provenance is published at
/api/v1/attribution.
Available Tools
10 toolscompare_postcodesCompare Great Britain Postcodes Side-by-SideARead-onlyIdempotentInspect
Use when you need to directly contrast 2 to 5 Great Britain postcodes across affluence, safety, housing cost per m², broadband, and family suitability. Returns full profiles by default; use view="brief" (~80 tokens per postcode) to keep context compact alongside the comparison ranking. Do not use for single postcode inspection (use lookup_postcode) or bulk batches of >5 postcodes (use enrich_postcodes).
Inputs: postcodes (required), view. Returns: _billing, postcodes, _licensing, _disclaimer, +2 more
enrich_postcodesEnrich Bulk Great Britain Postcodes CohortARead-onlyIdempotentInspect
Bulk demographic, economic, and spatial lookup for 1 to 50 Great Britain postcodes. Returns brief profile by default (~80 tokens per postcode) to prevent context blow-up; use view="full" when all 113 metrics are needed. Cost-effective for 6 to 50 postcodes ($0.050 flat fee). For 1 postcode use lookup_postcode ($0.005); for 2 to 5 postcodes use compare_postcodes ($0.010). Do not use when detailed side-by-side comparative rankings are required (use compare_postcodes).
Inputs: postcodes (required), view. Returns: results, _billing, _licensing, _disclaimer, +2 more
get_data_attributionGet Data Provenance & Statutory Attribution RegisterARead-onlyIdempotentInspect
$0.00 USDC reference tool (no payment or authentication required; subject to Terms of Service): Retrieve official statutory attribution statements, Crown copyright notices, Royal Mail Gridlink sublicence details, and Open Government Licence v3.0 metadata across all 19 contributing data providers (ONS, OS, Royal Mail, HM Land Registry, Registers of Scotland, MHCLG, Ofcom, Scottish Government, Welsh Government, DfE, CQC, PHS, NWSSP, DfT, ORR).
Inputs: no named parameters.
get_data_dictionaryGet Data Dictionary & Field MethodologyARead-onlyIdempotentInspect
$0.00 USDC reference tool (no payment or authentication required; subject to Terms of Service): Retrieve exact field specifications, mathematical calculation formulas, statistical scales, and data sources for any metric across Great Britain in the Postcode Context database.
Inputs: field, domain.
get_demographics_and_deprivationGet Great Britain Demographics & Deprivation ProfileARead-onlyIdempotentInspect
Retrieve Census demographic breakdown (ONS Census 2021 / NRS Scotland Census 2022 income estimate, qualifications, tenure, employment, age) and statutory IMD deprivation deciles (IoD 2025, WIMD 2025, SIMD 2020 crime safety, education, living environment) for any Great Britain postcode. Covers England, Scotland, and Wales.
Inputs: postcode (required). Returns: note, _billing, location, _licensing, +9 more
get_postcode_ai_briefGet Great Britain Postcode AI Briefing (Low-Token)ARead-onlyIdempotentInspect
Retrieve an ultra-lightweight, token-efficient natural language briefing, affluence tier, and persona profile (~80 tokens) for fast autonomous agent decision-making across Great Britain. Covers England, Scotland, and Wales (excludes Northern Ireland BT postcodes).
Inputs: postcode (required). Returns: note, _billing, location, _licensing, +8 more
get_property_and_energy_profileGet Great Britain Property & Energy Efficiency ProfileARead-onlyIdempotentInspect
Retrieve real estate valuation (HM Land Registry / Registers of Scotland median house price, price per sqm, 3yr sales volume), EPC energy efficiency (current/potential band, retrofit upside), and Ofcom gigabit broadband connectivity for any Great Britain postcode. Covers England, Scotland, and Wales (excludes Northern Ireland BT postcodes).
Inputs: postcode (required). Returns: note, _billing, location, _licensing, +9 more
lookup_postcodeLookup Great Britain Postcode Intelligence ProfileARead-onlyIdempotentInspect
Use when you need demographic, property, EPC energy efficiency, broadband, or socio-economic context for a Great Britain unit postcode (England, Scotland, Wales). Returns full profile by default; use view="brief" (~80 tokens) for low-token, concise briefings when managing context budget. Do not use for non-GB postcodes (e.g. Northern Ireland BT) or when comparing multiple postcodes simultaneously (use compare_postcodes instead).
Inputs: postcode (required), view, exclude. Returns: note, transit, _billing, location, +15 more
screen_postcodesScreen & Rank Great Britain PostcodesARead-onlyIdempotentInspect
Rank and screen 2 to 10 Great Britain postcodes by a specific target metric (affluence, house price, crime safety, broadband speed, family suitability, or connectivity). Returns a sorted leaderboard. For 11 to 50 postcodes use enrich_postcodes; for full cross-metric comparison of 2 to 5 postcodes use compare_postcodes.
Inputs: metric (required), postcodes (required), order. Returns: order, _billing, _licensing, _disclaimer, +4 more
summarise_outcodeSummarise Outward Postal DistrictARead-onlyIdempotentInspect
Use when you only have an outward code / district (e.g. SW1A, BB7, EH1, CF10) and need high-level district demographic and property statistics (~150 tokens). Do not use when an exact full unit postcode is available (use lookup_postcode).
Inputs: outcode (required), view, exclude. Returns: outcode, _billing, _licensing, _disclaimer, +10 more
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
TDQS
Scored across 10 tools
Most tools are meaningfully separated by access pattern: single lookup, comparison, bulk enrichment, outcode summary, screening, and reference. However, get_postcode_ai_brief substantially duplicates lookup_postcode with view="brief", and the full lookup profile overlaps with the specialized property/energy and demographics/deprivation tools, creating avoidable selection ambiguity.
All tool names use snake_case and begin with a clear verb, such as lookup_postcode, compare_postcodes, enrich_postcodes, summarise_outcode, and screen_postcodes. The get_* family is slightly more descriptive but still follows the same verb-first convention.
Ten tools is well-scoped for a read-only postcode data service covering single-postcode lookup, multi-postcode comparison, bulk enrichment, outcode summaries, screening, and reference metadata. The surface is broad but each access category is represented without excessive fragmentation.
The set covers the main read-only workflows for Great Britain postcode context: profiles, comparison, bulk enrichment, outcode summaries, ranking, data definitions, and attribution. Minor gaps may exist around explicit metric discovery or geospatial/time-series access, but agents can largely work around these via the data dictionary and existing lookup tools.
Maintenance
Related MCP Connectors
UK area & property intelligence for AI agents: reports, EPC, comparables, with source provenance.
Address validation & geocoding for AI agents: 240+ countries, UK PAF, free US/CA enrichment
Singapore property & financial data APIs for AI agents. 27 MCP tools. x402 micropayments.
x402 LLM proxy + data-enriched analysis (17 sources) + TimesFM predictive IoT intelligence.
Related MCP Servers
- -licenseNot gradedqualityCmaintenanceProvides real-time London area intelligence including postcode data, crime, schools, transport, and investment metrics, enabling AI assistants to answer property-related queries.-
- FlicenseNot gradedqualityCmaintenancePay-per-call structured data for autonomous AI agents. x402-metered, MCP-native.-
- FlicenseAqualityCmaintenanceVerified Singapore property, tax, affordability, salary, and location data for AI agents. 17 MCP tools, x402 micropayments, source provenance on every response. Singapore live now, more markets coming. Categories: Finance, Real Estate, Data, Singapore, x402, Payments, Government Data17-
- AlicenseBqualityCmaintenanceEnables MCP-compatible AI clients to look up UK postcode details, find nearest postcodes by coordinates, and retrieve upcoming bank holidays through keyless public APIs.3MIT