
PublicSafetyAPI
dev.publicsafetyapiPublished by publicsafetyapi.devv0.1.3Updated Oct 24, 2026
US police, fire, EMS and hospital locations near any address, from federal HIFLD data
Overview
Looks up US police, fire, EMS and hospital facilities near an address or coordinates, using federal HIFLD, USFA and CMS data.
- What you can do
- Find the nearest police, fire, EMS or hospital facilities to a US street address, or to a latitude/longitude pair to skip geocoding
- Retrieve the full record for a single facility by its ID
- List and search facilities by type, state, name or ZIP code
- Identify which city, town or county contains a location and which agencies of a given type likely serve it
- Get facility counts by type for a state
- Returns structured JSON with addresses, phone numbers, coordinates and, for hospitals, beds, trauma level and ownership
- When to use it
- Useful when an assistant needs US public safety facility data: nearest-station questions, hospital counts and trauma-center details by state, or building emergency-response and coverage tools that need facility lists around a location.
- Requirements
- Runs locally as a Python package (pip install or uvx) over stdio, so Python and uv/uvx are needed. Requires an API key supplied in the PUBLICSAFETYAPI_KEY environment variable; a free tier of 500 requests per month is available. Network access to the publicsafetyapi.dev service is required.
Installation
In SourceWeft
- Open PublicSafetyAPI in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
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
Or run directly with uvx (no install needed):
Configuration
Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
Cursor / other MCP clients
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
Source: README.md at commit db73d2b
Tools
0Version history
2- v0.1.3LatestOct 4, 2026
- v0.1.2Sep 16, 2026
Score
40% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts
Declare a license in the repository or the registry entry.