Global law
The law of nearly every country on earth, any date: read it, see what changed it, check citations.
NYC Council legislation: bills, hearings, votes and members, from a local index or live Legistar
Lists are ordered by a usage score (out of 100) built from these parts
| Popularity | 11/80 | GitHub stars or weekly downloads: the larger counts 60, the smaller 20 |
|---|---|---|
| Freshness | 12/12 | Full marks for a release or code change within 30 days |
| Still answering | 0/8 | The cloud endpoint answered at the last check |
| Usage score | 23/100 |
Quality: Passed 3/3 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)
Pick the AI app you use, then copy the settings.
Let your AI install it with one sentence
Please install NYC Council. Follow https://mcp.popnx.com/i/betanyc-nyc-council-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 Council 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
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 Council 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-council": { "command": "npx", "args": [ "-y", "@betanyc/nyc-council-mcp", "serve" ], "env": { "LEGISTAR_TOKEN": "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 LEGISTAR_TOKEN, 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 Council 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.
Already installed? Check first · Open Terminal, type this command and press Enter
node -vMac: 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
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.
How to get a key is in the maker’s README below
SettingsDeveloperEdit Config
{
"mcpServers": {
"nyc-council": {
"command": "npx",
"args": [
"-y",
"@betanyc/nyc-council-mcp",
"serve"
],
"env": {
"LEGISTAR_TOKEN": "your-value"
}
}
}
}Paste the key only into the app’s field, never into a chat or to anyone
Use NYC Council and tell me what you can do for me, then show me one thing✓ If Claude says it is using NYC Council or shows a NYC Council tool in the answer, you are connected
The command above works without these. Add them only if you want to change something, following the maker’s description.
LEGISTAR_DB_PATH Path to a legistar.db built with the index subcommand, for the fast local toolsDescriptions 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 Council yet
NYC Council runs on your computer, but ChatGPT can only connect servers that run on the web
A · Use an app that can connect NYC Council
B · Others in Law & government data 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 Council key (create it on the maker’s site) · Install Node.js on your computer first (one time)
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 Council 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-council --env LEGISTAR_TOKEN=your-value -- npx -y @betanyc/nyc-council-mcp serve 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 LEGISTAR_TOKEN, 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 Council 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.
Already installed? Check first · Open Terminal, type this command and press Enter
node -vMac: 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
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.
How to get a key is in the maker’s README below
Mac: press Command+Space and type Terminal · Windows: open PowerShell
claude mcp add --scope user nyc-council --env LEGISTAR_TOKEN=your-value -- npx -y @betanyc/nyc-council-mcp serveReplace “your-value” with your key before pressing Enter
Paste the key only into the app’s field, never into a chat or to anyone
You should see NYC Council listed as connected
Use NYC Council and tell me what you can do for me, then show me one thing✓ If Claude Code says it is using NYC Council or shows a NYC Council tool in the answer, you are connected
The command above works without these. Add them only if you want to change something, following the maker’s description.
LEGISTAR_DB_PATH Path to a legistar.db built with the index subcommand, for the fast local toolsDescriptions 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 Council key (create it on the maker’s site) · Install Node.js on your computer first (one time)
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 Council 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-council": { "command": "npx", "args": [ "-y", "@betanyc/nyc-council-mcp", "serve" ], "env": { "LEGISTAR_TOKEN": "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 LEGISTAR_TOKEN, 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 Council 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.
Already installed? Check first · Open Terminal, type this command and press Enter
node -vMac: 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
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.
How to get a key is in the maker’s README below
In the NYC Council settings, LEGISTAR_TOKEN is empty; add your key and save
Paste the key only into the app’s field, never into a chat or to anyone
Use NYC Council and tell me what you can do for me, then show me one thing✓ If Cursor says it is using NYC Council or shows a NYC Council tool in the answer, you are connected
The command above works without these. Add them only if you want to change something, following the maker’s description.
LEGISTAR_DB_PATH Path to a legistar.db built with the index subcommand, for the fast local toolsDescriptions 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 Council key (create it on the maker’s site) · Install Node.js on your computer first (one time)
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 Council 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-council": { "type": "stdio", "command": "npx", "args": [ "-y", "@betanyc/nyc-council-mcp", "serve" ], "env": { "LEGISTAR_TOKEN": "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 LEGISTAR_TOKEN, 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 Council 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.
Already installed? Check first · Open Terminal, type this command and press Enter
node -vMac: 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
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.
How to get a key is in the maker’s README below
In the NYC Council settings, LEGISTAR_TOKEN is empty; add your key and save
Paste the key only into the app’s field, never into a chat or to anyone
Use NYC Council and tell me what you can do for me, then show me one thing✓ If VS Code says it is using NYC Council or shows a NYC Council tool in the answer, you are connected
The command above works without these. Add them only if you want to change something, following the maker’s description.
LEGISTAR_DB_PATH Path to a legistar.db built with the index subcommand, for the fast local toolsDescriptions 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
Claude Code
claude mcp add --scope user nyc-council --env LEGISTAR_TOKEN=your-value -- npx -y @betanyc/nyc-council-mcp serveClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"nyc-council": {
"command": "npx",
"args": [
"-y",
"@betanyc/nyc-council-mcp",
"serve"
],
"env": {
"LEGISTAR_TOKEN": "your-value"
}
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"nyc-council": {
"command": "npx",
"args": [
"-y",
"@betanyc/nyc-council-mcp",
"serve"
],
"env": {
"LEGISTAR_TOKEN": "your-value"
}
}
}
}VS Code (mcp.json)
{
"servers": {
"nyc-council": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@betanyc/nyc-council-mcp",
"serve"
],
"env": {
"LEGISTAR_TOKEN": "your-value"
}
}
}
}LEGISTAR_TOKEN secret required envLEGISTAR_DB_PATH envDescriptions are as written by the maker.
These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.
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
Runs on your computer; the tool list appears in your AI app after you install it.
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
The registry name was verified with the GitHub account BetaNYC, which owns the repo
Code last changed today
Uses MIT
This one runs on your computer; there is no internet endpoint
Runs on your computer and uses local settings instead
Runs on your computer; we can only read tool lists from internet endpoints
No entries on OSV.dev for @betanyc/nyc-council-mcp@2.9.0
Checks only this package version, not every dependency · checked Nov 15, 2026
If you made this, paste this code into your README. The badge links back to this page.
[](https://mcp.popnx.com/en/servers/betanyc-nyc-council-mcp)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.
No reviews yet
Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.
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.
You need to fill in: LEGISTAR_TOKEN
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).
The GitHub repo last changed today, and the latest version (2.9.0) reached the registry 5 days ago.
Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.
In the same category: Global law, Open Legal Data (Germany), LibreJustice, InfraNode, Fedlex Connector
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
The law of nearly every country on earth, any date: read it, see what changed it, check citations.
German court decisions (Rechtsprechung) and laws (Gesetze) with citation graph and citation checks.
Search French-language and European case law and French legal texts (codes, statutes, treaties).
Keyless open data for 84 German cities: 12 lean read-only MCP tools covering 67 data types.
Search Swiss federal legislation: laws, articles, amendments via the Fedlex SPARQL endpoint.
| This one NYC Council | Global law | Open Legal Data (Germany) | LibreJustice | InfraNode | Fedlex Connector | |
|---|---|---|---|---|---|---|
| Runs where | Installs on your computer | Runs in the cloud, nothing to install | Runs in the cloud, nothing to install | Runs in the cloud, nothing to install | Runs in the cloud, nothing to install | Runs in the cloud, nothing to install |
| Needs a key | Yes | No | No | No | No | No |
| Add with + in Claude | No | No | No | No | No | No |
| Basic checks | 3/3 | 4/4 | 4/4 | 4/4 | 4/4 | 4/4 |
| License | MIT | NOASSERTION | MIT | Apache-2.0 | Apache-2.0 | MIT |
| Price | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry |
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.
An MCP (Model Context Protocol) server for NYC Council legislative data. Version 2 adds a hybrid mode: a local SQLite index for sub-second search and exploration, plus the live NYC Legistar API for authoritative real-time data.
What's changed: WHATS-CHANGED.md lists every change a reader would notice, newest first, including every correction and what to re-check. Your AI assistant can read it too, with the whats_changed tool.
Ask an AI assistant about New York City Council legislation and get answers grounded in the Council's own records: bills, resolutions and land use items, their full text and summaries, sponsors, hearings, votes, committee memberships and attachments.
The local index holds every matter in the jehiah/nyc_legislation archive: on 2026-11-11 that was 21,803 matters (13,059 Introductions, 6,198 Resolutions, 2,545 Land Use items), 17,532 meetings, 517,562 individual recorded votes and 254 people. The live tools read the Council's Legistar API directly.
whats_changed answers from WHATS-CHANGED.md, the plain-language history of this server back to 1.0.0, including every correction and what to re-check. about_betanyc says who built the server, how to report a bug or ask for a feature, and which version of BetaNYC's shared code it runs.about_data answers now give BetaNYC's contact for questions and error reports about the data (lab@beta.nyc), say who fixes an error in the data, the publisher or BetaNYC, and list any source the server cannot show.district_member says who held Council District 1 to 51 on any date. It reads the City's list of every Council term since 1999 (NYC Open Data uvw5-9znb), which ships with the package. When the City's file is behind, the answer names the missing member. On 2026-11-12 that was Carl Wilson, District 3. See Known traps.get_member_roles and committee_roster say who chairs what and who sits where, today or on a past date, from Legistar's own membership records. Party is never inferred from a caucus.get_council_member and get_member_roles add a curated block with Wikidata and Wikipedia links, party as every ballot line the member won on (NYC has fusion voting), and office social accounts. Each fact carries its source and check date, and the block says it is not an official record. Rules: data/README.md.about_data works in every mode. It gives each source, its publisher, whether it is official or BetaNYC's curation, how current it is on this server, its terms, a credit line and where to report an error. The same facts are in DATA-SOURCES.json and a DCAT-US 3.0 catalog, data.json, with lab@beta.nyc as BetaNYC's contact. See Where the data comes from.get_matter finds one matter by file number or Local Law number, with its attachments. New live tool get_bill_attachments lists a matter's files with download links.legistar_url now opens Resolutions, Land Use, M and T items, not only Introductions. See legistar_url.upcoming_events checks each meeting's status live. Vote times are New York local time, and voting records are ordered by vote date and name the member who voted.index run after upgrading rebuilds the index in full, once (about 25 seconds on the 2026-11-11 archive).The full list is in CHANGELOG.md.
The recommended setup, for Claude Code:
Register at user scope so the server is available from any project:
claude mcp add nyc-council-mcp \
--scope user \ npx -- -y @betanyc/nyc-council-mcp serve
Then add your environment variables to ~/.claude.json under the mcpServers entry:
{
"mcpServers": { "nyc-council-mcp": { "command": "npx", "args": ["-y", "@betanyc/nyc-council-mcp", "serve"], "env": { "LEGISTAR_TOKEN": "your_token_here", "LEGISTAR_DB_PATH": "/Users/you/legistar/legistar.db" } } } }
Set only LEGISTAR_TOKEN for live-only mode, or only LEGISTAR_DB_PATH for local-only mode.
jehiah/nyc_legislation archive (~920 MB, one-time clone)Step 1 — Get a Legistar API key
Register at council.nyc.gov/legislation/api. You'll receive a token by email.
Step 2 — Clone the legislation archive
git clone --depth 1 https://github.com/jehiah/nyc_legislation.git ~/legistar/nyc_legislation
This is about 920 MB and takes a few minutes. It only needs to be done once.
Step 3 — Build the local index
npx @betanyc/nyc-council-mcp index \
--archive ~/legistar/nyc_legislation \ --db ~/legistar/legistar.db \ --verbose
This takes roughly 25 seconds and produces a legistar.db file of about 1 GB. On the 2026-11-11 archive it indexed 21,803 matters, 17,532 events and 517,562 roll-call vote rows. It also loads the Council terms list that ships with the package, with no network call.
Step 4 — Configure your MCP client
Add both environment variables to your MCP config. See Configuration below.
If you only want the live Legistar API tools and don't need local search, just set LEGISTAR_TOKEN and skip the archive clone.
If you only want fast local search (no real-time data), set LEGISTAR_DB_PATH and skip the API key. Note: get_upcoming_hearings, get_bill (current status), and similar live tools will be unavailable. about_data, district_member and the other local tools work without a token.
git clone https://github.com/BetaNYC/nyc-council-mcp.git
cd nyc-council-mcp npm install && npm run build LEGISTAR_TOKEN=your_token LEGISTAR_DB_PATH=./legistar.db node dist/index.js serve
The archive is updated most weekdays. Run these two commands to pull the latest data and update your index:
# Pull the latest archive files
cd ~/legistar/nyc_legislation && git pull
npx @betanyc/nyc-council-mcp index \ --archive ~/legistar/nyc_legislation \ --db ~/legistar/legistar.db
You never need to wait for a BetaNYC-hosted snapshot. Incremental mode (the default) is fast enough to run manually whenever you want fresh data.
Automated daily updates (cron):
# Add to your crontab: daily at 6am
0 6 * * * cd ~/legistar/nyc_legislation && git pull && npx @betanyc/nyc-council-mcp index --archive ~/legistar/nyc_legislation --db ~/legistar/legistar.db
Force a full rebuild:
npx @betanyc/nyc-council-mcp index \
--archive ~/legistar/nyc_legislation \ --db ~/legistar/legistar.db \ --full
Note: The local index is only as current as your last index run — run the daily cron above and it stays about a day behind live Legistar; leave it for a month and it is a month stale. The upstream archive itself updates most weekdays. For current status and upcoming hearings, use the live API tools (
get_bill,get_upcoming_hearings).
Every local answer ends with a source line: when the index was built and which
jehiah/nyc_legislationcommit it came from, e.g.Source: local index built 2026-11-12T11:30:07Z from jehiah/nyc_legislation@9e52935 (archive commit 2026-11-11T23:38:10Z).It is a second text item, after the JSON. With noLEGISTAR_TOKEN, the line also says the answer was not checked live, and that an empty answer means "not in this index", not "does not exist".
Why upcoming meeting status is checked live: Legistar can change a meeting's status without updating its last-modified time. Event 22725 went from Final to Deferred with its timestamp still 2026-09-10, so the archive never fetched it again. On 2026-11-12, 10 of 658 meetings in 2026 differed this way, all Final → Deferred.
A free API key is optional — it unlocks the live Legistar API tools, but the server also runs in local-only mode without one.
get_bill current status, get_upcoming_hearings, confirmation queries) require a free Legistar API key. Register at council.nyc.gov/legislation/api — you'll receive a token by email — and set it as the LEGISTAR_TOKEN environment variable.LEGISTAR_DB_PATH.You must set at least one of LEGISTAR_TOKEN or LEGISTAR_DB_PATH; set both for full hybrid mode. Example (live tools):
export LEGISTAR_TOKEN="your-legistar-token"
See Setup and Environment variables for full details.
| Variable | Required for | Notes |
|---|---|---|
LEGISTAR_TOKEN | Live API tools | Register at council.nyc.gov/legislation/api |
LEGISTAR_DB_PATH | Local SQLite tools | Path to your built legistar.db |
Do not commit tokens to version control.
Add to claude_desktop_config.json:
{
"mcpServers": { "nyc-council": { "command": "npx", "args": ["-y", "@betanyc/nyc-council-mcp", "serve"], "env": { "LEGISTAR_TOKEN": "your_token_here", "LEGISTAR_DB_PATH": "/Users/you/legistar/legistar.db" } } } }
These require LEGISTAR_DB_PATH and a built index (see Setup).
| Tool | Description |
|---|---|
search_legislation | Full-text search across all legislation: Introductions, Resolutions, Land Use and every other matter type. Searches titles, sponsors, summaries and the full text; a title hit ranks above a body hit. Rows carry version and local_law |
get_matter | One matter by file number (Int 1122-2024) or Local Law number (2025/153): summary, version, Local Law number, attachments with download links, legistar_url, and the full text on request (include_text) |
| get_member_roles | A member's committ