• DATA
  • TRENDS
  • INSIGHT
  • HUMAN

How to analyze crime trends with your AI

Connect your AI to the DOJ NCVS dataset to pull specific victimization numbers and compare them over time.

Ask AI about this page

Short answer

How can I use AI to track crime trends?

Your AI uses the get_crime_by_year tool to pull victimization data from specific years in the DOJ NCVS database. You can then ask your agent to calculate percentage changes or identify which types of crimes are rising or falling. This breakdown shows you how to move from raw data to trend analysis.

The results

What your analysis produces

The AI handles the data retrieval so you can focus on the patterns.

DATA

Yearly crime stats

The AI pulls specific victimization counts for any year you request. You get raw numbers ready for comparison.

TRENDS

Shift detection

Your agent identifies if crime rates are climbing or dropping between specific timeframes. It spots the direction of public safety shifts.

INSIGHT

Comparative summaries

The AI compares different crime categories across years. You get a clear view of which offenses are changing most rapidly.

HUMAN

Policy decisions

The AI provides the numbers, but you decide what the trends mean for local safety or policy changes. You interpret the final results.

The workflow

What your AI does when the data arrives.

The AI acts as a bridge between the DOJ database and your chat interface.

  1. Fetch yearly data

    The AI reaches into the NCVS dataset to grab victimization figures for the years you specify.

    get_crime_by_year
  2. Calculate changes

    Once the data is in the chat, your agent calculates the difference in rates between the selected years.

    get_crime_by_year
  3. Isolate categories

    You can ask the AI to look only at specific types of crime to see how those individual trends look.

    get_crime_by_year
  4. Summarize findings

    The AI turns the raw numbers into a readable summary of whether safety is improving or declining.

    get_crime_by_year

Try it

Copy these to start.

Use these prompts to begin your analysis immediately.

Starting points

Replace the years and crime types with the specific ones you want to study.

DOJ NCVS Crime Data Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_jkW14CIlxGBxpuPDeO5HeXBORmGKRfmTBVnfMVif/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — DOJ NCVS Crime Data capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "doj-ncvs-crime-data-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_jkW14CIlxGBxpuPDeO5HeXBORmGKRfmTBVnfMVif/mcp"
    }
  }
}
Copy into chat04
  • Get the crime victimization rates for 2021 and 2022.

  • Compare the theft rates between 2018 and 2023 using the NCVS data.

  • Show me the trend for violent crime from 2015 to 2020.

  • What was the percentage change in burglary rates between 2019 and 2021?

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect DOJ NCVS Crime Data once, then ask.

Click the link to connect the MCP to your client. Your login details stay encrypted, and you can start asking questions right away.

Connect DOJ NCVS Crime Data to your AI

FAQ

How this task behaves

  • 01

    Can the AI change the actual DOJ data?

    No. The AI can only read the data provided by the NCVS dataset. It cannot modify or delete any official records.

  • 02

    Can the AI predict future crime rates?

    No. The tool only retrieves historical data. Any prediction would be a guess by your agent, not a function of the data itself.

  • 03

    Does the AI provide real-time crime updates?

    No. It accesses the DOJ NCVS datasets, which are based on periodic surveys, not a live police scanner.

  • 04

    Can I ask for data from a specific city?

    No. This specific tool provides national victimization data from the NCVS, not localized municipal data.

  • 05

    Do I need to upload my own spreadsheets?

    No. Once connected, your AI pulls the data directly from the DOJ source.

  • More questions about DOJ NCVS Crime Data? The Connector page answers them. See everything the DOJ NCVS Crime Data Connector can do

Connect DOJ NCVS Crime Data to Claude, Cursor, ChatGPT & more