PublicSafetyAPI MCP Server
US police, fire, EMS and hospital locations near any address, from federal HIFLD data
PublicSafetyAPI scores 50 (Fair), with no SPDX license recorded. It installs as a local process. It declares 6 tools. Filed under Uncategorized. GitHub shows 0 stars. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Fair trust
50 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- No license recorded.
License, quality and maintenance
Quality: Grade A
90/100 for listing completeness. Lost points: short README, short summary.
How quality is graded
Where the 50 comes from
22 + 15 + 0 + 0 + 10 + 3 = 50. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 15 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 0 of 10 points.Not archived, a secure install path, a pinned version.
Security: 10 of 10 points.A real summary, a README with depth, listed tools.
Docs: 3 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "public-safety-api-publicsafetyapi-mcp": { "command": "uvx", "args": [ "publicsafetyapi-mcp" ], "env": { "PUBLICSAFETYAPI_KEY": "YOUR_PUBLICSAFETYAPI_KEY" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
PUBLICSAFETYAPI_KEYSecret | Required | API key from https://publicsafetyapi.dev (free tier: 500 requests/month) |
Tools6Tool docs quality grade C
All capabilitiesFind the nearest facilities to a US street address
Same, but from a lat/lng (skips geocoding)
get_jurisdictiontoolWhich city/town (or county, if unincorporated) contains a location, and which agencies of one type likely serve it
Facility counts by type for a state
get_stationtoolFull record for one facility by ID
list_stationstoolList/search facilities by type, state, name, or ZIP
About
publicsafetyapi-mcp
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-mcp
Or run directly with uvx (no install needed):
uvx publicsafetyapi-mcp
Configuration
Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.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
| Tool | Description |
|---|---|
find_stations_near_address | Find the nearest facilities to a US street address |
find_stations_near_coordinates | Same, but from a lat/lng (skips geocoding) |
get_station | Full record for one facility by ID |
list_stations | List/search facilities by type, state, name, or ZIP |
get_jurisdiction | Which city/town (or county, if unincorporated) contains a location, and which agencies of one type likely serve it |
get_state_summary | Facility counts by type for a state |
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
Frequently asked questions
What is PublicSafetyAPI MCP Server?
US police, fire, EMS and hospital locations near any address, from federal HIFLD data
How do I install PublicSafetyAPI MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. PublicSafetyAPI MCP Server runs locally from the PyPI package publicsafetyapi-mcp with the command uvx publicsafetyapi-mcp.
Does PublicSafetyAPI MCP Server support remote (HTTP) connections?
No remote endpoint is listed for PublicSafetyAPI MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does PublicSafetyAPI MCP Server provide?
PublicSafetyAPI MCP Server provides 6 tools, including find_stations_near_address, find_stations_near_coordinates, get_jurisdiction, and get_state_summary. See the full tool list for descriptions and parameters.
How is PublicSafetyAPI MCP Server's trust score calculated?
PublicSafetyAPI MCP Server scores 50 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.