UK Property Data
A comprehensive UK property research tool aggregating data from Land Registry, EPC Register, Rightmove, Companies House, and more.
property_report: Full property report combining sales history, area comps, EPC rating, rental market, sales listings, yield, and price range — all in one call.property_comps: Land Registry Price Paid Data for a postcode with optional EPC enrichment (floor area, price/sqft) and auto-escalation to wider area if results are sparse.ppd_transactions: Search Land Registry sold price records by postcode, address, date range, or price filters.property_yield: Calculate gross rental yield by combining Land Registry sales data with live Rightmove rental listings.rental_analysis: Get median/average rent, listing count, and rent range for a postcode, with optional yield calculation from a given purchase price.property_epc: Retrieve EPC data for a specific property (energy rating, floor area, construction age, heating costs) or area-level aggregation.rightmove_search: Search current Rightmove listings for sale or rent, with filters for price, bedrooms, building type, and sort order.rightmove_listing: Fetch full details for a specific listing including tenure, lease years, service charge, ground rent, council tax band, floor area, and floorplans.property_blocks: Identify buildings with multiple recent flat sales to spot investor exits or bulk-buy opportunities.stamp_duty: Calculate UK SDLT with support for additional property surcharge, first-time buyer relief, and non-resident surcharge.planning_search: Find the local council planning portal URL for any UK postcode.company_search: Search Companies House by company name.company_profile: Retrieve a full Companies House record by company number, including address, status, incorporation date, officers, and filing history.
Environment configuration for API keys including EPC Register credentials, Companies House API key, Rightmove rate limiting, and OpenAI API key for planning portal scraping.
Provides HTTP API wrapper for property data services with endpoints for comparable sales, rental analysis, Rightmove searches, stamp duty calculations, and property reports.
Deployment platform for hosting the property data service with API endpoints and MCP server accessible via HTTP transport.
Source code repository hosting the property-shared project with MCP server implementation and deployment configuration.
Uses OpenAI's vision API for automated planning portal scraping to extract planning application data from UK local council websites.
Testing framework used for both mocked unit tests and live integration tests with real network calls to property data sources.
Core library implementation providing business logic for property data analysis including Land Registry PPD, EPC certificates, Rightmove listings, and yield calculations.
CLI interface for property data tools enabling command-line access to comparable sales, rental yield analysis, stamp duty calculations, and Rightmove searches.
This server has a remotely hosted endpoint. Open its connector listing for connection details, authentication requirements, and setup instructions:
Property Shared
UK property data in one package. Pulls Land Registry sales, EPC certificates, Rightmove listings, rental yields, stamp duty calculations, planning portal links, and Companies House records.
Use it as a Python library, CLI, HTTP API, or MCP server.
What You Get
Data Source | What It Returns |
Land Registry PPD | Sold prices, dates, property types, area comps with median/percentiles |
EPC (GOV.UK) | Energy ratings, floor area, heating costs. England & Wales only. Certificate lookup and summary search — see EPC notes below |
Rightmove | Current listings (sale + rent), prices, agents, listing details |
Yield Analysis | Gross yield from PPD sales + Rightmove rentals combined |
Stamp Duty | SDLT calculation with April 2025 bands, BTL surcharge, FTB relief |
Block Analyzer | Groups flat sales by building to spot investor exits |
Planning | Local council planning portal lookup (99 verified councils, stdio only) |
Companies House | Company search and lookup by name or number |
Related MCP server: UK Due Diligence
Skills & Plugins
Property and Legal packs coming soon. Please get in contact if you have working experiance or expert knowledge in UK property investing, UK Estate Agents, Property and Conveyencing and would like to help shape this. paul@bouch.dev
Use as MCP Server
No install required — paste the URL into your MCP client config and go.
Claude Code, Cursor, any MCP client:
{
"mcpServers": {
"property-shared": {
"type": "http",
"url": "https://property-shared.fly.dev/mcp"
}
}
}Install
pip install property-shared
# or with uv
uv add property-sharedExtras: [cli] for CLI, [api] for HTTP server.
pip install property-shared[cli]
# or
uv add property-shared --extra cliUse as a Python Library
from property_core import PPDService, calculate_yield, calculate_stamp_duty
# Get comparable sales for a postcode
comps = PPDService().comps("SW1A 1AA", months=24, property_type="F")
print(f"Median flat price: {comps.median:,}")
# Calculate rental yield
import asyncio
result = asyncio.run(calculate_yield("NG1 1AA", property_type="F"))
print(f"Gross yield: {result.gross_yield_pct}%")
# Stamp duty
sdlt = calculate_stamp_duty(250000, additional_property=True)
print(f"SDLT: {sdlt.total_sdlt:,.0f} ({sdlt.effective_rate}%)")All models are available at top level:
from property_core import (
PPDTransaction, PPDCompsResponse, EPCData,
RightmoveListing, RightmoveListingDetail,
PropertyReport, YieldAnalysis, RentalAnalysis,
BlockAnalysisResponse, CompanyRecord, StampDutyResult,
)Interpretation helpers (core returns numbers, you decide how to label them):
from property_core import classify_yield, classify_data_quality, generate_insightsUse as CLI
pip install property-shared[cli] # or: uv add property-shared --extra cli
# Comparable sales
property-cli ppd comps "SW1A 1AA" --months 24 --property-type F
# Rental yield
property-cli analysis yield "NG1 1AA" --property-type F
# Stamp duty
property-cli calc stamp-duty 300000
# Rightmove search (with sort)
property-cli rightmove search-url "NG1 1AA" --sort-by most_reduced
# Full property report
property-cli report generate "10 Downing Street, SW1A 2AA" --property-type FAdd --api-url http://localhost:8000 to any command to route through the HTTP API instead of calling core directly.
Use as HTTP API
pip install property-shared[api] # or: uv add property-shared --extra api
property-api # starts on port 8000Interactive docs at http://localhost:8000/docs.
Key endpoints:
GET /v1/ppd/comps?postcode=SW1A+1AA&property_type=F&enrich_epc=trueGET /v1/analysis/yield?postcode=NG1+1AA&property_type=FGET /v1/analysis/rental?postcode=NG1+1AA&purchase_price=200000GET /v1/rightmove/search-url?postcode=NG1+1AA&sort_by=newestGET /v1/calculators/stamp-duty?price=300000&additional_property=truePOST /v1/property/reportwith{ "address": "10 Downing Street, SW1A 2AA" }
Full endpoint list in USER_GUIDE.md.
EPC notes (v1.14.0)
The EPC service moved to a GOV.UK Bearer API. Set EPC_API_TOKEN; the old
EPC_API_EMAIL/EPC_API_KEY pair authenticated against a retired host and is
not a supported fallback.
What the new upstream supports, and what it does not:
Certificate lookup by certificate number — full detail, one request.
Summary search by postcode — returns address, UPRN (often absent), energy band, registration date and schema type. It does not return energy score, floor area or property type; those exist only on a full certificate.
A postcode selects an area, never a property. Identifying one property needs a UPRN or an address matching a certificate exactly (case, punctuation and a leading
Flat/Apartmentdesignator aside). Anything less — no address, no match, or several matches — is refused rather than resolved to a best guess. See USER_GUIDE.md for the CLI and REST surfaces.Area statistics are limited to the record count and, when the bounded response contains every matching summary, the rating distribution. Property-type breakdown and floor-area statistics are reported as
None— unavailable, not zero — because producing them would mean one request per certificate.Coverage is England and Wales. Scotland, Northern Ireland and the Channel Islands return "no certificates found": a coverage boundary, not a statement about a property.
Pagination is not a stable snapshot. Responses carry
complete,duplicates_removedandunusable_rows; no operation claims a complete harvest of an area.Ambiguous address matches are refused rather than resolved to an arbitrary neighbouring certificate.
search_all_by_postcode() is unsupported — use search_summaries() for
candidate discovery, then get_certificate() for the one you need.
Environment Variables
Create a .env file in the repo root (it is gitignored) with the variables you need.
Leave optional variables out entirely rather than assigning them empty.
KEY=sets an empty string, which is not the same as unset:os.getenv("KEY", "default")returns"", so the default never applies. This bit the EPC live tests, which sent an empty postcode upstream.
Key variables:
Variable | Required For | Description |
| EPC lookups | Bearer token from GOV.UK EPC data |
| (deprecated) | Retired service; parsed only to raise a configuration error |
| (deprecated) | Retired service; not a supported fallback |
| Company search | Free key from Companies House |
| No (default 0.6s) | Rate limit delay for Rightmove scraping |
| Planning scraper | Vision-guided planning portal scraper |
Land Registry PPD and Rightmove work without credentials.
Development
# Install dependencies (dev tooling installs by default via [dependency-groups])
uv sync
# Run API with reload
uv run --extra api uvicorn app.main:app --reload
# Full validation (lockfile check, pre-commit, all extras, full suite) —
# same entrypoint CI and the release gate use
./scripts/validate.sh
# + live integration tests (real network calls)
RUN_LIVE_TESTS=1 ./scripts/validate.shDeployed at https://property-shared.fly.dev with API docs at /docs and MCP endpoint at /mcp.
Available Tools
13 toolscompany_profileAInspect
Get the full Companies House record for a company by number.
Returns registered address, status, incorporation date, officers, and filing history. Use company_search to find a company number by name.
Inputs: company_number (required).
company_searchAInspect
Search Companies House by company name. Returns a list of matches.
For a direct lookup by company number, use the company://{company_number} resource instead (e.g. read_resource("company://00445790")).
Inputs: query (required).
planning_searchAInspect
Find the planning portal URL for a UK postcode.
Returns the council name, planning system type, and a direct URL to open in a browser. Does NOT return planning application data — scraping is blocked by council portals. Use the returned search_urls.direct_search link to browse applications manually.
Inputs: postcode (required).
ppd_transactionsAInspect
Search Land Registry transactions by postcode, address, date range, or price.
Use for specific property history ("what has 10 Downing Street sold for?") or filtered market queries ("all sales over 500k in SW1 last year").
Inputs: postcode, street, town, paon, +6 more.
property_blocksBInspect
Find buildings with multiple flat sales — block buying opportunities.
Groups Land Registry transactions by building to identify blocks being sold off, investor exits, and bulk-buy opportunities.
Inputs: postcode (required), months, min_transactions.
property_compsBInspect
Comparable property sales from Land Registry Price Paid Data.
Auto-escalates to wider search area if fewer than 5 results found. EPC enrichment adds floor area, price/sqft, and EPC rating to each comp, plus area-level median price/sqft and EPC match rate.
Inputs: postcode (required), months, limit, search_level, +4 more.
property_epcAInspect
EPC certificate data for a UK property or postcode area.
With address: returns the matched certificate for that property — energy rating, score, floor area, construction age, heating costs.
Without address: returns all certificates at the postcode with area-level aggregation (rating distribution, floor area range, property type breakdown). Use this for area analysis rather than a single-property lookup.
Inputs: postcode (required), address.
property_reportAInspect
Full data pull for a UK property in one call.
Returns sale history, area comps, EPC rating, rental market listings, current sales market listings, rental yield calculation, and price range from area median.
Requires a street address + postcode for subject property identification. Postcode-only (e.g. "NG1 2NS") returns area-level data without a subject property — use property_comps or property_yield for postcode-only queries.
Inputs: address (required), include_rentals, include_sales_market, ppd_months, +2 more.
property_yieldBInspect
Calculate rental yield for a UK postcode.
Combines Land Registry sales data with Rightmove rental listings to produce a gross yield figure.
Inputs: postcode (required), months, search_level, property_type, +1 more.
rental_analysisAInspect
Rental market analysis for a UK postcode.
Returns median/average rent, listing count, and rent range. Optionally calculates gross yield from a given purchase price. Auto-escalates search radius if local listings are sparse (thin market).
Inputs: postcode (required), radius, purchase_price, auto_escalate, +1 more.
rightmove_listingAInspect
Fetch full details for a Rightmove listing by ID or URL.
Returns price, tenure, lease years remaining, service charge, ground rent, council tax band, floor area, key features, nearest stations, and floorplan URLs.
Inputs: property_id (required).
rightmove_searchAInspect
Search Rightmove property listings for sale or rent near a postcode.
Returns prices, addresses, bedrooms, agent details, and listing URLs.
Inputs: postcode (required), property_type, building_type, min_price, +6 more.
stamp_dutyBInspect
Calculate UK Stamp Duty Land Tax (SDLT) for a residential property.
Inputs: price (required), additional_property, first_time_buyer, non_resident.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 13 tools
Each tool targets a distinct aspect of UK property data: company records, planning portals, transactions, blocks, comps, EPC, full reports, yield, rental analysis, Rightmove listings, and stamp duty. No two tools have overlapping purposes.
All tool names use a consistent snake_case pattern with descriptive noun_verb or adjective_noun structure (e.g., company_profile, rightmove_search, stamp_duty). No mixing of conventions.
With 13 tools covering the full spectrum of UK property data (companies, planning, transactions, EPC, rental, yield, stamp duty), the count is well-scoped and neither too sparse nor too heavy.
The tool surface covers the major needs for UK property analysis: company info, planning, transactional data, comparables, EPC, rental market, yields, listings, and stamp duty. The aggregate property_report tool fills gaps by combining multiple data sources.
Maintenance
Related MCP Connectors
UK property MCP: Land Registry prices, company charges, House Price Index. x402 USDC on Base.
UK property research tools - crime stats, schools, demographics, valuations for AI.
UK property data: EPC, flood risk, planning, sale prices, MEES 2030 checks and grants.
Property Records MCP — address-level US property records (sales history, assessed value, owner…
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables users to search UK property prices by postcode, street, or city using the HM Land Registry's SPARQL endpoint. It also provides tools for resolving postcodes and finding nearby locations through Ordnance Survey data.22MIT
- AlicenseAqualityBmaintenanceUK due diligence MCP server — Companies House, corporate research, compliance checks18196 PyPI3MIT
- AlicenseNot gradedqualityCmaintenanceUK property data MCP server for AI hosts (Claude, ChatGPT). Wraps Land Registry, Rightmove, EPC, rental yields, stamp duty, and Companies House into 13 tools.2MIT
- FlicenseNot gradedqualityDmaintenanceUK property listing description generator. Give an AI assistant a postcode or address — it fetches comparable sales, EPC ratings, and Rightmove listings, then writes three copy variants ready for Rightmove, social media, and email.1-