NYS Open Legislation MCP
An MCP server for the NYS Open Legislation API, maintained by the New York State Senate. Gives AI assistants direct access to the full NYS legislative record — bills, laws, members, committees, calendars, agendas, and transcripts — covering 150,000+ bills and resolutions dating back 2009. Built by BetaNYC as part of a suite of civic data MCP servers for New York.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Search and retrieve New York State bills and laws
- List and search Senate and Assembly members
- Get committee details and meeting history
- Access floor calendars, agendas, and transcripts
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
@betanyc/nys-openlegislation-mcp 2.5.1
{
"version": "2.5.1",
"transport": "stdio",
"identifier": "@betanyc/nys-openlegislation-mcp",
"registryType": "npm",
"environmentVariables": [
{
"name": "NYS_LEGISLATION_API_KEY",
"format": "string",
"description": "Free NYS Open Legislation API key, needed for live data. Optional only if a local corpus exists"
},
{
"name": "NYS_CORPUS_DB",
"format": "filepath",
"description": "Path to the optional local corpus database. Defaults to data/corpus.db in the package"
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"nys-open-legislation-mcp": {
"command": "npx",
"args": [
"-y",
"@betanyc/nys-openlegislation-mcp@2.5.1"
],
"env": {
"NYS_LEGISLATION_API_KEY": "<YOUR_NYS_LEGISLATION_API_KEY>",
"NYS_CORPUS_DB": "<YOUR_NYS_CORPUS_DB>"
}
}
}
}Cline
{
"mcpServers": {
"nys-open-legislation-mcp": {
"command": "npx",
"args": [
"-y",
"@betanyc/nys-openlegislation-mcp@2.5.1"
],
"env": {
"NYS_LEGISLATION_API_KEY": "<YOUR_NYS_LEGISLATION_API_KEY>",
"NYS_CORPUS_DB": "<YOUR_NYS_CORPUS_DB>"
}
}
}
}VS Code
{
"servers": {
"nys-open-legislation-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@betanyc/nys-openlegislation-mcp@2.5.1"
],
"env": {
"NYS_LEGISLATION_API_KEY": "<YOUR_NYS_LEGISLATION_API_KEY>",
"NYS_CORPUS_DB": "<YOUR_NYS_CORPUS_DB>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"nys-open-legislation-mcp": {
"command": "npx",
"args": [
"-y",
"@betanyc/nys-openlegislation-mcp@2.5.1"
],
"env": {
"NYS_LEGISLATION_API_KEY": "<YOUR_NYS_LEGISLATION_API_KEY>",
"NYS_CORPUS_DB": "<YOUR_NYS_CORPUS_DB>"
}
}
}
}Let your agent find its tools
Find servers like NYS Open Legislation MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.