プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。Google でログインするとレビューを書けます。プロトタイプ · 30分ごとに更新
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

Fbi Crime MCP Server

作者:cyanheadsバージョン 0.5.0i★ 2iパソコンでもクラウドでも公式サイト ↗
レジストリ名io.github.cyanheads/fbi-crime-mcp-server

インストール方法

What it does

FBI Crime Data Explorer — offense rates, hate crime, arrests, NIBRS, LEOKA, staffing, agency search.

  • Connects パソコンでもクラウドでも
  • Account or key Cloud: No key needed · Local: Needs FBI_API_KEY
  • Category 検索・AIの記憶

一緒に使える

この種の作業を AI に教える Skill。これと一緒に使えます

timesfm

TimesFM (Time Series Foundation Model) is a pretrained time-series foundation model developed by Google Research for time-series forecasting.

作者:google-research★ 35,6381 個の skill

Skill · 手順書

Shadowbroker

Open-source intelligence for the global theater. Track everything from the corporate/private jets of the wealthy, and spy satellites, to seismic events in one unified interface. Hook an AI agent up to have it parse through data and find previously unseen correlations. The knowledge is available to…

作者:BigBodyCobain★ 11,6051 個の skill

Skill · 手順書

google-maps-scraper

scrape data from Google Maps. Extracts data such as the name, address, phone number, website URL, rating, reviews number, latitude and longitude, reviews,email and more for each place

作者:gosom★ 8,2361 個の skill

Skill · 手順書

この順位の理由

一覧は利用スコア(100 点満点)で並びます。内訳は次のとおり

人気6/80GitHub スターか週間ダウンロード数。大きい方を 60、小さい方を 20 で数えます
新しさ12/1230 日以内のリリースかコード更新で満点
応答中8/8前回の確認でクラウドのエンドポイントが応答
利用スコア26/100

品質: 基本チェック 5/5 項目に合格(表示のみ、並び順には不使用) · 勢い: データなし (「急上昇」タブでのみ使用)

インストール

使っているAIアプリを選んで、設定をコピーしてください。

ひとことで AI にインストールしてもらう

Fbi Crime MCP Server をインストールして。https://mcp.popnx.com/i/cyanheads-fbi-crime-mcp-server.md に従い、コマンドを見せて、私が OK するまで実行しないで。

パソコンで作業できる AI(Claude Code や Cursor など)に貼り付けます。手順を読み、コマンドを見せて、あなたの OK を待ちます。キー不要・登録不要。 · AI が読む全文を見る

チェック 5/5 合格 · 質問内容は提供元のサーバー(fbi-crime.caseyjhand.com)を通ります · ✓ コマンド確認済み 2026年11月16日

まず:どの AI を使っていますか?

使っているアプリを選ぶと、下に手順が表示されます。

Claude につなげます · 約 2 分

キー不要、インストール不要 · claude.ai かデスクトップアプリで一度設定すれば、チャットで使えます · 無料アカウントは 1 つまで · Team/Enterprise はオーナー(Owner)が追加

  1. Claude の Connectors ページを開く

    CustomizeConnectors

    CustomizeConnectors1Add2https://…3Add4
  2. 「Add」→「Custom」→「Web」を押し、この 2 つを入力

    ここからコピーして Claude の同じ名前の欄に貼り付け、Continue を押します

    Name · 名前Fbi Crime MCP Server
    Remote MCP server URL · アドレスhttps://fbi-crime.caseyjhand.com/mcp

    Claude が検出したサインイン設定の画面で Continue を押す · Authentication は作者の説明どおり(Sign in now・Sign in when needed・No sign in)を選び Add を押します

  3. チャットで有効にする

    +ConnectorsFbi Crime MCP Server

  4. 試してみる

    Fbi Crime MCP Server を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Claude が Fbi Crime MCP Server を使っていると言うか、回答に Fbi Crime MCP Server のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

ChatGPT との接続はプランしだい

