Fbi Crime MCP Server logo

Fbi Crime MCP Server

Query FBI crime statistics, agency directories, hate crimes, arrests, NIBRS data, and LEOKA metrics through MCP.

Install Fbi Crime MCP Server

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "fbi-crime-mcp-server": {
      "command": "bunx",
      "args": [
        "@cyanheads/fbi-crime-mcp-server@latest"
      ],
      "env": {
        "FBI_API_KEY": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Install not yet sandbox-tested— we haven't run this command through our automated sandbox yet. Not a red flag; we're working through the catalog.

Overview

fbi-crime-mcp-server connects MCP clients to the FBI Crime Data Explorer API for UCR estimates, hate crimes, arrests, NIBRS breakdowns, agency searches, and LEOKA statistics. Its tools support national, state, and agency scopes where the CDE dataset allows, with date ranges, offense filters, comparison rates, and paginated agency results. Use it for agent-assisted crime-data research, jurisdiction comparisons, or analysis that requires FBI reporting categories and coverage metadata. It runs through STDIO or Streamable HTTP and requires an FBI API key.

Use cases

  • Find FBI agency ORI codes for a state
  • Compare monthly crime rates across jurisdictions
  • Analyze hate-crime bias and offense breakdowns
  • Retrieve arrest demographics for a selected offense
  • Review LEOKA officer-safety statistics

Key features

  • Query monthly UCR rates and counts
  • Search agencies with filters and pagination
  • Break down hate crimes by bias and context
  • Analyze arrests by demographics and offense
  • Retrieve NIBRS and LEOKA statistics
  • Run through STDIO or Streamable HTTP

Tools11

What Fbi Crime MCP Server lets your agent do. Expand a tool for its parameters.

Self-reported~313 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked 2d ago

Recent health check succeeded.

6/6 checks healthy over the last 46d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 5d ago via OSV.dev · @cyanheads/fbi-crime-mcp-server@latest (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars1Stargazers on the source repository.
npm downloads574Package downloads in the last 30 days.
Last commit5d agoMost recent push to the default branch.
Tools exposed11Callable tools this server registers over MCP.

How Fbi Crime MCP Server works

What fbi-crime-mcp-server does

fbi-crime-mcp-server exposes six callable tools for querying the FBI Crime Data Explorer (CDE) through the Model Context Protocol. The available datasets cover monthly UCR offense estimates, hate-crime incidents, arrests, NIBRS dimensions, law-enforcement officer fatality and safety data, and the CDE agency directory.

Crime estimates can be requested at national, state, or agency scope. Results include monthly rates, counts, clearance information, population values where supplied, and reporting-coverage fields. State and agency queries can optionally include comparison rates for the relevant state and United States. Agency searches return ORI identifiers that can be passed to other tools.

How it works

The server translates MCP tool calls into requests to the FBI CDE API and returns structured results. Agency searches are limited to one state at a time and can filter by name words, county, or agency type. Results are sorted by agency name and ORI and support limit-and-offset pagination.

Crime-estimate queries accept supported offense names such as violent crime, property crime, robbery, burglary, larceny, motor-vehicle theft, arson, aggravated assault, rape, and homicide. Hate-crime and arrest queries aggregate counts across a selected date range. NIBRS queries provide victim, offender, weapon, and related-offense breakdowns for one offense. LEOKA queries provide officer fatality, weapon, and circumstance information by month or year-to-date.

The datasets use different historical ranges. UCR estimates and arrests begin in 1985, hate-crime and NIBRS data begin in 1991, and LEOKA data begins in 2020. Current-year requests may contain null values for months that have not yet been published by the provider.

Setup and configuration

The package can be run as an MCP process with npx, using the package name @cyanheads/fbi-crime-mcp-server. Configure the FBI_API_KEY environment variable with an FBI API key. The repository also provides a Docker package and a public Streamable HTTP endpoint at https://fbi-crime.caseyjhand.com/mcp.

MCP clients can connect through STDIO or Streamable HTTP. The repository includes installation paths for Claude Desktop, Cursor, and VS Code. For a local STDIO configuration, the client invokes the package with npx -y @cyanheads/fbi-crime-mcp-server and passes FBI_API_KEY in the process environment.

Tools and capabilities

  • fbi_search_agencies searches a state directory and returns agency names, ORIs, agency types, counties, and available NIBRS start dates.
  • fbi_get_crime_estimates retrieves monthly UCR rates and counts for a national, state, or agency scope, with optional comparisons.
  • fbi_get_hate_crimes reports bias and bias-category incidents plus offense, location, offender, and judicial-district dimensions.
  • fbi_get_arrests returns arrest totals by offense, sex, race, and age group.
  • fbi_get_nibrs_breakdown returns NIBRS victim, offender, weapon, and related-offense data for a selected offense.
  • fbi_get_leoka returns LEOKA officer fatality, weapon, and circumstance data.

Date validation rejects unsupported years, reversed ranges, and incompatible scope parameters. The tools preserve provider-supplied zeros, nulls, update dates, and coverage fields so callers can distinguish reported values from incomplete coverage where the API provides that context.

Limitations and notes

Five listed operations are disabled rather than callable: arson, agency profiles, human trafficking, participation, and code tables. Use fbi_get_crime_estimates with offense="arson" for arson estimates, and use fbi_search_agencies instead of the disabled agency-profile operation.

CDE results can contain zero values for both no reported incidents and an unrecognized state or ORI in some datasets. Hate-crime breakdown dimensions use different counting bases and should not be added together as though they represented one total. Comparison results provide rates and coverage fields, not comparison counts. Agency-level queries require a valid nine-character ORI, which can be found with the agency search tool.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Fbi Crime MCP Server

fbi-crime-mcp-server is an MCP server that connects AI clients to the FBI Crime Data Explorer API. Its main tools search agencies, retrieve UCR crime estimates, analyze hate crimes and arrests, query NIBRS breakdowns, and return LEOKA officer-safety statistics at supported national, state, or agency scopes.

Install it as a local STDIO server with `npx -y @cyanheads/fbi-crime-mcp-server` and set the `FBI_API_KEY` environment variable. The repository also provides Docker packaging, a public Streamable HTTP endpoint, and client installation links.

Yes, fbi-crime-mcp-server includes a Cursor installation link. Cursor can launch the package with `npx` and pass `FBI_API_KEY` in its MCP configuration.

Use `fbi_search_agencies` with a two-letter state abbreviation, then optionally filter by agency name, county, or agency type. The paginated response includes each matching agency's ORI, which can be supplied to agency-scoped crime, hate-crime, or arrest queries.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewFbi Crime MCP Server AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/fbi-crime-mcp-server?style=directory)](https://allmcps.com/mcp/fbi-crime-mcp-server)
HTML Embed
<a href="https://allmcps.com/mcp/fbi-crime-mcp-server"><img src="https://allmcps.com/api/badge/fbi-crime-mcp-server?style=directory" alt="Fbi Crime MCP Server on AllMCPs" /></a>