police-uk-api-mcp-server

police-uk-api-mcp-server

1

The police-uk-api-mcp-server is a Python-based Model Context Protocol server designed to interact with police.uk API. It provides a suite of 21 tools for accessing data related to crimes, police forces, neighborhoods, and more. Built for ease of integration into existing MCP-compatible systems, it focuses on reliable data retrieval and error management.

police-uk-api-mcp-server

A Python-based MCP server providing tools to access and interact with the police.uk API, offering data on crimes, police forces, neighbourhoods, and stop-and-search incidents.

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 FastMCP for easy integration into MCP-compatible systems.
  • Error handling and clear documentation for each tool.

Prerequisites

  • Python 3.11+
  • Required packages: mcp, requests

Installation

  1. Clone the repository: Navigate to the directory and run the relevant commands.

  2. Install dependencies.

Usage

Run the server as instructed.

Configuration

Ensure integration with an MCP ecosystem by updating server configuration as necessary.