フル MCP:Web 版 ChatGPT の Business・Enterprise・Edu · Pro:読み取り/取得の権限で接続、データを変えるツールは使えないことがあります · Plus:公式ドキュメントで未確認。プラグイン画面にカスタム MCP を追加する項目があれば試せます · Web のみ

  1. Web 版 ChatGPT で MCP の追加ページを開く

    Plugins+Add custom MCP server

    ChatGPTPlugins1+2https://…3Create4
  2. 名前とアドレスを入力

    名前を入れ、Connection にアドレスを貼り付け、注意事項にチェックして Create as a plugin を押します

    Name · 名前Fbi Crime MCP Server
    Connection · アドレスhttps://fbi-crime.caseyjhand.com/mcp
  3. チャットで Fbi Crime MCP Server を選ぶ

    新しいチャットを開き、入力前にプラグインの一覧から Fbi Crime MCP Server を選びます

  4. 試してみる

    Fbi Crime MCP Server を使って、私に何ができるか教えて、1 つやってみせて

    ✓ ChatGPT が Fbi Crime MCP Server を使っていると言うか、回答に Fbi Crime MCP Server のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に OpenAI のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

Claude Code につなげます · 約 2 分

キー不要、インストール不要

  1. ターミナルを開く

    Mac:Command+スペースで Terminal と入力 · Windows:PowerShell を開く

  2. このコマンドを貼り付けて Enter

    claude mcp add --transport http --scope user fbi-crime https://fbi-crime.caseyjhand.com/mcp
  3. Claude Code で /mcp と入力

    Fbi Crime MCP Server が一覧にあり、接続済みと表示されれば OK です

  4. 試してみる

    Fbi Crime MCP Server を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Claude Code が Fbi Crime MCP Server を使っていると言うか、回答に Fbi Crime MCP Server のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

Cursor につなげます · 約 2 分

キー不要、インストール不要

  1. このボタンで Cursor を開く

    Cursor で開く

    Cursor がインストールの確認をするので Install を押します

  2. Cursor の AI チャットを Agent モードで開く

  3. 試してみる

    Fbi Crime MCP Server を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Cursor が Fbi Crime MCP Server を使っていると言うか、回答に Fbi Crime MCP Server のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に Cursor のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

VS Code につなげます · 約 2 分

キー不要、インストール不要

  1. このボタンで VS Code を開く

    VS Code で開く

    VS Code がインストールの確認をするので Install を押します

  2. VS Code の AI チャットを Agent モードで開く

  3. 試してみる

    Fbi Crime MCP Server を使って、私に何ができるか教えて、1 つやってみせて

    ✓ VS Code が Fbi Crime MCP Server を使っていると言うか、回答に Fbi Crime MCP Server のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に VS Code のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

Windsurf、Zed、Gemini CLI など MCP を使える他のアプリは追加方法がそれぞれ違います。アプリ一覧で確認してください

MCP を使えるアプリをすべて見る →

Web 経由でつなぐアプリ用のアドレス

アドレスhttps://fbi-crime.caseyjhand.com/mcp

JSON 設定は下の「開発者向け」にあります

つまずいたら?Fbi Crime MCP Server を使っている人に聞いてみましょう💬 ディスカッション →
開発者向け:ターミナルのコマンドと JSON 設定

Web 経由

Claude Code

claude mcp add --transport http --scope user fbi-crime https://fbi-crime.caseyjhand.com/mcp

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "fbi-crime": {
      "url": "https://fbi-crime.caseyjhand.com/mcp"
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "fbi-crime": {
      "type": "http",
      "url": "https://fbi-crime.caseyjhand.com/mcp"
    }
  }
}

パソコンにインストール

Claude Code

claude mcp add --scope user fbi-crime --env FBI_API_KEY=your-value -- npx -y @cyanheads/fbi-crime-mcp-server

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "fbi-crime": {
      "command": "npx",
      "args": [
        "-y",
        "@cyanheads/fbi-crime-mcp-server"
      ],
      "env": {
        "FBI_API_KEY": "your-value"
      }
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "fbi-crime": {
      "command": "npx",
      "args": [
        "-y",
        "@cyanheads/fbi-crime-mcp-server"
      ],
      "env": {
        "FBI_API_KEY": "your-value"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "fbi-crime": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@cyanheads/fbi-crime-mcp-server"
      ],
      "env": {
        "FBI_API_KEY": "your-value"
      }
    }
  }
}

