UK Government Data MCP Server
An MCP (Model Context Protocol) server that gives AI agents access to 26 official UK government data sources through a single integration.
One postcode. 26 data sources. Works with Claude, GPT, and any MCP-compatible AI agent.
Data Sources
| Crime & Safety | Metropolitan Police crime data, community street reports, DfT road accidents |
| Property | HM Land Registry prices, EPC energy ratings, council tax, planning applications, conservation areas |
| Demographics & Economy | Census 2021 (tenure, ethnicity, age, qualifications, car ownership), population estimates, IMD deprivation, household income, labour market, Companies House |
| Environment | Environment Agency flood risk, air quality (LAQN), carbon intensity (National Grid), green spaces |
| Transport | TfL (tube, rail, bus, commute times), DfT road traffic, EV charging |
| Local Services | Schools (GIAS), GP practices (NHS), food hygiene (FSA), supermarkets |
| Political | Parliamentary constituency and current MP |
All data sourced from official UK government and public sector bodies under the Open Government Licence.
Installation
npm install @speaktoscout/uk-gov-data-mcp
Usage with Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"uk-gov-data": {
"command": "npx",
"args": ["@speaktoscout/uk-gov-data-mcp"]
}
}
}
Available Tools
lookup_postcode
Get all 26 data sources for a UK postcode in one call.
"What can you tell me about SW11 5QD?"
get_crime
Crime statistics, road accidents, and street condition reports.
"What's the crime rate near E1 6AN?"
get_house_prices
Land Registry transactions, EPC ratings, and council tax.
"What have houses sold for on this street?"
get_demographics
Census 2021 data: population, tenure, ethnicity, qualifications, income, employment.
"What are the demographics of SE1 9SG?"
get_schools
Nearby schools with type, phase, and age range.
"What schools are near N1 9GU?"
get_transport
Tube, rail, bus stops, commute times, EV charging, road traffic.
"How well connected is SW19 5AE?"
get_environment
Air quality, flood risk, carbon intensity, green spaces.
"What's the environmental risk for SE10 0DX?"
get_planning
Planning applications, conservation areas, registered companies.
"Any planning applications near W1D 3QF?"
get_local_services
GP practices, supermarkets, food hygiene, constituency and MP.
"What services are near EC2R 8AH?"
lookup_coordinates
Same as lookup_postcode but accepts lat/lng instead.
"What's at coordinates 51.5074, -0.1278?"
API Key
An API key is required. Get one for free (100 calls/month):
curl -X POST https://go.speaktoscout.com/api/v1/keys \
-H "Content-Type: application/json" \
-d '{"email": "you@company.com"}'
Or sign up at speaktoscout.com/signup.
Then set it as an environment variable in your MCP config:
{
"mcpServers": {
"uk-gov-data": {
"command": "npx",
"args": ["uk-gov-data-mcp"],
"env": {
"UK_GOV_DATA_API_KEY": "sk_scout_your_key_here"
}
}
}
}
Pricing
| Free | 100 | £0 |
| Starter | 2,000 | £29/month |
| Growth | 10,000 | £79/month |
| Scale | 50,000 | £199/month |
| Enterprise | Custom | Contact us |
Base URL: https://go.speaktoscout.com
Full API documentation: docs.speaktoscout.com
Licence
MIT