nyc-restroom-mcp

v0.1.1
io.github.DanielOrtiz0220/nyc-restroom-mcp Checked 3 days ago Published 4 months ago

Find NYC public restrooms and their latest Parks inspection status, from NYC Open Data

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

find_restrooms Find nearby NYC public restrooms

Finds operational NYC public restrooms near a given point, sorted by distance ascending. latitude/longitude may both be omitted to search from your current location, detected automatically (precise on-device location if available, otherwise an approximate IP-based guess) - only used when that location is within New York City, otherwise this tool returns an error asking for explicit coordinates instead. Radius defaults to 800m and is clamped to a 5000m maximum. Set open_now to filter to restrooms currently open (restrooms with unparseable hours are kept, marked "unknown", rather than guessed at…

ParameterTypeDescription
latitudenumberLatitude of the search center. Omit both latitude and longitude to search from your current location, detected automatically.
limitintegerMaximum number of restrooms to return, sorted by distance ascending.
longitudenumberLongitude of the search center. Omit both latitude and longitude to search from your current location, detected automatically.
open_nowbooleanWhen true, drop restrooms that are confidently closed right now. Restrooms with unparseable hours are kept and marked "unknown" rather than guessed at.
radius_metersnumberSearch radius in meters. Defaults to 800; values above 5000 are clamped to 5000.

get_restroom_status Get a specific NYC restroom and its latest inspection status

Looks up one NYC public restroom by name or by nearest coordinates, and - where NYC Parks inspection data is available for it - reports its most recent condition ratings. Only restrooms operated by NYC Parks are covered by inspection data; other operators (libraries, automated public toilets, private operators) will report status "no_inspection_data".

ParameterTypeDescription
latitudenumberLatitude to find the nearest restroom to. Requires longitude as well.
longitudenumberLongitude to find the nearest restroom to. Requires latitude as well.
restroom_namestringRestroom facility name to look up (case-insensitive substring match). Provide either this or a latitude/longitude pair, not both.