自分で入力する値

  • FBI_API_KEY 秘密 必須 env
    FBI Crime Data Explorer 用の api.data.gov API キーです。https://api.data.gov/signup/ で無料で取得できます。
    英語の原文を見るapi.data.gov API key for the FBI Crime Data Explorer. Free at https://api.data.gov/signup/.
  • FBI_CLAMP_LIMITS env
    Serve an fbi_search_agencies limit above 200 at 200 with a notice. Set false to advertise maximum 200 and reject a larger limit.
  • MCP_LOG_LEVEL env
    出力する最小のログレベルを設定します(例: 'debug'、'info'、'warn')
    英語の原文を見るSets the minimum log level for output (e.g., 'debug', 'info', 'warn').

説明は自動翻訳です。変数名は原文のままです。迷ったら原文を確認してください。

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

ひと目でわかる

週あたりのダウンロードi
167/週
接続方法
パソコンでもクラウドでも
最新バージョンi
0.5.0
レジストリ公開日i
2026年11月16日
コードの最終更新i
2026年11月16日
最終確認
2026年11月19日
作者
cyanheads
パッケージ
npm: @cyanheads/fbi-crime-mcp-server
npm: @cyanheads/fbi-crime-mcp-server
レジストリでの状態
有効

使えるアプリ

このサーバーのつなぎ方と、各アプリの公式ドキュメントに基づきます。2026年11月10日に確認。

インターネット経由でつなげるアプリ

ClaudeChatGPTGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatOpen WebUIRaycast

パソコン上で動かせるアプリ

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

すべてのアプリと長所・短所 →

できること

ツールの名前と説明は、サーバーが2026年11月19日に返したそのままの内容です。書いたのは作者で、私たちではありません。プレーンテキストとして表示しています。

  • fbi_search_agencies

    Find law enforcement agencies in one state and their nine-character ORI codes, the identifier agency scope needs in fbi_get_crime_estimates, fbi_get_hate_crimes, fbi_get_arrests, fbi_get_nibrs_breakdown, and fbi_get_police_employees. Fetches the state's full FBI CDE agency direct

  • fbi_get_crime_estimates

    Monthly offense rates (per 100,000 participating population), raw counts, population denominators and provider reporting coverage from FBI CDE, January 1985 through the current year; current-year months past the latest data return null values. National scope omits identifiers; st

  • fbi_get_nibrs_breakdown

    NIBRS incident breakdowns reported to FBI CDE for one offense, for the nation, a state, or an agency, summed over a month window from January 1991 through the current year. Returns victim counts by age, sex, race, location, ethnicity, and relationship to the offender; offender co

  • fbi_get_arrests

    Arrest counts reported to FBI CDE for the nation, a state, or an agency, summed over a month window from January 1985 through the current year. Returns arrests by offense name, offense category, and detailed offense breakdown, by arrestee sex and race, and by age group for male a

  • fbi_get_hate_crimes

    Hate crime counts reported to FBI CDE for the nation, a state, or an agency, summed over a month window from January 1991 through the current year. Returns incidents by bias motivation and bias category, plus counts by offense type, location type, offender race, offender ethnicit

  • fbi_get_leoka

    LEOKA officer fatality trends, weapons, activity, circumstances, demographics, geographic regions, and time-of-day/month breakdowns, 2020 through the current year. Period "ytd" requests a year; "monthly" requires month and includes the same month of the comparison year. Both peri

  • fbi_get_police_employees

    Law enforcement staffing reported to FBI CDE for the nation, a state, or an agency, one row per year from 1985 through the current year: male and female sworn officers, male and female civilian employees, law enforcement employees per 1,000 people, the participated population, an

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月20日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント cyanheads で確認済みです

  • ✓ 合格

    今もメンテナンスされている

    コードの最終更新:4 日前

  • ✓ 合格

    ライセンスがある

    Apache-2.0を使用

  • ✓ 合格

    エンドポイントが応答する

    462ミリ秒で応答(HTTP 200)

  • – 対象外

    OAuthでサインイン

    サインイン不要

  • ✓ 合格

    ツールの説明に隠れた指示がない

    7件のツールの説明を読み、AIへの隠れた指示は見つかりませんでした

