
Search and read the NYC Charter, Administrative Code and Rules of the City of New York
Public tool metadata for what this MCP can expose to an agent.
searchKeyword search across the NYC Charter, Administrative Code, and Rules.Keyword search across the NYC Charter, Administrative Code, and Rules.
No parameter schema in public metadata yet.
get_sectionRetrieve a specific section by citation or heading fragment.Retrieve a specific section by citation or heading fragment.
No parameter schema in public metadata yet.
list_titlesList the top-level chapters or titles of a document.List the top-level chapters or titles of a document.
No parameter schema in public metadata yet.
get_titleRetrieve chapter/title records matching an identifier.Retrieve chapter/title records matching an identifier.
No parameter schema in public metadata yet.
get_versionReturn the currency date for each document.Return the currency date for each document.
No parameter schema in public metadata yet.
Sponsors
NYC_LAWS_INDEX_DIROptional. Serve the index in this directory (laid out like data/index/json/) instead of the bundled one
NYC_CLR_FOOTERdefault: full-then-compactOptional. How much legal disclaimer each response carries: full-then-compact (default) or full
The single place to access, process, and query New York City's three primary legal documents:
This repo includes:
data/index/json/) for machine usedata/index/markdown/) for human browsing — readable directly on GitHubClone the repo and everything is ready to use. No setup required to browse or query the current index. Run npm run fetch-data && npm run build-index only when you want to refresh from AML.
Vibe coded with Claude by BetaNYC.
What's changed: new tools, corrections and other changes a reader would notice, newest first. Daily law text updates are in CHANGELOG.md.
@betanyc/nyc-charter-laws-rules