US police, fire, EMS and hospital locations near any address, from federal HIFLD data
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
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.
Or run directly with uvx (no install needed):
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
Get a free API key at publicsafetyapi.dev β 500 requests/month, no credit card.
| 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 and county contain a location |
get_state_summary | Facility counts by type for a state |
Facility types: fire, police, ems, hospital.
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.
MIT
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/publicsafetyapi)<a href="https://allmcps.com/mcp/publicsafetyapi"><img src="https://allmcps.com/api/badge/publicsafetyapi?style=directory" alt="PublicSafetyAPI on AllMCPs" /></a>