Skip to content
dsh.fish
Bundle

xby-uk-police-data-query

一个提供英国警察数据查询的MCP服务器,包括犯罪记录、警察部队、社区信息和拦截搜查数据。

Source
xby-skill
License
MIT
Updated
Updated 14 hours ago

Readme

# xby-uk-police-data-query

DeepSeek Harness (DSH) 的插件:警察数据查询服务

一个提供英国警察数据查询的MCP服务器,包括犯罪记录、警察部队、社区信息和拦截搜查数据。

## 功能

- **set_xby_apikey** — 在聊天中设置 API 密钥(自动持久化,重启有效)
- **get_street_level_crimes** — Retrieve street-level crimes by lat/lng or custom polygon area
- **get_street_level_outcomes** — Retrieve outcomes by lat/lng, custom polygon, or location ID
- **get_crimes_at_location** — Retrieve crimes at a specific location by ID or nearest to lat/lng
- **get_crimes_no_location** — Retrieve crimes that could not be mapped to a location
- **get_crime_categories** — Retrieve valid crime categories for a given date
- **get_last_updated** — Retrieve the date when crime data was last updated
- **get_outcomes_for_crime** — Retrieve outcomes for a specific crime by persistent ID
- **get_list_of_forces** — Retrieve a list of all police forces
- **get_force_details** — Retrieve details for a specific police force
- **get_senior_officers** — Retrieve senior officers for a specific police force
- **get_neighbourhoods** — Retrieve a list of neighbourhoods for a specific police force
- **get_neighbourhood_details** — Retrieve details for a specific neighbourhood within a force
- **get_neighbourhood_boundary** — Retrieve the boundary coordinates for a specific neighbourhood
- **get_neighbourhood_team** — Retrieve the team members for a specific neighbourhood
- **get_neighbourhood_events** — Retrieve events scheduled for a specific neighbourhood
- **get_neighbourhood_priorities** — Retrieve policing priorities for a specific neighbourhood
- **locate_neighbourhood** — Find the neighbourhood policing team for a given latitude and longitude
- **get_stop_searches_by_area** — Retrieve stop and searches within a 1-mile radius or custom area
- **get_stop_searches_by_location** — Retrieve stop and searches at a specific location by ID
- **get_stop_searches_no_location** — Retrieve stop and searches that could not be mapped to a location
- **get_stop_searches_by_force** — Retrieve stop and searches reported by a specific force

## 安装

### 方式一:从 GitHub 直接安装(推荐)

```bash
# 格式: dsh plugin --profile <profile> add github:<owner>/<repo>
dsh plugin --profile web add github:xby_skill/xby-uk-police-data-query
```

### 方式二:从本地目录安装(开发模式)

```bash
# 仅用于本地开发调试
dsh plugin --profile web add /absolute/path/to/xby-uk-police-data-query
```

### 方式三:通过 cordis.patch.yml 开发调试

```bash
dsh web --profile web --patch /absolute/path/to/dsh-ocr-plugin/cordis.patch.yml
```



## 配置

### 获取 API 密钥

前往 [小笨羊官网](https://xiaobenyang.com) 注册并获取 API 密钥。

Install

dsh plugin --profile web add github:xby-skill/xby-uk-police-data-query

Profile: web

  • This package builds from source on install. pnpm will ask you to allow its build script — that is permission to run the package’s code on your machine, outside the agent sandbox. Only allow sources you trust.
  • This source has no pinned commit, so a later push upstream changes what installs. Prefer pinning a commit.
Source