dwain_barnes_police_uk_api_mcp_server

dwain_barnes_police_uk_api_mcp_server

by dwain-barnes

Topics

Skip to content

You signed in with another tab or window. Reload
to refresh your session. You signed out in another tab or window. Reload
to refresh your session. You switched accounts on another tab or window. Reload
to refresh your session. Dismiss alert

dwain-barnes / police-uk-api-mcp-server Public

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.

1 star
0 forks
Branches
Tags
Activity

Star

Notifications
You must be signed in to change notification settings

dwain-barnes/police-uk-api-mcp-server

main

Branches
Tags


Go to file

Code

Folders and files

| Name | | Name | Last commit message | Last commit date |
| --- | --- | --- | --- |
| Latest commit
-------------

History
-------

3 Commits

| | |
| README.md | | README.md | | |
| server.py | | server.py | | |
| View all files | | |

Repository files navigation

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:

    shell git clone https://github.com/dwain-barnes/police-uk-api-mcp-server.git cd police-uk-api-mcp-server

  2. Install dependencies:

  pip install mcp requests

Usage Run the server:

python server.py

Configuration To integrate with an MCP ecosystem, update your server configuration

{
 "mcpServers": {
   "police-uk-api-tools": {
     "command": "python",
     "args": ["path/to/police-uk-api-mcp-server/server.py"],
     "host": "127.0.0.1",
     "port": 8080,
     "timeout": 30000
   }
 }
}

About

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.

Topics

python
crime-data
claude
stop-and-search
mcp-server
fastmcp
police-uk

Resources

Readme

Activity

Stars

1 star

Watchers

1 watching

Forks

0 forks

Report repository

Releases


No releases published

Packages 0


No packages published

Languages

You can’t perform that action at this time.

Features & Capabilities

Categories
mcp_server model_context_protocol

Implementation Details

Stats

0 Views
0 Favorites
1 GitHub Stars

Repository Info

dwain-barnes Organization

Similar Servers

continuedev_continue by continuedev
0
0
0