Skip to main content
Free UK property data API Start free →
Claude Code PyPI v0.2.0 npm v0.1.0

UK property data MCP for Claude Code

Anthropic's terminal-native coding agent. Install the Homedata MCP and Claude Code gains typed tools for 29 million UK properties — EPC, flood risk, planning, schools, transport — answered straight from your chat or agent. Ships as a Python package or a Node package; pick whichever fits Claude Code best.

How do I install the Homedata MCP in Claude Code?

Three steps: install the homedata-mcp package (Python or Node), drop in the config block, restart Claude Code.

Add to

~/.config/claude-code/mcp.json

Add the MCP via the claude-code config or your project-level .mcp.json. Restart Claude Code so the tools register.

Best for Python-embedding tools. Requires pip install homedata-mcp.

{
  "mcpServers": {
    "homedata": {
      "command": "homedata-mcp",
      "env": {
        "HOMEDATA_API_KEY": "your_api_key_here"
      }
    }
  }
}
Restart Claude Code (or run /mcp inside the CLI) so the homedata tools register.

Either edition exposes the same MCP tools and the same homedata CLI. Pick Node if you want zero-install via npx; pick Python if your AI client already embeds Python.

1. Install the server

Pick the runtime that fits Claude Code:

Python (pip) Recommended
pip install homedata-mcp
Node (npm / npx)
npm install -g homedata-mcp
# or zero-install via npx:
npx -y homedata-mcp

2. Get your API key

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

3. Restart Claude Code

Restart Claude Code (or run /mcp inside the CLI) so the homedata tools register.

CLI quickstart — homedata commands for Claude Code users

The same package ships a homedata CLI on your PATH. Useful for one-off lookups, shell scripts, or piping property data back into Claude Code as context.

Install the CLI

Same homedata command in both editions.

Python (pip)

pip install homedata-mcp

Node (npm)

npm install -g homedata-mcp

Or run once, no install

npx -y homedata-mcp homedata --help
Set HOMEDATA_API_KEY in your shell before running any command — same key as the MCP server.

Common commands

Pipe into jq, fzf or feed straight back into Claude Code.

homedata search '10 downing street'

Type-ahead address search — get a UPRN for any UK address from your shell.

homedata property 100023336956

Full property record for any UPRN. Pipe into jq, fzf or your editor.

homedata epc 100023336956 --field current_energy_efficiency

EPC rating, score and recommendations from the official register.

homedata flood-risk 100023336956

Environment Agency flood risk — river, sea, surface and groundwater.

homedata planning --postcode "SW1A 1AA" --days 365

Recent planning applications for any postcode or local authority.

What can Claude Code ask about UK property?

Typed tools Claude Code gains the moment the Homedata MCP is connected. Each tool has its own anchor — link directly to #tool-lookup-epc, #tool-lookup-flood-risk and the rest.

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

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.

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

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.

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

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

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

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

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 Claude Code and Homedata

Concrete jobs the Homedata MCP unlocks inside Claude Code.

Have Claude Code generate a property-data CLI script that hits real UK addresses while it writes the code.

Use Claude Code inside a Laravel or Django repo to scaffold property-search features against a live UK dataset.

Claude Code + Homedata MCP — frequently asked questions

How do I add an MCP server to Claude Code?
Claude Code reads MCP servers from a JSON config under ~/.config/claude-code/ (or a project-level .mcp.json). Add the homedata entry, paste your API key into HOMEDATA_API_KEY, save, and restart the CLI. Type /mcp inside Claude Code to confirm the server is connected.
Do I need Python installed for the MCP to work in Claude Code?
Yes — homedata-mcp is a Python package. Any recent Python 3 install with pip will do. After pip install homedata-mcp, the homedata-mcp command becomes available on your PATH and Claude Code can launch it.
Can I scope the MCP to a single project?
Yes. Drop an .mcp.json into your project root with the homedata server config. Claude Code will use that server only when run inside that project, which is useful if you want a different API key per repo.
Does the Homedata MCP work with the free tier?
Yes — the free Homedata tier (no credit card required) works in Claude Code as soon as you paste your API key into HOMEDATA_API_KEY. Higher-tier plans unlock larger monthly quotas and the property sales, listings and comparables tools.
Should I install the Python or Node edition for Claude Code?
Pick Python for Claude Code — it already embeds Python, so the pip install path is the lowest-friction setup. The Node edition works too if you'd rather run via npx.
How does the homedata CLI differ from the MCP server?
Both ship in the same package. The MCP server is what Claude Code talks to over the Model Context Protocol — typed tools, structured JSON. The homedata CLI is for humans — same data, but invokable as `homedata property`, `homedata epc`, `homedata flood-risk` directly in a terminal. Useful for piping into shell scripts or back into Claude Code.

Plug 29 million UK properties into Claude Code

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

Latest releases: PyPI v0.2.0 · npm v0.1.0