- Data
- MCP server
- VS Code
MCP · VS Code
UK property data in VS Code
An HTTP server in .vscode/mcp.json, used by Copilot in agent mode. Sign-in is prompted. Once connected, VS Code can resolve any UK address, value it, read its sale and listing history, check its planning constraints and name its registered owner, and read the published indices for any area. 94 tools, 51 of them free, one read-only sign-in.
Developers who live in VS Code and want Copilot to check a UPRN, a sale history or a planning designation while they work, and teams who want the server to arrive with the repository.
https://mcp.marketcode.ai/mcpSteps
How to connect VS Code
- 01
Add the server
Run "MCP: Add Server" from the Command Palette, choose HTTP, paste the server URL and name it marketcode. Or create .vscode/mcp.json in the workspace with the same thing.
.vscode/mcp.json{ "servers": { "marketcode": { "type": "http", "url": "https://mcp.marketcode.ai/mcp" } } } - 02
Sign in
VS Code detects that the server needs sign-in and opens a browser window. Sign in with your MarketCode account and approve the read-only property scope.
- 03
Use it in agent mode
Open Copilot Chat, switch to Agent, and check that the MarketCode tools are on in the tools picker. Ask a property question in plain words.
The same steps sit beside the other clients on the MCP page.
Prompts
Things to ask VS Code once it is connected
- “Resolve 12 Lordship Lane, SE22 8HN to its UPRN and show me its registered sales and energy certificate.”
- “Before I write the client, call valuation_full for that UPRN so I can see the real response shape.”
- “Which MarketCode tools take an area_code, and what does the index look like for SE22 over five years?”
Put nothing in headers. The server is built for OAuth; a key in a workspace file is a key in the repository.
A workspace mcp.json travels with the repo, so teammates get the server when they open it; each signs in with their own account and spends their own credits.
Tools
Tools to try first
Resolve an address to a UPRN
address_resolve()Resolve free-text address to canonical record (UPRN for UK).
Property summary
property_summary()One-call summary of a property: what it is, what building it belongs to,
Full valuation with back-series
valuation_full()Full valuation block for a property: the value and its range, a monthly
House price index series
market_index_series()The published house-price INDEX for one postcode district or local authority: the level per month (base period = 100), the forecast tail flagged, and provenance saying how the index was built.
Planning designations at a location
planning_designations()Every planning designation affecting a location, in one call: conservation
Registered proprietors of a title
ownership_by_title()Registered proprietor(s) for an HMLR title number.
FAQ
Questions about MarketCode in VS Code
Do I need an API key?
+
No. MCP clients sign in with your MarketCode account over OAuth and receive a read-only token. API keys are for the REST API; pasting one into an MCP client does nothing useful and puts a secret where it does not belong.
What does it cost?
+
The catalogue shows which tools are currently free. Priced tools charge fixed credits per successful call, the same as over REST, and a new account starts with free credits. Every tool page and the pricing page show the price; a failed call is not charged.
What can a connected assistant do to my account?
+
Read property data and spend credits at the catalogue price. The scope is read-only property data; it cannot see or change your keys, billing or account, and you can revoke the connection in the Hub at any time.
Does this need GitHub Copilot?
+
Yes. MCP servers in VS Code are used by Copilot Chat in agent mode, so a Copilot subscription (the free tier included) is what runs the tools. Other extensions that speak MCP can read the same mcp.json.
Also
Other clients
We'll connect VS Code with you, on a real address.
Thirty minutes. You leave with the connection made and a question answered.