Police UK

Queries the police.uk API to provide crime, force, neighbourhood, and stop-and-search data for MCP-enabled systems.
  • typescript

2

GitHub Stars

typescript

Language

6 months ago

First Indexed

2 months ago

Catalog Refreshed

Documentation & install

Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.

Installation

Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "dwain-barnes-police-uk-api-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-server-police-uk"
      ]
    }
  }
}

The Police UK MCP Server provides a set of MCP-compatible tools to query and interact with the official police.uk API, delivering crime data, force details, neighbourhood information, and stop-and-search records in a structured, type-safe way for MCP-enabled systems.

How to use

Use this MCP server with any MCP client by pointing at a local or remote MCP runtime that exposes the standard MCP interface. The server exposes a collection of tools under thePolice UK namespace, allowing you to retrieve crime data, police force details, neighbourhood information, and stop-and-search records. In typical usage, a client will request data through the MCP protocol, receive structured responses, and handle errors with the server’s type-safe responses.

Common workflows include querying street-level crimes by location, fetching force details for a specific police force, locating neighbourhood teams by coordinates, and listing stop-and-search events within an area. The server is designed to integrate with any MCP-compatible client, and it adheres to the police.uk API rate limits and data sources.

How to install

npm install -g mcp-server-police-uk
npx mcp-server-police-uk

Prerequisites: ensure you have Node.js and npm installed on your system. The server is published as an npm package and can be run globally or via npx without a local install.

Configuration and usage notes

Claude Desktop configuration snippets are provided to integrate this MCP server as a known MCP endpoint. You can add it to your Claude Desktop config using the following JSON snippet.

{
  "mcpServers": {
    "police-uk": {
      "command": "npx",
      "args": ["-y", "mcp-server-police-uk"]
    }
  }
}

Development workflow mirrors the repository’s typical npm-based lifecycle: clone the repository, install dependencies, build, and run locally.

Development

# Clone the repository
git clone https://github.com/dwain-barnes/police-uk-api-mcp-server.git
cd mcp-server-police-uk

# Install dependencies
npm install

# Build the project
npm run build

# Run locally
npm start

With other MCP clients

You can also start the server directly via an MCP client using npx, just as you would with other MCP servers.

npx mcp-server-police-uk
Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational