Skip to main content
MCP server CX Codex

NYC Council — Claude Code MCP server: what it does, how to install

NYC Council — an MCP server for Claude Code querying New York City Council legislative records. Pulls bills, hearings, roll-call votes, and committee rosters from a local index or the live Legistar API.

MIT ★ 7 updated 2026-11-16

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add --env LEGISTAR_TOKEN=<LEGISTAR_TOKEN> --env LEGISTAR_DB_PATH=<LEGISTAR_DB_PATH> --transport stdio nyc-council -- npx -y @betanyc/nyc-council-mcp
Open on GitHub

What NYC Council does

The server connects an assistant to New York City Council records using two modes. A local SQLite index parsed from the jehiah/nyc_legislation repository allows sub-second full-text searches across thousands of bills, resolutions, and roll-call votes. Real-time inquiries hit the official Legistar API directly.

When configured with both data sources, the server exposes 28 tools. They inspect district representatives from 1999 onward, committee assignments, document attachments, and voting history down to individual council members.

Running the server requires Node.js 18 or later. Real-time endpoints demand a free LEGISTAR_TOKEN, while offline searches rely on indexing a cloned 920 MB git archive into legistar.db.

What it helps with

  • search NYC Council bills and resolutions by full text or law number
  • inspect roll-call voting records with dates and member names
  • look up council district representatives and committee chairs
  • fetch direct download links for legislative attachments

Example prompts for the agent

  • Find NYC Council introductions regarding commercial zoning changes
  • Who held Council District 3 on March 15, 2021?
  • Show the voting breakdown and committee status for matter Int 0450-2024

How to install NYC Council

Platform CLI

claude mcp add --env LEGISTAR_TOKEN=<LEGISTAR_TOKEN> --env LEGISTAR_DB_PATH=<LEGISTAR_DB_PATH> --transport stdio nyc-council -- npx -y @betanyc/nyc-council-mcp

Replace <…> with your own values

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about NYC Council

How to install NYC Council in Claude Code?

Run `claude mcp add --env LEGISTAR_TOKEN=<LEGISTAR_TOKEN> --env LEGISTAR_DB_PATH=<LEGISTAR_DB_PATH> --transport stdio nyc-council -- npx -y @betanyc/nyc-council-mcp`.

What does NYC Council do?

It gives AI assistants direct access to New York City Council legislative matters, meeting dates, voting histories, and member profiles.

What is required to run NYC Council?

Node.js 18+, a free Legistar API key for live queries, and an indexed SQLite database generated from the jehiah/nyc_legislation git repository for local full-text search.

Similar MCP servers

All MCP servers for Data and databases →

Project sponsors

Companies that keep this analytics open