UK Property Data
Property Shared
영국 부동산 데이터를 하나의 패키지로 제공합니다. Land Registry 매매, EPC 인증서, Rightmove 매물, 임대 수익률, 인지세 계산, 플래닝 포털 링크, Companies House 기록을 가져옵니다.
Python 라이브러리, CLI, HTTP API 또는 MCP 서버로 사용하세요.
제공 기능
데이터 소스 | 반환 내용 |
Land Registry PPD | 매매 가격, 날짜, 주택 유형, 중앙값/백분위수를 포함한 지역 비교 |
EPC (GOV.UK) | 에너지 등급, 바닥 면적, 난방 비용. 잉글랜드 및 웨일스만 해당. 인증서 조회 및 요약 검색 — 아래 EPC 참고 사항 참조 |
Rightmove | 현재 매물(매매 + 임대), 가격, 중개인, 매물 상세 정보 |
Yield Analysis | PPD 매매 + Rightmove 임대를 결합한 총 수익률 |
Stamp Duty | 2025년 4월 구간, BTL 추가 요금, FTB 감면을 포함한 SDLT 계산 |
Block Analyzer | 건물별 아파트 매매를 그룹화하여 투자자 매도 동향 파악 |
Planning | 지역 의회 플래닝 포털 조회 (검증된 99개 의회, stdio 전용) |
Companies House | 이름 또는 번호로 회사 검색 및 조회 |
Related MCP server: UK Due Diligence
스킬 및 플러그인
Property 및 Legal 팩이 곧 제공될 예정입니다. 영국 부동산 투자, 영국 부동산 중개, 부동산 및 권리 이전(Conveyencing)에 대한 실무 경험 또는 전문 지식이 있고 이 프로젝트를 함께 만들어 가고 싶다면 연락해 주세요. paul@bouch.dev
MCP 서버로 사용
설치가 필요 없습니다. URL을 MCP 클라이언트 설정에 붙여넣기만 하면 됩니다.
Claude Code, Cursor, 모든 MCP 클라이언트:
{
"mcpServers": {
"property-shared": {
"type": "http",
"url": "https://property-shared.fly.dev/mcp"
}
}
}설치
pip install property-shared
# or with uv
uv add property-shared추가 기능: CLI용 [cli], HTTP 서버용 [api], 테스트용 [dev].
pip install property-shared[cli]
# or
uv add property-shared --extra cliPython 라이브러리로 사용
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}%)")모든 모델은 최상위 레벨에서 사용할 수 있습니다:
from property_core import (
PPDTransaction, PPDCompsResponse, EPCData,
RightmoveListing, RightmoveListingDetail,
PropertyReport, YieldAnalysis, RentalAnalysis,
BlockAnalysisResponse, CompanyRecord, StampDutyResult,
)해석 도우미 (코어는 숫자를 반환하며, 레이블을 지정하는 것은 사용자에게 달려 있습니다):
from property_core import classify_yield, classify_data_quality, generate_insightsCLI로 사용
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 F--api-url http://localhost:8000을 명령에 추가하면 코어를 직접 호출하는 대신 HTTP API를 통해 라우팅됩니다.
HTTP API로 사용
pip install property-shared[api] # or: uv add property-shared --extra api
property-api # starts on port 8000대화형 문서는 http://localhost:8000/docs에서 확인하세요.
주요 엔드포인트:
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" }
전체 엔드포인트 목록은 USER_GUIDE.md를 참조하세요.
EPC 참고 사항 (v1.14.0)
EPC 서비스는 GOV.UK Bearer API로 전환되었습니다. EPC_API_TOKEN을 설정하세요. 기존의 EPC_API_EMAIL/EPC_API_KEY 쌍은 폐기된 호스트에 대해 인증되었으며 지원되는 대체 수단이 아닙니다.
새 업스트림이 지원하는 것과 지원하지 않는 것:
인증서 조회 — 인증서 번호로 전체 상세 정보를 한 번의 요청으로 조회합니다.
요약 검색 — 우편번호로 주소, UPRN(종종 없음), 에너지 등급, 등록 날짜 및 스키마 유형을 반환합니다. 에너지 점수, 바닥 면적 또는 주택 유형은 반환하지 않습니다. 이러한 정보는 전체 인증서에만 존재합니다.
우편번호는 지역을 선택하며, 특정 주택을 선택하지 않습니다. 특정 주택을 식별하려면 UPRN 또는 인증서와 정확히 일치하는 주소가 필요합니다(대소문자, 구두점, 앞의
Flat/Apartment지정자는 제외). 주소가 없거나, 일치하지 않거나, 여러 개가 일치하는 경우에는 최선의 추측으로 해결하지 않고 거부됩니다. CLI 및 REST 인터페이스는 USER_GUIDE.md를 참조하세요.지역 통계는 레코드 수와, 제한된 응답에 모든 일치하는 요약이 포함된 경우 등급 분포로 제한됩니다. 주택 유형별 분석 및 바닥 면적 통계는
None으로 보고됩니다. 이는 0이 아니라 사용 불가를 의미하며, 이를 생성하려면 인증서당 하나의 요청이 필요하기 때문입니다.적용 범위는 잉글랜드와 웨일스입니다. 스코틀랜드, 북아일랜드 및 채널 제도는 "인증서를 찾을 수 없음"을 반환합니다. 이는 특정 주택에 대한 진술이 아니라 적용 범위 경계입니다.
페이지네이션은 안정적인 스냅샷이 아닙니다. 응답에는
complete,duplicates_removed및unusable_rows가 포함됩니다. 어떤 작업도 지역의 완전한 수집을 보장하지 않습니다.모호한 주소 일치는 임의의 인접 인증서로 해결되지 않고 거부됩니다.
search_all_by_postcode()는 지원되지 않습니다. 후보 검색에는 search_summaries()를 사용한 다음 필요한 인증서에 대해 get_certificate()를 사용하세요.
환경 변수
필요한 변수를 사용하여 저장소 루트에 .env 파일을 만드세요 (gitignore에 포함되어 있습니다).
선택 변수는 비워 두지 말고 완전히 제외하세요.
KEY=는 빈 문자열을 설정하며, 이는 설정되지 않은 것과 다릅니다.os.getenv("KEY", "default")는""를 반환하므로 기본값이 적용되지 않습니다. 이로 인해 EPC 라이브 테스트에서 빈 우편번호가 업스트림으로 전송되는 문제가 발생했습니다.
주요 변수:
변수 | 필요 용도 | 설명 |
| EPC 조회 | GOV.UK EPC 데이터에서 발급받은 Bearer 토큰 |
| (더 이상 사용되지 않음) | 폐기된 서비스; 구성 오류를 발생시키기 위해서만 파싱됨 |
| (더 이상 사용되지 않음) | 폐기된 서비스; 지원되는 대체 수단이 아님 |
| 회사 검색 | Companies House에서 무료 키 발급 |
| 아니요 (기본 0.6초) | Rightmove 스크래핑을 위한 속도 제한 지연 |
| 플래닝 스크래퍼 | 비전 기반 플래닝 포털 스크래퍼 |
Land Registry PPD 및 Rightmove는 자격 증명 없이 작동합니다.
개발
# Install with dev extras
uv sync --extra dev
# Run API with reload
uv run uvicorn app.main:app --reload
# Run tests (mocked, no network)
uv run --extra dev pytest -v
# Run live integration tests (real network calls)
RUN_LIVE_TESTS=1 uv run --extra dev pytest -vhttps://property-shared.fly.dev에 배포되어 있으며, API 문서는 /docs, MCP 엔드포인트는 /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 checks18401 PyPI3MIT
- AlicenseNot gradedqualityDmaintenanceUK 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
- AlicenseAqualityCmaintenanceFrench building permits MCP server: 1.2M Sitadel permits (2014-2026, daily refresh), DVF transactions, cadastre DGFiP, PLU zoning, BRGM risks, and property-dealer opportunity scoring through 11 MCP tools. Free tier 500 req/month, no credit card.113MIT