FBI Crime Data

live GovernmentStatistics

UCR/NIBRS crime statistics by agency, state, and nationally. Reuses your data.gov API key.

6 tools
0ms auth
free tier 50 calls/day

Tools

list_agencies

Reporting agencies, optionally filtered by state.

Parameters
Name Type Description
state_abbr opt string 2-letter state code
Try it
get_agency required: ori

Single agency by ORI.

Parameters
Name Type Description
ori req string 9-character ORI
Try it
national_estimate required: offense

National rate + count estimates over a year range.

Parameters
Name Type Description
offense req string Offense slug
from opt number Start year
to opt number End year
Try it
state_summary required: state_abbr, offense

Monthly counts of an offense in a state.

Parameters
Name Type Description
state_abbr req string 2-letter state code
offense req string Offense slug
from opt string YYYY-MM
to opt string YYYY-MM
Try it
agency_summary required: ori, offense

Monthly counts of an offense for one agency.

Parameters
Name Type Description
ori req string 9-character ORI
offense req string Offense slug
from opt string YYYY-MM
to opt string YYYY-MM
Try it
list_offense_slugs

Static list of valid offense slugs.

No parameters required.

Try it

Test with curl

The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.

List available tools
bash
curl -X POST https://gateway.pipeworx.io/fbi-crime/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
Call a tool
bash
curl -X POST https://gateway.pipeworx.io/fbi-crime/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"list_agencies","arguments":{}}}'

Use with the SDK

Install @pipeworx/sdk to call tools from any TypeScript/Node project.

TypeScript
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("list_agencies", {});
ask_pipeworx
// Or ask in plain English:
const answer = await px.ask("ucr/nibrs crime statistics by agency, state, and nationally");