Skip to main content
Free UK property data API Start free →
Codex CLI homedata-mcp v0.2.0

UK property data MCP for Codex CLI

OpenAI's terminal-native coding agent. Install the Homedata MCP and Codex CLI gains typed tools for 29 million UK properties — EPC, flood risk, planning, schools, transport — answered straight from your chat or agent.

Install the Homedata MCP in Codex CLI

Three steps: install the Python package, drop in the config block, restart Codex CLI.

Add to

~/.codex/config.toml

Codex CLI uses a TOML config. The mcp_servers section accepts the same command/args/env triple as JSON-based clients.

[mcp_servers.homedata]
command = "homedata-mcp"

[mcp_servers.homedata.env]
HOMEDATA_API_KEY = "your_api_key_here"
Restart Codex CLI after saving. Run /mcp inside Codex to confirm the homedata tools loaded.

1. Install the server

Python 3.10 or newer with pip on your PATH.

pip install homedata-mcp

2. Get your API key

Sign up free and copy your key from the developer dashboard. Paste it into HOMEDATA_API_KEY.

3. Restart Codex CLI

Restart Codex CLI after saving. Run /mcp inside Codex to confirm the homedata tools loaded.

What your AI can ask about UK property

Typed tools Codex CLI gains the moment the Homedata MCP is connected.

search_address Free

Type-ahead UK address search across all 29 million properties — find a UPRN in milliseconds.

lookup_property Included

Pull the full property record for any UK UPRN — characteristics, tenure, build period and more.

lookup_epc Included

Energy performance certificate rating, score and recommendations from the official EPC register.

lookup_flood_risk Included

River, sea, surface and groundwater flood risk for any UK address — sourced from the Environment Agency.

get_planning_applications Included

Recent planning applications for a postcode or local authority — applicant, description, status, decision dates.

get_crime Included

Crime statistics for the surrounding area, broken down by category and month.

get_schools Included

Nearby state and independent schools with Ofsted rating, type and distance.

get_transport Included

Closest rail, tube and tram stations with walking distance and line information.

get_postcode_profile Included

Aggregated profile for any UK postcode — sales activity, average prices, area scores.

batch_property_lookup Included

Look up multiple properties at once — pass a list of UPRNs, get back full property records for each.

search_property_listings Paid plans

Live UK property listings from Home.co.uk — for sale, to rent, sold STC, price changes.

get_property_sales Paid plans

Land Registry sale history for a property — every transaction since 1995 with price and date.

Tools call the same endpoints documented on /docs/endpoints. Property data sourced from Home.co.uk, Land Registry, EPC register, Environment Agency, ONS, Ofsted and other authoritative UK sources. Sales, listings and comparables are surfaced for customers on higher-tier plans — see plans.

What developers build with Codex CLI and Homedata

Concrete jobs the Homedata MCP unlocks inside Codex CLI.

Build a property-data agent — have Codex generate a script that lookups EPC and risk on every UPRN in a list.

Use Codex CLI to scaffold a UK property search feature against the real Homedata API without manually wiring SDKs.

Codex CLI + Homedata MCP — frequently asked questions

How do I add an MCP server to Codex CLI?
Codex CLI's config lives at ~/.codex/config.toml. Add an [mcp_servers.homedata] block with command = "homedata-mcp" and env = { HOMEDATA_API_KEY = "…" }. Save and re-launch Codex — /mcp will list homedata as connected.
Does Codex CLI support all the homedata-mcp tools?
Yes. Codex CLI implements the full MCP tool spec, so every tool the homedata server exposes — address search, EPC, flood, planning, schools and more — is available to the agent.
What Python version does Codex CLI need for homedata-mcp?
Python 3.10 or newer. The homedata-mcp wheel installs cleanly into any recent Python; Codex CLI itself is unaffected by the Python version because the MCP server runs as a separate process.

Plug 29 million UK properties into Codex CLI

Install in under sixty seconds. Free tier, paid plans unlock sales, listings and comparables.

Latest release: homedata-mcp v0.2.0 on PyPI@if($githubStars) · ★ 0 on GitHub@endif