This website is a nonprofit project of WeGov.NYC and not affiliated with NYC government.

MCP Server

Connect to NYC government data using the Model Context Protocol (MCP). Query organizations, capital projects, contracts, vendors, civil service titles, and City Record notices with AI assistants like Claude.

Quick Start

Option 1: Add via Claude Desktop UI (Easiest)

In Claude Desktop, click on the MCP Servers icon in the sidebar, then click "Add custom connector":

Leave OAuth fields empty - no authentication required.


Option 2: Edit Config File

Alternatively, add to your Claude Desktop configuration file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "databook-nyc": {
      "url": "https://api.databook.nyc/mcp"
    }
  }
}
Note: Restart Claude Desktop after adding the connector. You'll then have access to 21 tools for querying NYC government data.

Available Tools (21 total)

Organizations
search_organizationsSearch agencies, boards, offices by name
get_organization_profileGet detailed org profile with headcount and spending
get_organization_noticesGet recent City Record notices for an org
get_organization_statsGet aggregate organization statistics
Capital Projects
search_capital_projectsSearch capital projects by name or ID
get_project_detailsGet full project details and timeline
get_agency_projectsGet projects for a specific agency
Contracts & Procurement
search_contractsSearch contracts with filters
get_contract_detailsGet full contract information
get_contract_statsGet aggregate contract statistics
search_solicitationsSearch RFPs and bids
get_solicitation_detailsGet solicitation details
get_open_solicitationsGet currently open opportunities
Vendors
search_vendorsSearch registered NYC vendors
get_vendor_profileGet vendor details with contract history
Civil Service Titles
search_civil_titlesSearch job titles by name or code
get_title_positionsGet employees holding a specific title
City Record (CROL)
search_noticesSearch City Record notices
get_notice_statsGet notice statistics (last 30 days)
get_recent_eventsGet upcoming public events and hearings
General
get_database_overviewGet summary of all available data

Example Prompts

Once connected, try asking Claude:

  • "How many capital projects does the Department of Parks and Recreation have?"
  • "Search for IT contracts with the Department of Education"
  • "Find civil service titles related to engineer"
  • "What solicitations are currently open?"
  • "Get the profile for the Health Department"
  • "Show me recent City Record notices about public hearings"

Data Sources

Dataset Description
Organizations600+ NYC agencies, boards, offices from WeGov registry
Capital Projects8,000+ projects from NYC Capital Projects Tracker
ContractsNYC procurement contracts from Checkbook NYC
VendorsRegistered vendors from PASSPort
Civil TitlesNYC civil service job titles and positions
City RecordCROL notices, events, and announcements

Technical Details

MCP Endpoint:
https://api.databook.nyc/mcp
OAuth Discovery:
https://api.databook.nyc/.well-known/oauth-protected-resource
API Documentation:
api.databook.nyc/docs
Ask about NYC Government
Hi! I can help you explore NYC government data. Try asking:

• "How many capital projects does Parks have?"
• "Search for Health department"
• "Find civil service titles for engineer"