FBI Crime Data Explorer MCP Server for LangChainGive LangChain instant access to 4 tools to Get Agency Summarized, Get National Estimates, Get Nibrs Victim Demographics, and more
LangChain is the leading Python framework for composable LLM applications. Connect FBI Crime Data Explorer through Vinkius and LangChain agents can call every tool natively. combine them with retrievers, memory, and output parsers for sophisticated AI pipelines.
Ask AI about this MCP Server for LangChain
The FBI Crime Data Explorer MCP Server for LangChain is a standout in the Industry Titans category — giving your AI agent 4 tools to work with, ready to go from day one.
Vinkius delivers Streamable HTTP and SSE to any MCP client
import asyncio
from langchain_mcp_adapters.client import MultiServerMCPClient
from langchain_openai import ChatOpenAI
from langgraph.prebuilt import create_react_agent
async def main():
# Your Vinkius token. get it at cloud.vinkius.com
async with MultiServerMCPClient({
"fbi-crime-data-explorer": {
"transport": "streamable_http",
"url": "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp",
}
}) as client:
tools = client.get_tools()
agent = create_react_agent(
ChatOpenAI(model="gpt-4o"),
tools,
)
response = await agent.ainvoke({
"messages": [{
"role": "user",
"content": "Using FBI Crime Data Explorer, show me what tools are available.",
}]
})
print(response["messages"][-1].content)
asyncio.run(main())
* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure
About FBI Crime Data Explorer MCP Server
Connect to the FBI Crime Data Explorer (CDE) to retrieve comprehensive law enforcement statistics directly through natural language. This server provides access to the Uniform Crime Reporting (UCR) program's extensive datasets.
LangChain's ecosystem of 500+ components combines seamlessly with FBI Crime Data Explorer through native MCP adapters. Connect 4 tools via Vinkius and use ReAct agents, Plan-and-Execute strategies, or custom agent architectures. with LangSmith tracing giving full visibility into every tool call, latency, and token cost.
What you can do
- National Estimates — Retrieve estimated crime totals for the entire United States across specific year ranges.
- State Summaries — Fetch detailed offense data (violent crime, property crime, etc.) for any specific US state.
- Agency-Level Data — Query statistics reported by specific local, county, or state law enforcement agencies using their unique ORI identifier.
- Victim Demographics — Analyze NIBRS data to see breakdowns of victims by age, race, and sex for various offenses.
The FBI Crime Data Explorer MCP Server exposes 4 tools through the Vinkius. Connect it to LangChain in under two minutes — credentials fully managed, no infrastructure to provision, no vendor lock-in. Your configuration, your data, your control.
All 4 FBI Crime Data Explorer tools available for LangChain
When LangChain connects to FBI Crime Data Explorer through Vinkius, your AI agent gets direct access to every tool listed below — spanning crime-statistics, fbi-data, public-safety, and more. Every call runs in a secure, isolated environment with full audit visibility. Beyond a simple connection, you get real-time monitoring of agent activity, enterprise governance, and optimized token usage.
Get agency summarized on FBI Crime Data Explorer
Retrieve crime data for a specific law enforcement agency
Get national estimates on FBI Crime Data Explorer
Retrieve national crime estimates
Get nibrs victim demographics on FBI Crime Data Explorer
Retrieve NIBRS victim demographic data
Get state summarized on FBI Crime Data Explorer
Retrieve crime statistics for a specific state
Connect FBI Crime Data Explorer to LangChain via MCP
Follow these steps to wire FBI Crime Data Explorer into LangChain. The entire setup takes under two minutes — your credentials stay safe behind Vinkius.
Install dependencies
pip install langchain langchain-mcp-adapters langgraph langchain-openaiReplace the token
[YOUR_TOKEN_HERE] with your Vinkius tokenRun the agent
python agent.pyExplore tools
Why Use LangChain with the FBI Crime Data Explorer MCP Server
LangChain provides unique advantages when paired with FBI Crime Data Explorer through the Model Context Protocol.
The largest ecosystem of integrations, chains, and agents. combine FBI Crime Data Explorer MCP tools with 500+ LangChain components
Agent architecture supports ReAct, Plan-and-Execute, and custom strategies with full MCP tool access at every step
LangSmith tracing gives you complete visibility into tool calls, latencies, and token usage for production debugging
Memory and conversation persistence let agents maintain context across FBI Crime Data Explorer queries for multi-turn workflows
FBI Crime Data Explorer + LangChain Use Cases
Practical scenarios where LangChain combined with the FBI Crime Data Explorer MCP Server delivers measurable value.
RAG with live data: combine FBI Crime Data Explorer tool results with vector store retrievals for answers grounded in both real-time and historical data
Autonomous research agents: LangChain agents query FBI Crime Data Explorer, synthesize findings, and generate comprehensive research reports
Multi-tool orchestration: chain FBI Crime Data Explorer tools with web scrapers, databases, and calculators in a single agent run
Production monitoring: use LangSmith to trace every FBI Crime Data Explorer tool call, measure latency, and optimize your agent's performance
Example Prompts for FBI Crime Data Explorer in LangChain
Ready-to-use prompts you can give your LangChain agent to start working with FBI Crime Data Explorer immediately.
"Show me national crime estimates from 2015 to 2020."
"Get summarized burglary data for California (CA) between 2018 and 2022."
"What is the age breakdown of robbery victims in New York?"
Troubleshooting FBI Crime Data Explorer MCP Server with LangChain
Common issues when connecting FBI Crime Data Explorer to LangChain through Vinkius, and how to resolve them.
MultiServerMCPClient not found
pip install langchain-mcp-adaptersFBI Crime Data Explorer + LangChain FAQ
Common questions about integrating FBI Crime Data Explorer MCP Server with LangChain.
How does LangChain connect to MCP servers?
langchain-mcp-adapters to create an MCP client. LangChain discovers all tools and wraps them as native LangChain tools compatible with any agent type.Which LangChain agent types work with MCP?
Can I trace MCP tool calls in LangSmith?
Explore More MCP Servers
View all →
Tripleseat
8 toolsManage event bookings, leads, contacts, venues, and accounts for your Tripleseat event management platform through natural conversation.

GUIDEcx
10 toolsAutomate customer onboarding via GUIDEcx — manage projects, tasks, and time tracking directly from any AI agent.

Bot9
8 toolsManage your AI agents via Bot9 — orchestrate bots, train them, and automate conversations directly from any AI agent.

SBA (Small Business Administration)
3 toolsAccess official U.S. Small Business Administration data to check business size standards and retrieve geographic resource links.
