Ukpolice logo

Ukpolice

Queries UK police open data for nearby crimes, police forces, and crime outcomes through MCP or HTTP.

Install Ukpolice

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "ukpolice": {
      "command": "npx",
      "args": [
        "-y",
        "@pipeworx/mcp-ukpolice"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Automated check passed— started and listed 3 tools correctly ().

Overview

ukpolice connects AI clients to the UK Police Data API through a hosted MCP endpoint or a local npm stdio bridge. Its tools list forces across England, Wales, and Northern Ireland, retrieve street-level crimes by coordinates, and return outcomes for a location and month. Reach for it when an agent needs geographically scoped UK crime data without API authentication. Crime figures are published with a delay, so responses identify the reporting month rather than implying that unpublished data means no crime.

Use cases

  • Find reported crimes near a set of coordinates
  • List police forces in England, Wales, and Northern Ireland
  • Check crime outcomes for a location and month
  • Ask plain-English questions about UK police data

Key features

  • Street-level crime lookup by latitude and longitude
  • Police-force directory with force IDs
  • Location-based crime outcome lookup
  • Hosted MCP and local npm stdio access
  • HTTP tool-calling endpoint

Tools3

What Ukpolice lets your agent do. Expand a tool for its parameters.

Verified live~440 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

17/17 checks healthy over the last 83d

What it can do

From the 3 tools this server returned when we ran it; 3 declare their own safety hints.

Makes network requests · 3Read-only tools · 3
Network at startup4 connections
Files written at startupNone
Install scriptsNone
npm provenanceSigned build
Package age203 days
Maintainers1

Observed 2026-11-04 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 1d ago via OSV.dev · @pipeworx/mcp-ukpolice (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads917Package downloads in the last 30 days.
Last commit13d agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed3Callable tools this server registers over MCP.

How Ukpolice works

What ukpolice does

ukpolice exposes selected operations from the UK Police Data API at data.police.uk/api. It covers England, Wales, and Northern Ireland and is intended for questions about reported street-level crime, police-force names, and crime outcomes tied to a location and month.

The service is an independent integration and is not affiliated with, endorsed by, or published by the upstream police data provider. The upstream API is free and does not require authentication for these calls.

How it works

An MCP client can connect to the hosted streamable endpoint at https://gateway.pipeworx.io/ukpolice/mcp. The repository also provides an npm package, @pipeworx/mcp-ukpolice, which runs locally over stdio and forwards requests to that same gateway. The local bridge still needs network access and has no offline mode.

The hosted pack endpoint lists the UK police tools together with shared Pipeworx gateway tools. The npm bridge lists the pack tools by default; setting PIPEWORX_META_TOOLS=1 adds the gateway-wide tools. A full gateway connection at https://gateway.pipeworx.io/mcp is another option when an agent needs direct access to all available packs.

Calls can also be made without an MCP client through the gateway HTTP API. For example, POST https://gateway.pipeworx.io/v1/tools/get_crimes accepts a JSON request containing coordinates.

Setup and configuration

For a hosted MCP connection, add the following server URL to an MCP client:

config.json
{
  "mcpServers": {
    "ukpolice": {
      "url": "https://gateway.pipeworx.io/ukpolice/mcp"
    }
  }
}

The local npm option uses npx:

config.json
{
  "mcpServers": {
    "ukpolice": {
      "command": "npx",
      "args": ["-y", "@pipeworx/mcp-ukpolice"]
    }
  }
}

Anonymous npm-bridge use is capped at 50 calls per day. A free Pipeworx account raises the limit to 200 calls per day; provide its key as PIPEWORX_API_KEY in the client environment. Calls with a key use Bearer authentication and are metered in the same way as hosted calls.

Tools and capabilities

  • get_crimes finds street-level crimes near a latitude and longitude. Results include the crime category, street, reporting month, outcome status, and the month represented by the figures. Omitting date requests the latest published month.
  • get_forces lists police-force names and IDs for England, Wales, and Northern Ireland.
  • get_outcomes returns outcome categories and dates for crimes at a location during a specified month.
  • ask_pipeworx can route a plain-English question to the appropriate tool when the shared gateway tools are available.

Limitations and notes

Crime data is published roughly two months after the events it represents. A requested month that has not been published is identified as unpublished; it should not be interpreted as evidence that no crime occurred.

The local bridge depends on the Pipeworx gateway and therefore requires network access. If the client runs behind an HTTPS proxy, Node's built-in fetch does not use HTTPS_PROXY by default; newer Node releases can honor it when NODE_USE_ENV_PROXY=1 is enabled.

The project is licensed under MIT.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Ukpolice

ukpolice is an MCP server that connects AI clients to the UK Police Data API and provides tools for nearby street-level crimes, police-force listings, and crime outcomes by location and month. It supports England, Wales, and Northern Ireland, uses the free upstream API without authentication, and can run through a hosted endpoint or local npm bridge.

Add the hosted MCP URL or run the npm bridge with `npx -y @pipeworx/mcp-ukpolice`. Hosted setup uses `https://gateway.pipeworx.io/ukpolice/mcp`; local setup uses an MCP server entry with `command` set to `npx` and the package name as its argument.

Yes, ukpolice works with Cursor through the hosted MCP endpoint or the local npm stdio bridge. Add `https://gateway.pipeworx.io/ukpolice/mcp` as the server URL, or configure Cursor to launch `npx -y @pipeworx/mcp-ukpolice`.

No, an API key is not required for anonymous use. The npm bridge allows up to 50 calls per day without a key; a free Pipeworx account and `PIPEWORX_API_KEY` increase that limit to 200 calls per day.

ukpolice reports the month represented by the published figures because the crime feed runs about two months behind. If a requested month has not been published, the response identifies that status instead of treating the missing data as zero crime.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewUkpolice AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/ukpolice?style=directory)](https://allmcps.com/mcp/ukpolice)
HTML Embed
<a href="https://allmcps.com/mcp/ukpolice"><img src="https://allmcps.com/api/badge/ukpolice?style=directory" alt="Ukpolice on AllMCPs" /></a>