npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

uk-gov-data-mcp

v0.5.0

Published

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

Readme

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

| Category | 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": "[email protected]"}'

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

| Tier | Calls/month | Price | |------|-------------|-------| | 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