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

UK property data MCP for Cursor

AI-first code editor built on VS Code. Install the Homedata MCP and Cursor 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 Cursor best.

How do I install the Homedata MCP in Cursor?

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

Add to

~/.cursor/mcp.json

Cursor reads MCP servers from this file at startup. A project-level .cursor/mcp.json also works for repo-specific configs.

Recommended for Cursor — runs via npx, no global install needed. Node 18+ required.

{
  "mcpServers": {
    "homedata": {
      "command": "npx",
      "args": ["-y", "homedata-mcp"],
      "env": {
        "HOMEDATA_API_KEY": "your_api_key_here"
      }
    }
  }
}
Restart Cursor (Cmd/Ctrl + Shift + P → "Reload Window") after saving.

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 Cursor:

Python (pip)
pip install homedata-mcp
Node (npm / npx) Recommended
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 Cursor

Restart Cursor (Cmd/Ctrl + Shift + P → "Reload Window") after saving.

CLI quickstart — homedata commands for Cursor users

The same package ships a homedata CLI on your PATH. Useful for one-off lookups, shell scripts, or piping property data back into Cursor 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 Cursor.

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 Cursor ask about UK property?

Typed tools Cursor 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 Cursor and Homedata

Concrete jobs the Homedata MCP unlocks inside Cursor.

Add property data lookups inside your IDE — query EPC or flood risk on a UPRN while building a PropTech feature.

Have the Cursor agent enrich a list of UK addresses from a CSV with EPC and crime data, all inside the editor.

Cursor + Homedata MCP — frequently asked questions

How do I install an MCP server in Cursor?
Open ~/.cursor/mcp.json (create it if it doesn't exist), add the homedata block, drop in your API key and reload Cursor. The MCP server icon turns green in the chat sidebar once homedata is connected.
Does the MCP work with both Cursor Chat and the Cursor agent?
Yes. Any feature that can call MCP tools — chat, the agent, composer — has access to all homedata tools once the server is registered.
Can I have a different MCP config per project in Cursor?
Yes. Add .cursor/mcp.json to a project root and Cursor will merge it with your global config when you open that folder. Useful for switching between Homedata API keys per client.
Does the Homedata MCP work with the free tier?
Yes — the free Homedata tier (no credit card required) works in Cursor 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 Cursor?
Pick Node for Cursor — npx -y homedata-mcp gives you zero-install setup. The Python edition is equivalent if you'd rather pip install once and avoid Node entirely.
How does the homedata CLI differ from the MCP server?
Both ship in the same package. The MCP server is what Cursor 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 Cursor.

Plug 29 million UK properties into Cursor

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