Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.Prototype · updated every 30 min
PopNx MCPMCP servers for people who use AI · explained in plain words

NYC 311

by BetaNYCversion 1.3.0i★ 2iRuns on your computerOfficial site ↗
Registry nameio.github.BetaNYC/nyc-311-mcp

How to install

What it does

NYC 311: how to report a problem, district numbers from BoardStat, the 311 calendar and alerts

  • Connects Runs on your computer
  • Account or key Needs NYC_311_API_KEY
  • Category Docs, sheets & office work

Use together with

Skills that teach the AI this kind of work; they work alongside this one

MinerU

Transforms complex documents like PDFs and Office docs into LLM-ready markdown/JSON for your Agentic workflows.

by opendatalab★ 83,9721 skills

Skill · How-to guideNo license stated

watermarks-remover

A privacy-first app that strips AI watermarks from content you own.

by guillaumemeyer★ 27,7961 skills

Skill · How-to guide

obsidian-skills

Agent skills for Obsidian. Teach your agent to use Obsidian CLI and open formats including Markdown, Bases, JSON Canvas.

by kepano★ 53,183 (whole repo)5 skills

Skill · How-to guide

Why it ranks here

Lists are ordered by a usage score (out of 100) built from these parts

Popularity6/80GitHub stars or weekly downloads: the larger counts 60, the smaller 20
Freshness12/12Full marks for a release or code change within 30 days
Still answering0/8The cloud endpoint answered at the last check
Usage score18/100

Quality: Passed 3/3 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)

Install

Pick the AI app you use, then copy the settings.

Let your AI install it with one sentence

Please install NYC 311. Follow https://mcp.popnx.com/i/betanyc-nyc-311-mcp.md, show me the commands and wait for my OK before running them.

Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads

Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 14, 2026

First: which AI do you use?

Pick your app and the steps appear below.

Works with Claude, with some setup first

You need a NYC 311 key (create it on the maker’s site) · Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone

