Agent MCP / Claude Code
UK property data in Claude Code
Claude Code is Anthropic's coding agent for the terminal, and it can install Homedata itself: paste one message with your key and it adds the server and checks it works. From then on it can pull real property records into whatever you are building, or answer a quick question about an address while you work.
Install the Homedata MCP server (npx -y homedata-mcp) with my API key, YOUR_API_KEY, then find 63 Harvey Lane, Norwich to check it works.
~/.config/claude-code/mcp.json
→ {
"mcpServers": {
"homedata": {
"command": "npx",
"args": ["-y", "homedata-mcp"],
"env": { "HOMEDATA_API_KEY": "YOUR_API_KEY" }
}
}
}
~/.config/claude-code/mcp.json
→ {
"mcpServers": {
"homedata": {
"command": "homedata-mcp",
"env": { "HOMEDATA_API_KEY": "YOUR_API_KEY" }
}
}
}
Restart Claude Code (or run /mcp inside the CLI) so the homedata tools register.
Ask Claude Code
What you can ask once it is connected
Write a script that reads addresses.csv and adds the UPRN and EPC rating to each row.
Add a flood risk badge to the listing page using the risks tool.
What council tax band is 63 Harvey Lane, Norwich?
60 tools in the package, from EPC and flood risk to schools, planning and prices. See everything it can check →
Setup
Connect Homedata to Claude Code
- Get your API key. Get an API key with your email and copy the key from your dashboard. Top up from £20.
- Paste the message above into Claude Code. It installs the server and adds it to Claude Code's config. Prefer to do it yourself? Add the block above to
~/.config/claude-code/mcp.jsonwith your key in place of YOUR_API_KEY. - Restart and ask. Restart Claude Code (or run /mcp inside the CLI) so the homedata tools register.
In practice
How people use Homedata in 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.
Questions
Claude Code and Homedata
How do I add an MCP server to Claude Code?
The quickest way is to paste the message on this page and let Claude Code do it. By hand, run: claude mcp add homedata -e HOMEDATA_API_KEY=your_key -- npx -y homedata-mcp. Type /mcp inside Claude Code to check the server is connected.
Do I need Python installed to use Homedata in Claude Code?
No. The Node edition runs with npx, so Node 18 or later is all you need, and Claude Code can add it for you from one message. A Python edition (pip install homedata-mcp) exists too, with the same tools.
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.
Give Claude Code a key.
Then ask Claude Code about any home in England and Wales. Pay as you go from £20.