# NY Data Registry

The NY Data Registry MCP server for Claude Code locates New York open-data portals by place or subject. Its index search can return datasets, column names, and formats.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 14 repo stars
- Author: BetaNYC
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/BetaNYC/ny-data-registry-mcp
- Updated: 2026-11-16
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/ny-data-registry

## What it does

NY Data Registry identifies which New York portal covers a location or subject and explains how to reach its data. Registry tools locate sources and API details, and can check whether a portal responds. Dataset and column searches rely on a harvested SQLite index.

Index tools search Socrata and ArcGIS portals, with filters for topics, places, formats, and more. Results can be grouped or exported as CSV; a separate MCP, such as `socrata`, handles data queries. The index tools need a harvested index, and the install commands include `SOCRATA_APP_TOKEN` in their configuration.

## Requirements
- Needs: Node.js (commands run via npx)
- Environment variables: `NY_DATA_INDEX_AUTO_DOWNLOAD`, `SOCRATA_APP_TOKEN` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add --env NY_DATA_INDEX_AUTO_DOWNLOAD=<NY_DATA_INDEX_AUTO_DOWNLOAD> --env SOCRATA_APP_TOKEN=<SOCRATA_APP_TOKEN> --transport stdio ny-data-registry -- npx -y @betanyc/ny-data-registry-mcp
```
Replace <…> with your own values

### Codex

**Platform CLI**
```bash
codex mcp add ny-data-registry --env NY_DATA_INDEX_AUTO_DOWNLOAD=<NY_DATA_INDEX_AUTO_DOWNLOAD> --env SOCRATA_APP_TOKEN=<SOCRATA_APP_TOKEN> -- npx -y @betanyc/ny-data-registry-mcp
```
Replace <…> with your own values

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "ny-data-registry": {
            "command": "npx",
            "args": [
                "-y",
                "@betanyc/ny-data-registry-mcp"
            ],
            "env": {
                "NY_DATA_INDEX_AUTO_DOWNLOAD": "<NY_DATA_INDEX_AUTO_DOWNLOAD>",
                "SOCRATA_APP_TOKEN": "<SOCRATA_APP_TOKEN>"
            }
        }
    }
}
```
Replace <…> with your own values

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "ny-data-registry": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "@betanyc/ny-data-registry-mcp"
            ],
            "env": {
                "NY_DATA_INDEX_AUTO_DOWNLOAD": "<NY_DATA_INDEX_AUTO_DOWNLOAD>",
                "SOCRATA_APP_TOKEN": "<SOCRATA_APP_TOKEN>"
            }
        }
    }
}
```
Replace <…> with your own values

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add -e NY_DATA_INDEX_AUTO_DOWNLOAD=<NY_DATA_INDEX_AUTO_DOWNLOAD> -e SOCRATA_APP_TOKEN=<SOCRATA_APP_TOKEN> ny-data-registry npx -y @betanyc/ny-data-registry-mcp
```
Replace <…> with your own values

## When to use it
- locate an open-data portal for a place or subject
- find the API details for a portal
- search datasets and inspect their column names
- group dataset matches by portal
- export matching datasets to CSV

## Example prompts
- Find New York open-data portals covering housing.
- Which datasets contain tax-lot information?
- Show the columns and formats for datasets from this portal.

## Similar
- [socrata-mcp-server](https://affpapa.org/en/nevibecode/mcp/socrata-mcp-server.md) — MCP server · 1882 installs
- [opendata-cat](https://affpapa.org/en/nevibecode/mcp/opendata-cat.md) — MCP server · ★ 22 repo stars
- [Seal Open Data](https://affpapa.org/en/nevibecode/mcp/seal-open-data.md) — MCP server · ★ 1650 repo stars
- [Malaysia Open Data MCP Server](https://affpapa.org/en/nevibecode/mcp/malaysia-open-data-mcp-server.md) — MCP server · 5119 installs
- [open-data-integrator](https://affpapa.org/en/nevibecode/skills/open-data-integrator.md) — skill · 115 installs
- [legal-data-hunter](https://affpapa.org/en/nevibecode/mcp/legal-data-hunter.md) — MCP server · ★ 427 repo stars

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
