Find NYC public restrooms and their latest Parks inspection status, from NYC Open Data
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add nyc-restroom --env SOCRATA_APP_TOKEN='<SOCRATA_APP_TOKEN>' -- npx -y nyc-restroom-mcp~/.codex/config.toml
[mcp_servers.nyc-restroom]
command = "npx"
args = ["-y", "nyc-restroom-mcp"]
env = { SOCRATA_APP_TOKEN = "<SOCRATA_APP_TOKEN>" }
# codex mcp add nyc-restroom --env SOCRATA_APP_TOKEN='<SOCRATA_APP_TOKEN>' -- npx -y nyc-restroom-mcp~/.cursor/mcp.json
{
"mcpServers": {
"nyc-restroom": {
"command": "npx",
"args": [
"-y",
"nyc-restroom-mcp"
],
"env": {
"SOCRATA_APP_TOKEN": "<SOCRATA_APP_TOKEN>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"nyc-restroom": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"nyc-restroom-mcp"
],
"env": {
"SOCRATA_APP_TOKEN": "<SOCRATA_APP_TOKEN>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"nyc-restroom": {
"command": "npx",
"args": [
"-y",
"nyc-restroom-mcp"
],
"env": {
"SOCRATA_APP_TOKEN": "<SOCRATA_APP_TOKEN>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"nyc-restroom": {
"command": "npx",
"args": [
"-y",
"nyc-restroom-mcp"
],
"env": {
"SOCRATA_APP_TOKEN": "<SOCRATA_APP_TOKEN>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"nyc-restroom": {
"command": "npx",
"args": [
"-y",
"nyc-restroom-mcp"
],
"env": {
"SOCRATA_APP_TOKEN": "<SOCRATA_APP_TOKEN>"
}
}
}
}Environment variables
SOCRATA_APP_TOKEN
Replace the placeholders with your own credentials and keep them out of version control.