Server data from the Official MCP Registry
Find NYC public restrooms and their latest Parks inspection status, from NYC Open Data
Find NYC public restrooms and their latest Parks inspection status, from NYC Open Data
Valid MCP server (2 strong, 0 medium validity signals). No known CVEs in dependencies. Package registry verified. Imported from the Official MCP Registry.
5 files analyzed · 1 issue found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
This plugin requests these system permissions. Most are normal for its category.
Set these up before or after installing:
Environment variable: SOCRATA_APP_TOKEN
Environment variable: CORELOCATION_CMD
Add this to your MCP configuration file:
{
"mcpServers": {
"io-github-danielortiz0220-nyc-restroom-mcp": {
"env": {
"CORELOCATION_CMD": "your-corelocation-cmd-here",
"SOCRATA_APP_TOKEN": "your-socrata-app-token-here"
},
"args": [
"-y",
"nyc-restroom-mcp"
],
"command": "npx"
}
}
}From the project's GitHub README.
Ask Claude "where's the nearest public bathroom?" and get a real answer.
This is an MCP server, a small plugin that gives an AI assistant (like Claude Desktop or Claude Code) new abilities. This one lets it search New York City's official public restroom data, live from NYC Open Data. Once installed, you can ask things like:
It adds two tools:
| Tool | What it does |
|---|---|
find_restrooms | Lists open public restrooms near a location, closest first, with hours, accessibility, and changing-station info. |
get_restroom_status | Looks up one restroom by name or coordinates, including its most recent NYC Parks inspection rating, where one exists. |
If you don't give it a location, it can detect yours automatically (details below). Everything is read-only: it only ever fetches public city data.
You need Node.js 20 or newer. No download or setup beyond the snippet for your app.
Claude Code (one command):
claude mcp add nyc-restroom -- npx -y nyc-restroom-mcp
Claude Desktop: go to Settings -> Developer -> Edit Config and add this to
claude_desktop_config.json:
{
"mcpServers": {
"nyc-restroom": {
"command": "npx",
"args": ["-y", "nyc-restroom-mcp"]
}
}
}
Any other MCP client works the same way: have it launch
npx -y nyc-restroom-mcp as a local (stdio) server.
brew install corelocationcli and grant it Location
Services access), otherwise a rough guess from your IP address. If neither
works, or you're outside NYC, it simply asks for explicit coordinates
instead of guessing wrong.Set these as environment variables if you need them (most people don't):
| Variable | Purpose |
|---|---|
SOCRATA_APP_TOKEN | A free NYC Open Data app token, for higher rate limits. |
LOG_LEVEL | error, warn, or info (default info). Logs go to stderr only. |
A few more exist for testing and advanced setups; see docs/configuration.md.
Issues and pull requests are welcome at DanielOrtiz0220/nyc-restroom-mcp.
Development uses Bun (1.1+):
git clone https://github.com/DanielOrtiz0220/nyc-restroom-mcp.git
cd nyc-restroom-mcp
bun install
bun test # full unit + end-to-end suite, runs completely offline
bun run typecheck # tsc --noEmit
bun run lint # eslint, zero warnings allowed
bun run build # compile src/ to dist/ (what the npm package ships)
To run your local copy inside an MCP client instead of the published package:
claude mcp add nyc-restroom -- bun "$(pwd)/src/index.ts"
Useful extras: bun run test:live runs one smoke test against the real NYC
Open Data API (needs network), and bun test --coverage reports coverage
(85%+ lines required on src/lib/). Before opening a PR, please make sure
bun test, bun run typecheck, and bun run lint all pass. The full
development guide (test architecture, project structure, invariants to
preserve) is in docs/development.md, and
DECISIONS.md explains why things work the way they do.
Be the first to review this server!
by Modelcontextprotocol · Developer Tools
Read, search, and manipulate Git repositories programmatically
by Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
by mcp-marketplace · Developer Tools
Create, build, and publish Python MCP servers to PyPI — conversationally.