PublicSafetyAPI
Find US police, fire, EMS and hospital locations near any address, from federal data
- Pricing
- Freemium
- Platforms
- self-hosted, CLI, API
- Runs
- Locally
- Version
- 0.1.3
- Listing updated
- 2 days ago
About PublicSafetyAPI
PublicSafetyAPI is a freemium MCP server for analytics and data. It runs locally on your machine and is started by your AI client.
Hospitals come with more than an address. The data includes licensed bed count, trauma centre level I to V, helipad availability, ownership type and accreditation body. The service covers more than 126,000 facilities across all 50 states, drawn from federal HIFLD, USFA and CMS data, which the README calls public domain and commercially usable.
Six tools search by address or by coordinates, fetch a facility by ID, list facilities by type, state, name or ZIP, and give a state summary of facility counts. A jurisdiction lookup returns which city or town, or county if unincorporated, contains a point, and which agencies of one type likely serve it. Facility types are fire, police, ems and hospital.
The server runs locally over stdio with uvx publicsafetyapi-mcp and needs a PUBLICSAFETYAPI_KEY. The free tier allows 500 requests a month with no card; paid tiers add email or priority support and a 99.9% SLA. A bundle covers the vendor's two other civic APIs from $49 a month. The package is MIT licensed.
Install
Run in a terminal
claude mcp add publicsafetyapi-mcp --env PUBLICSAFETYAPI_KEY='<PUBLICSAFETYAPI_KEY>' -- uvx publicsafetyapi-mcpAdd to claude_desktop_config.json
{
"mcpServers": {
"publicsafetyapi-mcp": {
"command": "uvx",
"args": [
"publicsafetyapi-mcp"
],
"env": {
"PUBLICSAFETYAPI_KEY": "<PUBLICSAFETYAPI_KEY>"
}
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"publicsafetyapi-mcp": {
"command": "uvx",
"args": [
"publicsafetyapi-mcp"
],
"env": {
"PUBLICSAFETYAPI_KEY": "<PUBLICSAFETYAPI_KEY>"
}
}
}
}Add to .vscode/mcp.json
{
"servers": {
"publicsafetyapi-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"publicsafetyapi-mcp"
],
"env": {
"PUBLICSAFETYAPI_KEY": "<PUBLICSAFETYAPI_KEY>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"publicsafetyapi-mcp": {
"command": "uvx",
"args": [
"publicsafetyapi-mcp"
],
"env": {
"PUBLICSAFETYAPI_KEY": "<PUBLICSAFETYAPI_KEY>"
}
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"publicsafetyapi-mcp": {
"command": "uvx",
"args": [
"publicsafetyapi-mcp"
],
"env": {
"PUBLICSAFETYAPI_KEY": "<PUBLICSAFETYAPI_KEY>"
}
}
}
}Configuration
PUBLICSAFETYAPI_KEYAPI key from https://publicsafetyapi.dev (free tier: 500 requests/month)Required
Tools this server provides (6)
Taken from the project documentation; the running server may differ.
- find_stations_near_address
- Find the nearest facilities to a US street address
- find_stations_near_coordinates
- Find nearest facilities from a latitude and longitude
- get_station
- Full record for one facility by ID
- list_stations
- List or search facilities by type, state, name or ZIP
- get_jurisdiction
- Which city, town or county contains a location, and which agencies likely serve it
- get_state_summary
- Facility counts by type for a state
What it does
- Nearest facilities
- Ranks police, fire, EMS and hospital sites by distance from an address.
- Coordinate search
- Searches from latitude and longitude, skipping geocoding.
- Hospital detail
- Adds bed counts, trauma level, helipad and ownership.
- Jurisdiction lookup
- Returns the incorporated place or county for a point.
- State summaries
- Counts facilities by type for any state.
- HIFLD identifiers
- Records use stable federal IDs.
Good for
- Find the closest fire station to an address
- Count hospitals with trauma centres in a state
- Map police and fire coverage near a city centre for an emergency app
- Check which agencies likely serve an unincorporated location
- Look up a facility's phone number and status
Pricing
Freemium
Free tier of 500 requests a month; paid tiers add support and SLA; bundle from $49/month
Prices change. Check publicsafetyapi.dev before you buy.
PublicSafetyAPI FAQ
Do I need an API key?
Yes. Set PUBLICSAFETYAPI_KEY; the free tier has 500 requests a month and no card.
Which facility types does it cover?
Police, fire, EMS and hospitals.
Where does the data come from?
Federal HIFLD, USFA and CMS data.
What licence is the package?
MIT.
Is it suitable for live emergencies?
The pages describe a lookup service for facility locations and do not claim it is for emergency dispatch.
Is PublicSafetyAPI free?
PublicSafetyAPI has a free plan, with paid plans for more usage or features.
How do I add PublicSafetyAPI to Claude Code?
Run this command in your terminal: claude mcp add publicsafetyapi-mcp --env PUBLICSAFETYAPI_KEY='<PUBLICSAFETYAPI_KEY>' -- uvx publicsafetyapi-mcp
What are the best alternatives to PublicSafetyAPI?
The closest alternatives to PublicSafetyAPI are Agent-Native Analytics, Google Ads + Meta Ads + SEO/GEO MCP, Tapetide - Indian Stock Market MCP, World Monitor and CompanyData.
Alternatives to PublicSafetyAPI

Agent-Native Analytics
MCP serverOpen-source analytics app where an AI agent builds charts and dashboards from your data
- Remote
- Open source
- 7.7K GitHub stars
- Analytics and data

Google Ads + Meta Ads + SEO/GEO MCP
MCP serverHosted MCP connector for managing Google Ads, Meta Ads, GA4 and Search Console from chat
- 8 tools
- Remote
- Freemium
- 8.1K GitHub stars
- Marketing and SEO

Tapetide - Indian Stock Market MCP
MCP serverIndian NSE and BSE stock market data for AI assistants through 48 MCP tools
- 17 tools
- Remote
- Freemium
- 150 GitHub stars
- Finance and payments

World Monitor
MCP serverLive geopolitical intelligence dashboard with an API and MCP server for agents
- Remote
- Freemium
- Analytics and data

CompanyData
MCP serverSearch and enrich company records from official registers via the CompanyData API
- 3 tools
- Remote
- Paid
- 3 GitHub stars
- Analytics and data

Tutu eSIM
MCP serverLive travel eSIM plans, prices and roaming costs for 190+ countries
- 5 tools
- Remote
- Paid
- Maps and travel