The police-uk-api-mcp-server is a Python server that provides access to the police.uk API. It offers data on crimes, police forces, neighbourhoods, and stop-and-search incidents.
To use it, clone its repository, install the required packages with pip, and run the Python server. It can then be configured to integrate with an MCP (Model Context Protocol) ecosystem.
Its key features include 21 distinct tools for querying API endpoints. These tools can retrieve street-level crimes, neighbourhood details, police force information, and stop-and-search records. It is built with FastMCP for simple integration into MCP-compatible systems and includes error handling and clear documentation.
Use cases involve accessing real-time crime data for specific areas, analyzing stop-and-search incidents for research, and integrating police data into public safety applications.
FAQ: Prerequisites are Python 3.11+ and the mcp and requests packages. Documentation is provided for each tool. The server is designed for easy integration with other MCP-compatible systems.