🚀. Socket Launch Week Day 2:Introducing Manifest Alerts.Learn more
Sign In

uk-gov-data-mcp

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

uk-gov-data-mcp

MCP Server for UK Government Data — 26 official data sources in one tool call

latest
npmnpm
Version
0.5.0
Version published
Maintainers
1
Created
Source

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

CategorySources
Crime & SafetyMetropolitan Police crime data, community street reports, DfT road accidents
PropertyHM Land Registry prices, EPC energy ratings, council tax, planning applications, conservation areas
Demographics & EconomyCensus 2021 (tenure, ethnicity, age, qualifications, car ownership), population estimates, IMD deprivation, household income, labour market, Companies House
EnvironmentEnvironment Agency flood risk, air quality (LAQN), carbon intensity (National Grid), green spaces
TransportTfL (tube, rail, bus, commute times), DfT road traffic, EV charging
Local ServicesSchools (GIAS), GP practices (NHS), food hygiene (FSA), supermarkets
PoliticalParliamentary 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

TierCalls/monthPrice
Free100£0
Starter2,000£29/month
Growth10,000£79/month
Scale50,000£199/month
EnterpriseCustomContact us

Base URL: https://go.speaktoscout.com

Full API documentation: docs.speaktoscout.com

Licence

MIT

Keywords

mcp

FAQs

Package last updated on 24 Mar 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts