PublicSafetyAPI

v0.1.3
dev.publicsafetyapi/publicsafetyapi-mcp Checked 3 days ago Published 2 months ago

US police, fire, EMS and hospital locations near any address, from federal HIFLD data

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

find_stations_near_address

Find the public safety facilities nearest to a US street address, sorted by distance. Args: address: Full US street address, e.g. "350 Fifth Ave, New York, NY" type: Optional filter — "fire", "police", "ems", or "hospital". Comma-separate for several; omit to return all types. radius_miles: Search radius in miles (0.1–50, default 10) limit: Maximum facilities to return (1–25, default 5)

ParameterTypeDescription
address *string
limitinteger
radius_milesnumber
typestring

find_stations_near_coordinates

Find the public safety facilities nearest to a latitude/longitude, sorted by distance. Use this when you already have coordinates; it skips geocoding and is faster than find_stations_near_address. Args: lat: Latitude (WGS84) lng: Longitude (WGS84) type: Optional filter — "fire", "police", "ems", or "hospital" radius_miles: Search radius in miles (0.1–50, default 10) limit: Maximum facilities to return (1–25, default 5)

ParameterTypeDescription
lat *number
lng *number
limitinteger
radius_milesnumber
typestring

get_station

Get the full record for one facility by its ID, including address, phone, coordinates, and (for hospitals) beds, trauma level, and ownership. Args: station_id: Facility ID, e.g. "fire_CA_12345"

ParameterTypeDescription
station_id *string

list_stations

List or search public safety facilities by type, state, name, or ZIP. Use this for questions like "how many fire stations are in Kansas" or to find a facility by name. For "what's nearest to X", use find_stations_near_address instead. Args: type: "fire", "police", "ems", or "hospital" (comma-separate for several) state: Two-letter state code, e.g. "CA" name: Full-text search on the facility name zip: 5-digit ZIP code limit: Results per page (1–100, default 25) offset: Pagination offset (default 0)

ParameterTypeDescription
limitinteger
namestring
offsetinteger
statestring
typestring
zipstring

get_jurisdiction

Determine which Census-defined place (city/town) contains a location, and which agencies most likely respond there. Returns the place name, state, Census GEOID, boundary type, and a `likelyAgencies` list of nearby police, fire, EMS, and hospital facilities. Useful for routing, coverage reporting, or working out which local government and responders serve an address. Provide either an address, or a lat/lng pair. Args: address: Full US street address (geocoded automatically) lat: Latitude (WGS84) — use with lng instead of address lng:…

ParameterTypeDescription
addressstring
lat
lng

get_state_summary

Get facility counts by type (fire, police, EMS, hospital) for one state. Args: state_code: Two-letter state abbreviation, e.g. "CA"

ParameterTypeDescription
state_code *string