MCP Server Police UK
This server provides access to the UK's official police.uk API, enabling queries on crimes, police forces, neighbourhoods, and stop-and-search incidents across England, Wales, and Northern Ireland.
Crime Data
Retrieve street-level crimes by coordinates, custom polygon area, or location ID
Get crimes at a specific location or fetch unmapped crimes by force and category
Look up outcomes for a specific crime (by persistent ID) or street-level outcomes by area
Retrieve valid crime categories for a given date and check when data was last updated
Police Forces
List all police forces, get detailed information for a specific force, and retrieve senior officers
Neighbourhoods
List neighbourhoods for a given force; get details, boundary coordinates, team members, events, and policing priorities for a specific neighbourhood
Locate the neighbourhood policing team responsible for a given set of coordinates
Stop and Search
Query stop and search incidents by radius or polygon area, at specific locations, those not mapped to a location, or reported by a particular police force
Reliability & Integration
Built with the official MCP TypeScript SDK, with comprehensive error handling, type safety, and respect for police.uk API rate limits, making it easy to integrate with MCP-compatible systems including Claude Desktop.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP Server Police UK show me recent crimes near London Bridge"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP Server Police UK
A Model Context Protocol (MCP) server providing tools to access and interact with the police.uk API, offering comprehensive data on crimes, police forces, neighbourhoods, and stop-and-search incidents across the UK.
Features
21 distinct tools for querying police.uk API endpoints
Retrieve street-level crimes, neighbourhood details, force information, stop-and-search records, and more
Built with the official MCP TypeScript SDK
Easy integration with MCP-compatible systems
Comprehensive error handling and type safety
Related MCP server: Zyfy MCP Server
Installation
Install directly from npm:
npm install -g mcp-server-police-ukOr use with npx (no installation required):
npx mcp-server-police-ukUsage
With Claude Desktop
Add to your Claude Desktop configuration file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"police-uk": {
"command": "npx",
"args": ["-y", "mcp-server-police-uk"]
}
}
}Development
To contribute or run locally:
# Clone the repository
git clone https://github.com/dwain-barnes/police-uk-api-mcp-server.git
cd police-uk-api-mcp-server
# Install dependencies
npm install
# Build the project
npm run build
# Run locally
npm startWith other MCP clients
npx mcp-server-police-ukAvailable Tools
Crime Data
get_street_level_crimes- Retrieve street-level crimes by location or areaget_crimes_at_location- Get crimes at a specific locationget_crimes_no_location- Retrieve crimes that couldn't be mapped to a locationget_crime_categories- Get valid crime categoriesget_last_updated- Get the date when crime data was last updatedget_outcomes_for_crime- Get outcomes for a specific crimeget_street_level_outcomes- Retrieve outcomes by location or area
Police Forces
get_list_of_forces- Get all police forcesget_force_details- Get details for a specific police forceget_senior_officers- Get senior officers for a police force
Neighbourhoods
get_neighbourhoods- Get neighbourhoods for a police forceget_neighbourhood_details- Get details for a specific neighbourhoodget_neighbourhood_boundary- Get boundary coordinates for a neighbourhoodget_neighbourhood_team- Get team members for a neighbourhoodget_neighbourhood_events- Get scheduled events for a neighbourhoodget_neighbourhood_priorities- Get policing priorities for a neighbourhoodlocate_neighbourhood- Find neighbourhood team for given coordinates
Stop and Search
get_stop_searches_by_area- Get stop and searches within an areaget_stop_searches_by_location- Get stop and searches at a specific locationget_stop_searches_no_location- Get stop and searches with no locationget_stop_searches_by_force- Get stop and searches by police force
Examples
Get crimes near a location
// Get crimes within 1 mile of coordinates
get_street_level_crimes({
lat: 51.5074,
lng: -0.1278,
date: "2024-01"
})Find your local police team
// Find neighbourhood team for coordinates
locate_neighbourhood({
lat: 51.5074,
lng: -0.1278
})Get force information
// Get details about Metropolitan Police
get_force_details({
force_id: "metropolitan"
})API Rate Limits
This server respects the police.uk API rate limits. The API is free to use but has usage limits in place to ensure fair access for all users.
Data Source
All data is sourced from the official police.uk API, which provides open data about policing in England, Wales, and Northern Ireland. The data is typically updated monthly.
Contributing
Contributions are welcome! Please feel free to:
Report issues on GitHub Issues
Submit Pull Requests
Suggest new features or improvements
Repository
License
MIT License - see LICENSE file for details.
Support
If you encounter any issues or have questions:
File an issue on GitHub Issues
Check the police.uk API documentation for API-specific questions
Author
Created by Dwain Barnes
Available Tools
21 toolsget_crime_categoriesB
Retrieve valid crime categories for a given date
Inputs: date.
get_crimes_at_locationB
Retrieve crimes at a specific location by ID or nearest to lat/lng
Inputs: lat, lng, location_id, date.
get_crimes_no_locationB
Retrieve crimes that could not be mapped to a location
Inputs: category (required), force (required), date.
get_force_detailsB
Retrieve details for a specific police force
Inputs: force_id (required).
get_last_updatedA
Retrieve the date when crime data was last updated
Inputs: no named parameters.
get_list_of_forcesA
Retrieve a list of all police forces
Inputs: no named parameters.
get_neighbourhood_boundaryB
Retrieve the boundary coordinates for a specific neighbourhood
Inputs: force_id (required), neighbourhood_id (required).
get_neighbourhood_detailsC
Retrieve details for a specific neighbourhood within a force
Inputs: force_id (required), neighbourhood_id (required).
get_neighbourhood_eventsB
Retrieve events scheduled for a specific neighbourhood
Inputs: force_id (required), neighbourhood_id (required).
get_neighbourhood_prioritiesB
Retrieve policing priorities for a specific neighbourhood
Inputs: force_id (required), neighbourhood_id (required).
get_neighbourhoodsA
Retrieve a list of neighbourhoods for a specific police force
Inputs: force_id (required).
get_neighbourhood_teamB
Retrieve the team members for a specific neighbourhood
Inputs: force_id (required), neighbourhood_id (required).
get_outcomes_for_crimeC
Retrieve outcomes for a specific crime by persistent ID
Inputs: persistent_id (required).
get_senior_officersB
Retrieve senior officers for a specific police force
Inputs: force_id (required).
get_stop_searches_by_areaB
Retrieve stop and searches within a 1-mile radius or custom area
Inputs: lat, lng, poly, date.
get_stop_searches_by_forceA
Retrieve stop and searches reported by a specific force
Inputs: force_id (required), date.
get_stop_searches_by_locationB
Retrieve stop and searches at a specific location by ID
Inputs: location_id (required), date.
get_stop_searches_no_locationB
Retrieve stop and searches that could not be mapped to a location
Inputs: force_id (required), date.
get_street_level_crimesB
Retrieve street-level crimes by lat/lng or custom polygon area
Inputs: lat, lng, poly, date, +1 more.
get_street_level_outcomesB
Retrieve outcomes by lat/lng, custom polygon, or location ID
Inputs: lat, lng, poly, location_id, +1 more.
locate_neighbourhoodA
Find the neighbourhood policing team for a given latitude and longitude
Inputs: lat (required), lng (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 21 tools
Most tools have distinct purposes (crimes, stops, forces, neighbourhoods), but some like get_crimes_at_location and get_street_level_crimes could be confused due to similar inputs and outputs.
All tools follow a consistent 'get_' prefix with descriptive snake_case names, e.g., get_crime_categories, get_neighbourhood_events.
21 tools is appropriate for a police data API covering forces, neighbourhoods, crimes, stop searches, and outcomes without being overwhelming.
Covers key police data aspects: forces, neighbourhoods, crimes, stop searches, outcomes, and location features. No obvious gaps for the intended domain.
Related MCP Connectors
Access street-level crime reports, stop and search data, and outcomes across UK police forces
Search UK street crime, outcomes, stop and search, and neighbourhood teams (Scotland: BTP only).
Unofficial UK Police MCP — wraps the UK Police Data API (free, no auth) https://data.police.uk/api
UK postcode lookup, street-level crime, flood warnings, grid carbon intensity, bank holidays
Related MCP Servers
- AlicenseAqualityBmaintenanceProvides access to FBI Crime Data Explorer API, enabling queries for crime statistics, arrests, hate crimes, NIBRS incidents, law enforcement employment, and more via 17 tools with smart caching and spillover handling.173MIT

Zyfy MCP Serverofficial
AlicenseAqualityDmaintenanceEnables natural language queries about UK postcodes and vehicles, including flood risk, crime rate, broadband coverage, property prices, MOT history, and ULEZ compliance.438 npmMIT- AlicenseNot gradedqualityCmaintenanceWraps the UK Police Data API to enable querying crime data, police forces, and other UK police information through natural language.273 npmMIT
- AlicenseAqualityBmaintenanceIrish and UK official statistics by county and local authority: CSO, Central Bank, government and council data joined on one geography, with caveats on every figure and a comparability check. Built for AI agents.61,130 PyPIMIT