クラウドのアドレスは直近 5 回中 5 回応答 · 最新 462 ms · 確認日 2026年11月19日

公開済みの脆弱性(OSV.dev)

まだ確認していません

確認していること → · JSON

作者の方へ:再確認の依頼・情報の誤りの報告
作者向け:README にバッジを付ける

作者の方は、このコードを README に貼れます。バッジはこのページにリンクします。

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/cyanheads-fbi-crime-mcp-server.svg)](https://mcp.popnx.com/en/servers/cyanheads-fbi-crime-mcp-server)

話し合い

質問、コツの共有、使えないことの報告ができます。「役に立った」の多い順です。

まだ投稿はありません。最初の質問や共有をどうぞ。

ここの投稿は利用者によるもので、PopNx チームのものではありません。

ログインして投稿

ユーザーレビュー

まだレビューはありません

ログインしてレビューを書く

検索・AIの記憶のほかのサーバーとの比較i

  • このカテゴリのほかの6447件のうち83%よりスターが多い
  • このカテゴリのほかの6447件のうち91%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの6447件のうち99%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

Fbi Crime MCP Serverは安全ですか?

当てはまる基本チェック5項目のうち5項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

入力が必要なもの:FBI_API_KEY

パソコンで動きますか、それともクラウドですか?

どちらでも使えます。パソコンにインストールしても、クラウド版につないでもかまいません。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は4 日前、最新バージョン(0.5.0)がレジストリに届いたのは4 日前です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。URL で接続するので、リモート MCP を受け付けるアプリでも使えます。例:Web 版 ChatGPT(Business 以上はフル MCP、Pro は読み取りのみ)。

代わりに使えるものは?

同じカテゴリには:OpenSEO, Exa, Microsoft Learn MCP, Docs, COTAL actions (cotal.ai)

似た働きのほかの候補

同じカテゴリでほかの作者のもの。コマンドは確認済み。公式を先に、次にスター順。

カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

OpenSEO

Keyword research, site audits, rank tracking and AI visibility for your AI agent.

作者:every-app広く使われている★ 2.8万6 日前更新

クラウドで動く✓ everyapp.com

Exa

Connect AI agents to Exa for web search, content fetching, and multi-step research.

作者:exa-labs広く使われている★ 5244今日更新

クラウドで動く✓ 提供元 · exa.aiPopNx チームが実際に試用

Microsoft Learn MCP

Official Microsoft Learn MCP Server – real-time, trusted docs & code samples for AI and LLMs.

作者:MicrosoftDocs広く使われている★ 200012 か月前更新

クラウドで動く✓ 提供元 · microsoft.comPopNx チームが実際に試用

Docs

Search and read Empryo's documentation. Read-only, no auth, no local access.

作者:proxysoul成長中★ 16282 か月前更新

クラウドで動く✓ empryo.com
似たものと比べる
これ
Fbi Crime MCP Server
OpenSEOExaMicrosoft Learn MCPDocsCOTAL actions (cotal.ai)
動く場所クラウドでもパソコンにインストールでも使えるクラウドで動き、インストール不要クラウドで動き、インストール不要クラウドで動き、インストール不要クラウドで動き、インストール不要クラウドで動き、インストール不要
キーが必要はいいいえいいえいいえいいえいいえ
Claude で + から追加いいえはいはいはいいいえいいえ
基本チェック5/55/52/44/44/44/4
ライセンスApache-2.0MITMITCC-BY-4.0NOASSERTIONApache-2.0
料金登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

@cyanheads/fbi-crime-mcp-server Exposes the FBI Crime Data Explorer API — monthly UCR offense rates and counts, hate crime, arrest, and NIBRS breakdowns by national, state, or agency scope, agency ORI search, annual law enforcement staffing, and LEOKA officer-safety statistics via MCP. STDIO or Streamable HTTP. 7 Callable Tools • 5 Disabled Tools • 0 Registered Resources • 1 Skill

Public Hosted Server: https://fbi-crime.caseyjhand.com/mcp


Overview

US crime statistics from the FBI Crime Data Explorer: monthly offense rates and counts with population and reporting coverage, hate crime, arrest, and NIBRS totals at the national, state, or agency level, agency ORI search by state, annual law enforcement staffing (sworn officers and civilians), and statistics on law enforcement officers killed and assaulted (LEOKA).

Tools
ToolDescription
fbi_search_agenciesFind agencies in one state and their ORI codes from the CDE agency directory; filter by name words, county, and agency type; paged
fbi_get_crime_estimatesMonthly UCR offense rates and counts by national, state, or agency scope, from the CDE summarized endpoint; optional state and national comparison rates
fbi_get_hate_crimesHate crime incidents by bias motivation and category, plus offense, location, offender, and judicial-district breakdowns, 1991 through the current year; opt-in monthly counts, rates, and reporting coverage
fbi_get_arrestsArrest counts by offense, arrestee sex and race, and age group, 1985 through the current year; opt-in monthly counts, rates, and reporting coverage
fbi_get_nibrs_breakdownNIBRS victim, offender, weapon, and related-offense breakdowns for one offense, 1991 through the current year; opt-in monthly offense and clearance counts, rates, and reporting coverage
fbi_get_leokaOfficer fatality, weapon, and circumstance data (LEOKA) by month or year-to-date, 2020 through the current year
fbi_get_police_employeesAnnual law enforcement staffing (sworn officers and civilians by sex, employees per 1,000 people, participated population) by national, state, or agency scope, 1985 through the current year
fbi_get_arson[DISABLED] Use fbi_get_crime_estimates with offense="arson"
fbi_get_agency[DISABLED] UCR agency profile backend decommissioned; use fbi_search_agencies
fbi_get_human_trafficking[DISABLED] UCR human trafficking backend decommissioned
fbi_get_participation[DISABLED] UCR and CDE participation backends decommissioned
fbi_list_code_table[DISABLED] UCR code table backend decommissioned

The five unavailable entries above are disabled operator records, not callable tools. Visit FBI CDE for retired datasets.

Skills
SkillDescription
fbi-crime-guideGates the tool descriptions don't carry: where an agency ORI comes from, an unrecognized state or ORI versus one that reported nothing, null versus zero, which category map holds a headline total, and reporting coverage before comparing periods

Plugin installs load it from skills/; MCP clients that support the Skills extension read it as skill://fbi-crime-guide/SKILL.md. It also ships in the npm package and Docker image.

Capability reference

fbi_search_agencies tool
  • state_abbr (required, two letters, case-insensitive) selects the state directory. Optional filters run over the whole state: name_contains (every word must appear in the agency name, any order, case-insensitive), county (equals any of the agency's counties), and agency_type (City, County, Other State Agency, Other, State Police, University or College, or Tribal).
  • county ignores case, accents, spaces, periods, apostrophes, and hyphens (St. Louis matches ST LOUIS, Doña Ana matches DONA ANA). CDE lists county names without a County, Parish, or Borough suffix and keeps CITY on independent cities, so a name that matches no county in the state is retried without one trailing County, Parish, Borough, Census Area, Municipality, or City and Borough (Bexar County → BEXAR; Fairfax City stays FAIRFAX CITY).
  • limit (default 50) and offset (default 0) page the matches, sorted by agency name then ORI. A limit above 200 returns 200 agencies with a notice naming both values; with FBI_CLAMP_LIMITS=false the schema advertises a maximum of 200 and rejects a larger value.
  • Returns state_abbr, total (matches before paging), offset, next_offset (absent on the last page), and agencies[] with ori, agency_name, agency_type, counties, is_nibrs, and nibrs_start_date when CDE lists one.
  • A code CDE has no directory for (AS, MP, or an unrecognized code) returns zero agencies with a notice; an offset past the end returns zero agencies with a notice naming the total.

fbi_get_crime_estimates tool
  • scope: national (no identifiers), state (only state_abbr, two letters), or agency (only ori, nine letters/digits; find it with fbi_search_agencies). Case is normalized to uppercase.
  • offense: violent-crime, property-crime, robbery, burglary, larceny, motor-vehicle-theft, arson, aggravated-assault, rape, or homicide. Date range runs from_year/from_month through to_year/to_month (1985 through the current year; months default to January and December), and the start must not be later than the end. A year after the current UTC year fails with year_out_of_range; current-year months past the latest data return null values.
  • Returns entity_name, rates per 100,000 participating population, actual/clearance counts, and nullable population, participated_population, and population_coverage_percent for each offense month, plus data_last_updated and max_data_date when the provider supplies them.
  • include_comparisons (default false; state or agency scope only) adds comparisons: one entry per comparison entity in CDE's order (an agency's state, then the United States; a state's United States), each { entity_name, months[] } with year, month, rate_per_100k, clearance_rate_per_100k, population, participated_population, and population_coverage_percent for exactly the scoped months. CDE sends no counts for comparison entities, and the list is empty when CDE sends none.
  • Typed errors: scope_param_missing, scope_param_incompatible (also include_comparisons: true on national scope), year_out_of_range, invalid_date_range, no_data (also returned for a well-formed identifier the provider doesn't know).
  • One call returns every month of the requested window; from/to echo it and total_months counts its months.

fbi_get_hate_crimes tool
  • scope, state_abbr, ori, and the from_year/from_month/to_year/to_month window follow the fbi_get_crime_estimates contract, with years from 1991 through the current year; counts are summed over the window.
  • bias: all (default) or one of 34 CDE bias codes (11–85, listed on the field). With a code, incidents count that motivation plus multiple-bias incidents that include it.
  • Returns incident_section (bias, bias_category) and bias_section (offense_type, location_type, offender_race, offender_ethnicity, judicial_district) as category-to-count maps with every category CDE sends, zeros and nulls kept. The bias_section dimensions are counted on different bases and do not sum to one total or to the incident count. Also bias_label and data_last_updated when supplied.
  • include_monthly (default false) adds monthly: one row per month of the window for the scoped entity, from CDE's monthly view (one more request, run in parallel). Each row has year, month, incident_count, offense_count, incident_rate_per_100k, offense_rate_per_100k, population, participated_population, and population_coverage_percent. CDE's -1 rate becomes null, and a count in a month whose participated_population is null is not a reported zero. The window returns whole.
  • An all-zero result succeeds with a notice, since CDE returns zeros both for no reports and for an unrecognized state or ORI. With include_monthly the notice names the cause: an unrecognized state or ORI returns an empty monthly, while a recognized one returns its months, and when none of those months has a participated_population the notice says the zeros are not reported counts.
  • Typed errors: scope_param_missing, scope_param_incompatible, year_out_of_range, invalid_date_range.

fbi_get_arrests tool
  • Scope, identifiers, and window as fbi_get_hate_crimes, with years from 1985 through the current year.
  • offense: all (default) or one of 47 CDE numeric offense codes (for example 30 Robbery, 11 Murder and Nonnegligent Homicide, 320 Suspicion; listed on the field). Word slugs such as robbery are rejected. Code 23 (Rape - Not Specified) is excluded because CDE returns only zeros for it.
  • A code counts only its own CDE Offense Breakdown row: 140 and 150 are their category's "(Unspecified)" row, and 50 is the whole Aggravated Assault category. For a category total use offense: all and read offense_category. Multi-code categories: Homicide 11–12, Human Trafficking 101–102, Prostitution 140–143, Drug/Narcotic 150–160, Gambling 170–173, Vagrancy/Loitering 300 and 330.
  • Returns offense_name, offense_category, offense_breakdown, arrestee_sex, arrestee_race, male_arrests_by_age, and female_arrests_by_age as category-to-count maps, plus offense_label, `data_la

冒頭だけを表示しています。続きはリポジトリで読めます