PublicSafetyAPI MCP server
dev.publicsafetyapi/publicsafetyapi-mcp·v0.1.3US police, fire, EMS and hospital locations near any address, from federal HIFLD data
0 stars34 downloads/wk
Reviews
Write oneNobody has reviewed PublicSafetyAPI yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
PublicSafetyAPI tools (6)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
find_stations_near_addressFind the public safety facilities nearest to a US street address, sorted by distance.
find_stations_near_coordinatesFind the public safety facilities nearest to a latitude/longitude, sorted by distance. Use this when you already have coordinates; it skips geocoding and is faster than find_stations_near_address.
get_jurisdictionDetermine which Census-defined place (city/town) contains a location, and which agencies most likely respond there. Returns the place name, state, Census GEOID, boundary type, and a `likelyAgencies` list of nearby police, fire, EMS, and hospital facilities. Useful for routing, coverage reporting, or working out which local government and responders serve an address.
get_state_summaryGet facility counts by type (fire, police, EMS, hospital) for one state.
get_stationGet the full record for one facility by its ID, including address, phone, coordinates, and (for hospitals) beds, trauma level, and ownership.
list_stationsList or search public safety facilities by type, state, name, or ZIP. Use this for questions like "how many fire stations are in Kansas" or to find a facility by name. For "what's nearest to X", use find_stations_near_address instead.
Public scan report
scanner v0.1.10 · 2026-11-03 · same rubric, same numbers if you re-run it
- Code scan4 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitystatic API keys via environment variables6/15
- Maintenancelast push 30 days ago15/15
- Maintainer identitynamespace and repository owner differ; website matches verified namespace5/10
How PublicSafetyAPI compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 78/100
- higher than 57% of 48,255 servers
- Tools
- 6
- the typical server has 7
- Tools that change things
- 0%
- typical: 0%. Fewer write tools means less an agent can break
- Downloads a week
- 34
- more than 23% of 12,191 servers with a package
What its tools let an agent do: 6 read
Release history: 2 versions in the registry since 2026-08-16, latest 2026-10-04, typically one every 49 days.
Install PublicSafetyAPI in Claude Code, Cursor or VS Code
claude mcp add publicsafetyapi-mcp -- uvx publicsafetyapi-mcp
What the publisher says
From the PublicSafetyAPI repository's README, as published. We do not edit it. Read it on GitHub
publicsafetyapi-mcp
<!-- Links this package to its entry in the official MCP registry --> mcp-name: dev.publicsafetyapi/publicsafetyapi-mcp
MCP server for publicsafetyapi.dev — US police stations, fire departments, EMS bases, and hospitals for AI agents.
Expose public safety facility lookups as tools to any MCP-compatible AI assistant (Claude, Cursor, Copilot, etc.). Built on federal HIFLD, USFA, and CMS data — public domain, commercially usable.
Installation
pip install publicsafetyapi-mcpOr run directly with uvx (no install needed):
uvx publicsafetyapi-mcpConfiguration
Claude Desktop
Add to ~/Library/Application Support/Claude/claudedesktopconfig.json:
{
"mcpServers": {
"publicsafetyapi": {
"command": "uvx",
"args": ["publicsafetyapi-mcp"],
"env": {
"PUBLICSAFETYAPI_KEY": "your_api_key_here"
}
}
}
}Cursor / other MCP clients
{
"mcpServers": {
"publicsafetyapi": {
"command": "uvx",
"args": ["publicsafetyapi-mcp"],
"env": {
"PUBLICSAFETYAPI_KEY": "your_api_key_here"
}
}
}
}Get a free API key at publicsafetyapi.dev — 500 requests/month, no credit card.
Available Tools
Facility types: fire, police, ems, hospital.
Examples
Once configured, you can ask your AI assistant:
"What's the closest fire station to 350 Fifth Ave, New York?"
"How many hospitals are in Montana, and which have trauma centers?"
"I'm building an emergency-response app — find every police and fire station within 5 miles of downtown Austin."
The assistant calls the matching tool and gets structured JSON back — addresses, phone numbers, coordinates, and for hospitals, beds, trauma level, and ownership.
Links
- Website: publicsafetyapi.dev
- PyPI: pypi.org/project/publicsafetyapi-mcp
- REST API docs: publicsafetyapi.dev/docs
License
MIT
Nothing above is checked by us. What we check is on the safety report.
PublicSafetyAPI: common questions
- Is PublicSafetyAPI MCP server safe?
- Mostly: it is graded B (78/100). Read the PublicSafetyAPI safety report
- How do I install PublicSafetyAPI?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does PublicSafetyAPI need an API key?
- Yes. The registry entry asks for
PUBLICSAFETYAPI_KEY. - Is PublicSafetyAPI maintained?
- The last commit was 31 days ago (2026-10-04). The latest release is v0.1.3.
- How does PublicSafetyAPI compare with other MCP servers?
- safety score 78/100 (higher than 57% of 48,255 servers); tools 6 (the typical server has 7); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.