SafeStreets

v1.0.0
io.github.Poseidon-t/safestreets Checked 3 days ago Published 1 month ago

Walkability and pedestrian safety for any US address: scores, neighborhoods, deadly roads.

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

get_walkability_score

Score a US location on how good and how safe it is to walk, from a street address or from latitude/longitude. Call this when someone asks whether a place is walkable, how safe it is to walk, whether they could live somewhere without a car, how a neighborhood compares to another on foot, or when evaluating a specific address or property for walkability or pedestrian risk. The server geocodes an address itself. Coordinates estimated from memory can land on a different place, which then gets a confident score of its own. When an address is given, the reply carries resolvedFrom with the address…

ParameterTypeDescription
addressstringA US street address, intersection or place name, e.g. "1200 W Foster Ave, Chicago". Give this or lat/lon. The server geocodes it, so it is the reliable input when exact coordinates are not known.
latnumberLatitude in decimal degrees, WGS84. US locations only. Required unless address is given.
lonnumberLongitude in decimal degrees, WGS84. Negative for the US. Required unless address is given.

compare_locations

Score 2 to 10 US locations and say how they differ. Use this for "which of these is the most walkable", choosing between addresses, or any question that puts places side by side. Give addresses or coordinates, and a label for each if you want the results matched back to your own names. Returns every location ranked, the best and worst, the spread between them, and the gap on each component. The per-component gap is usually the answer: two places can reach the same composite for opposite reasons, one with errands close by and dangerous streets, the other the reverse. A location that cannot b…

ParameterTypeDescription
locations *arrayThe places to compare.

score_many

Score up to 10 US locations in one request. Use this for a list: properties, branches, listings, sites. Each location counts as one call against your allowance, so a list of ten costs ten. A location that cannot be resolved is reported in errors rather than failing the request.

ParameterTypeDescription
locations *arrayThe places to score.

get_city_walkability

Walkability score for a whole US city, precomputed. Instant, no analysis. Use this for "how walkable is Houston" rather than scoring a point inside it. Returns the 0-100 composite, the same score as 0-10, the tier, and the four components. Covers 203 cities; a city not in the set returns null, which means not covered rather than not walkable.

ParameterTypeDescription
city *stringCity name or slug, e.g. "Houston", "fort worth", "chicago".

find_walkable_neighborhoods

Neighborhoods inside a US city, ranked most walkable first, precomputed. Use this for "which part of Chicago should I live in without a car". Returns up to 25 neighborhoods, each with its 0-10 score, tier and components. Covers 749 neighborhoods across the cities analysed so far, so an empty list means that city has not been broken down yet, not that it has no walkable areas.

ParameterTypeDescription
city *stringCity name or slug, e.g. "Chicago".
limitintegerHow many to return, default 25.

search_neighborhoods

Ranked neighborhood search across every US neighborhood (202,000+), for "where should I move" questions. Use this when someone is relocating and has not picked a town yet: filter to a county set, a metro, a state, a home-price ceiling or a walkability floor, then rank by walkability, transit, zero-car share, demand or home value. Each row carries median home value, median income, price-to-income ratio, commute mode shares, zero-car household share, and where available year-over-year home value growth and property tax rate — so walkability can be read alongside what living there costs. Coun…

ParameterTypeDescription
budget_maxnumberMaximum median home value in USD; neighborhoods above it are dropped.
countystringComma-separated 5-digit state+county FIPS codes, e.g. "42029,42045,42091,10003". The precise way to scope a county set.
limitintegerRows to return, default 25, max 100.
metrostringMetro name substring, e.g. "Philadelphia". Give any of county, metro or state.
offsetintegerPagination offset.
sort_bystringRanking field, default "demand".
sort_dirstringDefault "desc".
statestringTwo-letter state code, e.g. "PA".
transit_minnumberMinimum transit percentile (0-100).
walk_minnumberMinimum EPA walkability index (1-20 scale).

get_dangerous_corridors

Road corridors where pedestrians were actually killed, from federal crash records. Source: NHTSA FARS 2022-2024 (PER_TYP=5, INJ_SEV in 4,6). Each corridor carries the road name, the city, the total pedestrian deaths and a per-year breakdown, so a claim can be checked rather than taken on trust. Give either a city, or a lat/lon with an optional radius. Use this when someone asks which roads are dangerous, where crashes happen, or wants evidence for a specific street. These are recorded deaths, not a model or a prediction: a road absent from the list had no recorded pedestrian fatality in the…

ParameterTypeDescription
citystringCity name or slug. Give this or lat/lon.
latnumberLatitude, to search around a point.
limitintegerHow many to return, default 25.
lonnumberLongitude, to search around a point.
radiusKmnumberSearch radius in km around lat/lon, default 10.

search_insights

Search SafeStreets' published research on walkability, street design and pedestrian safety. Returns the article title, summary, URL and its published questions and answers, so a finding can be quoted and linked rather than paraphrased from memory. 32 articles, each built on named public sources. Use this when someone asks what the evidence says, wants a figure they can cite, or asks a general question about walkability that is not about one specific location.

ParameterTypeDescription
query *stringWhat to look for, e.g. "car free cities", "arterial roads", "kids walking to school".
limitintegerHow many articles, default 5.