Publicsafetyapi MCP server
{
"mcpServers": {
"publicsafetyapi": {
"command": "uvx",
"args": [
"publicsafetyapi-mcp"
],
"env": {
"PUBLICSAFETYAPI_KEY": "<publicsafetyapi_key>"
}
}
}
}{
"mcpServers": {
"publicsafetyapi": {
"command": "uvx",
"args": [
"publicsafetyapi-mcp"
],
"env": {
"PUBLICSAFETYAPI_KEY": "<publicsafetyapi_key>"
}
}
}
}{
"mcpServers": {
"publicsafetyapi": {
"command": "uvx",
"args": [
"publicsafetyapi-mcp"
],
"env": {
"PUBLICSAFETYAPI_KEY": "<publicsafetyapi_key>"
}
}
}
}{
"servers": {
"publicsafetyapi": {
"command": "uvx",
"args": [
"publicsafetyapi-mcp"
],
"env": {
"PUBLICSAFETYAPI_KEY": "${input:publicsafetyapi_key}"
}
}
},
"inputs": [
{
"id": "publicsafetyapi_key",
"type": "promptString",
"description": "Publicsafetyapi key",
"password": true
}
]
}{
"mcpServers": {
"publicsafetyapi": {
"command": "uvx",
"args": [
"publicsafetyapi-mcp"
],
"env": {
"PUBLICSAFETYAPI_KEY": "<publicsafetyapi_key>"
}
}
}
}file .mcp.json (in your project root)file claude_desktop_config.jsonfile ~/.cursor/mcp.jsonfile .vscode/mcp.jsonfile ~/.codeium/windsurf/mcp_config.jsoninstall uvx publicsafetyapi-mcpversion 0.1.2
What it does
This server exposes US public safety facility data—police stations, fire departments, EMS bases, and hospitals—from federal HIFLD and related public databases. It is for developers building AI agents that need to find or query nearby emergency services and medical facilities by address, coordinates, state, or other criteria.
- Find the nearest police station, fire department, or hospital to a given US street address or coordinates.
- Query facility counts and details by state, type, or search criteria for emergency response planning.
- Build emergency-response or public safety applications that need structured facility data including addresses, phone numbers, and (for hospitals) bed counts and trauma levels.
Tools this server exposes
| Tool | Does |
|---|---|
| find_stations_near_address | Find the nearest public safety facilities to a US street address. |
| find_stations_near_coordinates | Find the nearest public safety facilities to a latitude and longitude. |
| get_station | Retrieve the full record for a single facility by its ID. |
| list_stations | List or search facilities by type, state, name, or ZIP code. |
| get_jurisdiction | Determine which city and county contain a given location. |
| get_state_summary | Get facility counts grouped by type for a given state. |
Before you enable it
An MCP server runs with whatever access you give it. Start with a development account rather than production, and check which tools the server exposes before you let an agent call them unattended.