police-uk-api
official MCP TypeScript SDK server providing tools to access and interact with the police.uk API, offering data on crimes, police forces, neighbourhoods, and stop-and-search incidents.
claude mcp add --transport stdio dwain-barnes-police-uk-api-mcp-server npx -y mcp-server-police-uk
How to use
This MCP server provides a collection of tools to interact with the official police.uk API, exposing crime data, police force information, neighbourhood details, and stop-and-search records through a consistent MCP interface. It acts as a bridge between MCP-compatible clients and police.uk endpoints, offering 21 distinct tools such as get_street_level_crimes, get_force_details, get_neighbourhood_details, get_stop_searches_by_area, and more. You can query data by location, area, or ID, receive structured responses with type safety, and integrate these capabilities into agents, copilots, or other MCP-enabled workflows. To use it, run the server via MCP tooling (for example with npx) and then call the available tools through your MCP client, passing the appropriate parameters defined by each tool’s schema.
How to install
Prerequisites:
- Node.js and npm installed on your machine
- Internet access to fetch the package from npm
Installation options:
-
Quick start (no local install, run via npx):
- Ensure Node.js is installed
- Run: npx mcp-server-police-uk
-
Global install (optional, for persistent access):
- Ensure Node.js is installed
- Run: npm install -g mcp-server-police-uk
- Start the server: mcp-server-police-uk
-
Development or local testing (clone and run locally):
- git clone https://github.com/dwain-barnes/police-uk-api-mcp-server.git
- cd mcp-server-police-uk
- npm install
- npm run build (if a build step exists in the project)
- npm start
Notes:
- The project uses the MCP TypeScript SDK; ensure your environment supports TypeScript tooling if you plan to build locally.
Additional notes
Tips and considerations:
- The server uses the police.uk API, which has rate limits. Be mindful of request volume when integrating with clients.
- All data originates from the official police.uk API and is typically updated monthly; plan caching or update checks accordingly.
- The MCP server exposes a set of 21 tools for querying crimes, forces, neighbourhoods, and stop-and-search data. Refer to the tool list in the README for exact method names and parameters.
- If you encounter issues with CLI integration, verify you’re using the correct tool names and parameter structures as defined by each endpoint (e.g., get_street_level_crimes, get_force_details).
- For Claude or other MCP clients, you can configure the server entry similarly to the examples shown in the README to streamline cross-application usage.
Related MCP Servers
mcp-arr
MCP server for *arr media management suite
pfsense
pfSense MCP Server enables security administrators to manage their pfSense firewalls using natural language through AI assistants like Claude Desktop. Simply ask "Show me blocked IPs" or "Run a PCI compliance check" instead of navigating complex interfaces. Supports REST/XML-RPC/SSH connections, and includes built-in complian
apple-mail
MCP server giving AI assistants full access to Apple Mail - read, search, compose, organize & analyze emails via natural language
mcp-images
## MCP-Images Looking for a powerful image processing server? MCP Server-Image provides enterprise-grade image handling with just a few lines of code. Perfect for AI applications, web services, and data processing pipelines. [Get Started](#installation) | [Support Us](https://www.buymeacoffee.com/blazzmocompany)
skill-to
Convert AI Skills (Claude Skills format) to MCP server resources - Part of BioContextAI
google-search-console
It connects directly to your Google Search Console account via the official API, letting you access key data right from AI tools like Claude Desktop or OpenAI Agents SDK and others .