Let AI install it

Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server NYC 311 for Claude on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "nyc-311": { "command": "npx", "args": [ "-y", "@betanyc/nyc-311-mcp" ], "env": { "NYC_311_API_KEY": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For NYC_311_API_KEY, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the NYC 311 tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a NYC 311 key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    Open the NYC 311 site ↗

  3. Open the Claude desktop app’s settings file

    SettingsDeveloperEdit Config

  4. Paste these settings and save the file

    {
      "mcpServers": {
        "nyc-311": {
          "command": "npx",
          "args": [
            "-y",
            "@betanyc/nyc-311-mcp"
          ],
          "env": {
            "NYC_311_API_KEY": "your-value"
          }
        }
      }
    }

    Paste the key only into the app’s field, never into a chat or to anyone

  5. Quit Claude and open it again

  6. Try it

    Use NYC 311 and tell me what you can do for me, then show me one thing

    ✓ If Claude says it is using NYC 311 or shows a NYC 311 tool in the answer, you are connected

2 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • SOCRATA_APP_TOKEN Optional NYC Open Data app token, used by the call center report
  • NYC_311_MCP_CACHE_DIR Folder for the data cache (about 85 MB of public City data). Defaults to the system cache folder

Descriptions are as written by the maker.

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

ChatGPT cannot connect NYC 311 yet

NYC 311 runs on your computer, but ChatGPT can only connect servers that run on the web

What you can do instead

A · Use an app that can connect NYC 311

  • You need a NYC 311 key (create it on the maker’s site) · Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
  • You need a NYC 311 key (create it on the maker’s site) · Install Node.js on your computer first (one time)
  • You need a NYC 311 key (create it on the maker’s site) · Install Node.js on your computer first (one time)
  • You need a NYC 311 key (create it on the maker’s site) · Install Node.js on your computer first (one time)

B · Others in Docs, sheets & office work that work with ChatGPT

Picked from the most used in the same category, only ones that connect by address with no key

Works with Claude Code, with some setup first

You need a NYC 311 key (create it on the maker’s site) · Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server NYC 311 for Claude Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user nyc-311 --env NYC_311_API_KEY=your-value -- npx -y @betanyc/nyc-311-mcp 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For NYC_311_API_KEY, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the NYC 311 tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a NYC 311 key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    Open the NYC 311 site ↗

  3. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: open PowerShell

  4. Paste this command and press Enter

    claude mcp add --scope user nyc-311 --env NYC_311_API_KEY=your-value -- npx -y @betanyc/nyc-311-mcp

    Replace “your-value” with your key before pressing Enter

    Paste the key only into the app’s field, never into a chat or to anyone

  5. Type /mcp in Claude Code

    You should see NYC 311 listed as connected

  6. Try it

    Use NYC 311 and tell me what you can do for me, then show me one thing

    ✓ If Claude Code says it is using NYC 311 or shows a NYC 311 tool in the answer, you are connected

2 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • SOCRATA_APP_TOKEN Optional NYC Open Data app token, used by the call center report
  • NYC_311_MCP_CACHE_DIR Folder for the data cache (about 85 MB of public City data). Defaults to the system cache folder

Descriptions are as written by the maker.

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Cursor, with some setup first

You need a NYC 311 key (create it on the maker’s site) · Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server NYC 311 for Cursor on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "nyc-311": { "command": "npx", "args": [ "-y", "@betanyc/nyc-311-mcp" ], "env": { "NYC_311_API_KEY": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For NYC_311_API_KEY, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the NYC 311 tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a NYC 311 key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    Open the NYC 311 site ↗

  3. Click this button to open Cursor

    Open in Cursor

    Cursor asks you to confirm; click Install

  4. Fill in your key

    In the NYC 311 settings, NYC_311_API_KEY is empty; add your key and save

    Paste the key only into the app’s field, never into a chat or to anyone

  5. Open the AI chat in Cursor in Agent mode

  6. Try it

    Use NYC 311 and tell me what you can do for me, then show me one thing

    ✓ If Cursor says it is using NYC 311 or shows a NYC 311 tool in the answer, you are connected

2 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • SOCRATA_APP_TOKEN Optional NYC Open Data app token, used by the call center report
  • NYC_311_MCP_CACHE_DIR Folder for the data cache (about 85 MB of public City data). Defaults to the system cache folder

Descriptions are as written by the maker.

Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with VS Code, with some setup first

You need a NYC 311 key (create it on the maker’s site) · Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server NYC 311 for VS Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "nyc-311": { "type": "stdio", "command": "npx", "args": [ "-y", "@betanyc/nyc-311-mcp" ], "env": { "NYC_311_API_KEY": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For NYC_311_API_KEY, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the NYC 311 tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a NYC 311 key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    Open the NYC 311 site ↗

  3. Click this button to open VS Code

    Open in VS Code

    VS Code asks you to confirm; click Install

  4. Fill in your key

    In the NYC 311 settings, NYC_311_API_KEY is empty; add your key and save

    Paste the key only into the app’s field, never into a chat or to anyone

  5. Open the AI chat in VS Code in Agent mode

  6. Try it

    Use NYC 311 and tell me what you can do for me, then show me one thing

    ✓ If VS Code says it is using NYC 311 or shows a NYC 311 tool in the answer, you are connected

2 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • SOCRATA_APP_TOKEN Optional NYC Open Data app token, used by the call center report
  • NYC_311_MCP_CACHE_DIR Folder for the data cache (about 85 MB of public City data). Defaults to the system cache folder

Descriptions are as written by the maker.

Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

JSON settings are under “For developers” below

Stuck? Ask people who use NYC 311💬 Discussion →
For developers: Terminal commands and JSON settings

Installed on your computer

Claude Code

claude mcp add --scope user nyc-311 --env NYC_311_API_KEY=your-value -- npx -y @betanyc/nyc-311-mcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "nyc-311": {
      "command": "npx",
      "args": [
        "-y",
        "@betanyc/nyc-311-mcp"
      ],
      "env": {
        "NYC_311_API_KEY": "your-value"
      }
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "nyc-311": {
      "command": "npx",
      "args": [
        "-y",
        "@betanyc/nyc-311-mcp"
      ],
      "env": {
        "NYC_311_API_KEY": "your-value"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "nyc-311": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@betanyc/nyc-311-mcp"
      ],
      "env": {
        "NYC_311_API_KEY": "your-value"
      }
    }
  }
}

Values you fill in

  • NYC_311_API_KEY secret required env
    Free NYC 311 Public API key for the calendar, status, request lookup and reporting tools. The district tools work without it
  • SOCRATA_APP_TOKEN secret env
    Optional NYC Open Data app token, used by the call center report
  • NYC_311_MCP_CACHE_DIR env
    Folder for the data cache (about 85 MB of public City data). Defaults to the system cache folder

Descriptions are as written by the maker.

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

At a glance

Downloads per weeki
17/wk
Connection
Runs on your computer
Latest versioni
1.3.0
Published to registryi
Nov 14, 2026
Code last changedi
Nov 19, 2026
Maker
BetaNYC
Packages
npm: @betanyc/nyc-311-mcp
Registry status
Active

Which apps can use it

Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.

Run on your computer in

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

All apps, with pros and cons →

Related guides

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 19, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account BetaNYC, which owns the repo

  • ✓ Pass

    Still maintained

    Code last changed today

  • ✓ Pass

    Has a licence

    Uses MIT

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Published vulnerabilities (OSV.dev)

No entries on OSV.dev for @betanyc/nyc-311-mcp@1.3.0

Checks only this package version, not every dependency · checked Nov 15, 2026

What we check → · JSON

Makers: ask for a re-check or report wrong info
For makers: add a badge to your README

If you made this, paste this code into your README. The badge links back to this page.

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/betanyc-nyc-311-mcp.svg)](https://mcp.popnx.com/en/servers/betanyc-nyc-311-mcp)

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in to post

User reviews

No reviews yet

Sign in to write a review

Compared with others in Docs, sheets & office worki

  • More stars than 86% of the other 4140 servers in this category
  • Published to the registry more recently than 85% of the other 4140 servers in this category
  • Basic checks equal to or better than 99% of the other 4140 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is NYC 311 safe?

It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

You need to fill in: NYC_311_API_KEY

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed today, and the latest version (1.3.0) reached the registry 5 days ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.

What can I use instead?

In the same category: Puter MCP, XcodeBuildMCP, Vexa, Atlassian Rovo MCP Server, Anki MCP Server

Similar alternatives

Same category, other makers, commands already checked. Official ones first, then by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

Puter MCP

Puter MCP enables AI tools to interact with Puter: manage files, websites, workers, and more

by HeyPuterWidely used★ 44.2KUpdated 5 months ago

Runs in the cloud✓ service owner · puter.com

XcodeBuildMCP

XcodeBuildMCP provides tools for Xcode project management, simulator management, and app utilities.

by getsentryWidely used↓ 130.5K/wk shared package★ 6.6KUpdated 4 months ago

Runs on your computer✓ service owner · xcodebuildmcp.com

Vexa

Meeting bot and transcripts for Google Meet, Teams and Zoom. Live or after, speakers labelled.

by Vexa-aiWidely used★ 3KUpdated 2 months ago

Runs in the cloud✓ service owner · vexa.ai

Atlassian Rovo MCP Server

Atlassian’s official server lets AI search and manage Jira work and Confluence pages. Connects to Atlassian’s cloud with OAuth sign-in.

by atlassianGrowing★ 1.2KUpdated 2 months ago

Runs in the cloud✓ service owner · atlassian.com

Anki MCP Server

MCP server for Anki flashcards: adaptive review, notes, media, and deck management via AnkiConnect.

by ankimcpGrowing↓ 1.1K/wk★ 568Updated last month

Runs on your computer✓ service owner · ankimcp.ai
Compared with similar ones
This one
NYC 311
Puter MCPXcodeBuildMCPVexaAtlassian Rovo MCP ServerAnki MCP Server
Runs whereInstalls on your computerRuns in the cloud, nothing to installInstalls on your computerRuns in the cloud, nothing to installRuns in the cloud, nothing to installInstalls on your computer
Needs a keyYesNoNoYesNoNo
Add with + in ClaudeNoNoNoNoYesNo
Basic checks3/34/43/32/44/43/3
LicenseMITAGPL-3.0MITApache-2.0Apache-2.0MIT
PriceNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registry

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

nyc-311-mcp

An MCP server that connects an AI assistant like Claude to New York City's 311 data. Ask it how to report a problem, what your community district reports most, how fast agencies close requests, or whether alternate side parking is on today. It answers from the City's own data and tells you where each answer came from.

Built by BetaNYC. Free and open source.

See every tool, with real questions and answers: [betanyc.github.io/nyc-311-mcp](https://betanyc.github.io/nyc-311-mcp/)

If this is an emergency, or if you think this is an emergency, call 911. Every answer

from every tool ends with this text: "For informational purposes only. BetaNYC builds these

answers from City data; they may contain errors. Check the City's 311 page before you

report. If this is an emergency, or if you think this is an emergency, call 911."

What's new in 1.3.0

Version 1.3.0 has 24 tools. Three are new: whats_changed tells you what changed in the server, about_betanyc says who built it and where to report a bug in this server or ask for a new feature, and about_data says where each answer's data comes from, whether it is official, how current it is, and where to check it. Every BetaNYC MCP server is getting these three tools; nyc-311-mcp is the first. The data sources are listed in DATA-SOURCES.json and published as a DCAT-US 3.0 catalog. Every change a reader would notice, including corrections, is listed in WHATS-CHANGED.md and on the website.

What was new in 1.2.0

Version 1.1.0 had 4 tools. Version 1.2.0 had 21.

  • Help reporting a problem. Describe it in your own words. It finds the City's 311 article for it, the agency, and every way to report it, and it can write a short report for you to paste in. It never files anything for you.
  • Your community district or Council district. Eleven tools that answer from BoardStat, which BetaNYC builds every night from NYC Open Data: top problems, trends, how fast agencies close requests, what's still open, and every request at an address. Each answer links to the matching BoardStat page.
  • The Local Law 47 reports. Rebuilds of the monthly 311 reports that Local Law 47 of 2005 (Gale A. Brewer) put in Charter § 1075. They are BetaNYC rebuilds, not the City's official reports.
  • Clearer answers from the original four. Request status comes back in words, and the status alerts say yes or no.
  • A closing note on every answer, the one quoted above.

It went through 19 beta builds before this release. The full history is in CHANGELOG.md.

Install

You need Node.js 18 or later.

Claude Desktop. In the Claude menu, choose Settings… › Developer › Edit Config, and add this inside mcpServers in claude_desktop_config.json:

{

"mcpServers": { "nyc-311": { "command": "npx", "args": ["-y", "@betanyc/nyc-311-mcp"], "env": { "NYC_311_API_KEY": "your_key_here" } } } }

Save, quit Claude Desktop completely, and open it again. No API key? Leave out the "env" line and the comma before it.

Claude Code. In a terminal:

claude mcp add --env NYC_311_API_KEY=your_key_here --transport stdio nyc-311 \

-- npx -y @betanyc/nyc-311-mcp

Add --scope user to use it in every project. Check it with claude mcp get nyc-311. No API key? Leave out --env NYC_311_API_KEY=your_key_here.

Any other MCP app. Run npx -y @betanyc/nyc-311-mcp, with NYC_311_API_KEY set if you have one.

To check it worked, ask your assistant "Which nyc-311 tools do you have?" You should see 24 (21 on version 1.2.0), including draft_311_report. The install guide has more detail.

Already on 1.1.0? npx keeps a copy of what it downloaded. If you still see 4 tools, quit your app, delete the _npx folder in npm's cache (~/.npm/_npx on a Mac or Linux, %LOCALAPPDATA%\npm-cache\_npx on Windows), and open the app again.

Its data cache is about 85 MB of public City data, in ~/Library/Caches/nyc-311-mcp on a Mac, %LOCALAPPDATA%\nyc-311-mcp\Cache on Windows, and ~/.cache/nyc-311-mcp on Linux. Set NYC_311_MCP_CACHE_DIR to put it somewhere else.

Get a free API key

Seven tools use the NYC 311 Public API and need a free key: the calendar, status, the two request lookups, and the three reporting-help tools. The district tools and the Local Law 47 reports work without one.

  1. Go to api-portal.nyc.gov and sign in or register.
  2. Subscribe to NYC 311 Public Developers. It's self-serve.
  3. Copy a key from your profile page. Each subscription has a primary and a secondary key. Either one works.

Keep the key to yourself. Never paste it into a GitHub issue.

The portal lists two other products. NYC 311 Public — High Demand gives a higher rate limit. NYC 311 Developer Partner is for creating service requests, which this server never does. You don't need either.

Every tool

You don't need to know the tool names. Ask in plain English and your assistant picks the tool. The website has the same list with a replay of a real answer for each.

Help reporting a problem

Tell it what's wrong in your own words. It finds the City's own 311 article for that problem, the agency that handles it, and every way to report it. It can also write a short report for you to paste in. It never files anything. You do that yourself.

  • `how_to_report` (New in 1.2.0; needs the free 311 API key). Describe the problem the way you'd tell a neighbor. It searches the City's 311 articles and gives back the best match: the article title and link on 311 Online, the agency, the 311 problem type, what the City says happens next, and every way to report it. Give it your district and it also tells you how often people there reported the same thing. If your description sounds dangerous, the first line tells you to call 911. It catches a lot, but it will miss some emergencies, so don't count on it for that.
  • Try asking:
  • “There's a pothole on my block that keeps getting bigger. How do I report it?”
  • “My upstairs neighbor plays loud music every night.”
  • “No heat in my apartment.”
  • “Overflowing trash can and a broken bench in the park.”
  • Inputs: description (required), borough, community_district, council_district, last_days, category_id, limit
  • `draft_311_report` (New in 1.2.0; needs the free 311 API key). Writes a short report you can paste into 311 Online: the problem, where, when, and what you saw. It doesn't fill in anything you didn't tell it. If something is missing, it marks the gap and asks you. It links the right 311 page, lists the City's Problem Detail options (from a 2024 City list, so they may be out of date), and says what happens after you report. It won't write a draft when it sees danger. It tells you to call 911 instead. It doesn't send anything or fill in any form.
  • Try asking:
  • “Help me write a 311 report about a pothole at 7th Avenue and 9th Street in Brooklyn. It's been there since last week.”
  • “Draft a 311 report about a broken streetlight on my corner.”
  • Inputs: description (required), location, borough, when, ongoing, details, include_contact
  • `list_311_categories` (New in 1.2.0; needs the free 311 API key). Browse 311's own topics, the same ones on 311 Online, when a match looks wrong or you just want to see what 311 covers. Pick a topic to list its articles, 20 at a time.
  • Try asking:
  • “What kinds of things can I report to 311?”
  • “Show me 311's noise articles.”
  • Inputs: category_id, offset
Your community district or Council district

These read the files BoardStat builds every night from NYC Open Data, with 311 requests from 2020 on. Every answer links to the BoardStat page with the same district, dates and problems, so you can check the numbers yourself. No API key needed.

  • `find_district` (New in 1.2.0; no key needed). Type an address the way you normally would. It tells you the community district and the Council district, and how many 311 requests have been made there since 2020.
  • Try asking:
  • “What community board and Council district is 250 Broadway in?”
  • Inputs: address (required), borough
  • `district_summary` (New in 1.2.0; no key needed). The big picture for one district: how many requests, how many aren't closed, how long they take to close, and the top problems. For each top problem, it compares the district's share with the borough's and the city's.
  • Try asking:
  • “Give me a summary of 311 in Brooklyn Community Board 6.”
  • “What does 311 look like in Council District 7 this fiscal year?”
  • Inputs: community_district, council_district, from_date, to_date, fiscal_year, last_days, limit
  • `top_problems` (New in 1.2.0; no key needed). The most-reported problems in a district for any period, next to the same days a year earlier.
  • Try asking:
  • “What were the top 311 complaints in Brooklyn 6 in the last 30 days?”
  • “Top problems in Council District 39 last fiscal year?”
  • Inputs: community_district, council_district, from_date, to_date, fiscal_year, last_days, agency, status, limit
  • `problem_trend` (New in 1.2.0; no key needed). One problem, month by month, in one district, with the same days a year earlier next to each month.
  • Try asking:
  • “How has residential noise in Brooklyn 6 changed month to month this year?”
  • Inputs: community_district, council_district, from_date, to_date, fiscal_year, last_days, problem (required), descriptions, exclude_descriptions, agency, status
  • `agency_response` (New in 1.2.0; no key needed). For each agency: how many requests, how many are closed, and the median and average days to close. Remember that closed doesn't mean fixed.
  • Try asking:
  • “How fast do agencies close requests in Council District 39?”
  • “Which agency is slowest in Bronx 1 this fiscal year?”
  • Inputs: community_district, council_district, from_date, to_date, fiscal_year, last_days, problems, descriptions, exclude_descriptions, limit
  • `still_open` (New in 1.2.0; no key needed). Requests that aren't closed yet, oldest first, with how many days each has been open and a count by agency. The City doesn't define its statuses, so we explain each one and label the explanation as ours.
  • Try asking:
  • “What 311 requests in Brooklyn 6 are still open?”
  • “Which agency has the most open requests in Queens 1?”
  • Inputs: community_district, council_district, from_date, to_date, fiscal_year, last_days, problems, descriptions, exclude_descriptions, agency, limit
  • `top_addresses` (New in 1.2.0; no key needed). The addresses with the most requests in a district, with each one's most common problem. You can narrow it to one problem.
  • Try asking:
  • “Which addresses in Brooklyn 6 get the most 311 requests?”
  • “Where are the most heat complaints in Bronx 5?”
  • Inputs: community_district, council_district, from_date, to_date, fiscal_year, last_days, problems, descriptions, exclude_descriptions, agency, status, limit
  • `address_history` (New in 1.2.0; no key needed). Every request at one address since 2020, newest first, with the status explained and the agency's own resolution text. It's the closest thing to looking up a request when you don't have its number.
  • Try asking:
  • “What's been re

Only the beginning is shown; read the rest in the repo