query
Run a Socrata SoQL query against a NYC Open Data dataset by resourceid (e.g. "8wbx-tsch"). Filter with where/select/group/order (SoQL clauses, without the leading $) plus limit/offset. Returns matching rows as JSON.
How to use it
Project documentation lists query for the MCP Data Cityofnewyork MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), then check which tools your installed version makes available. Tool availability can depend on configuration and credentials. A server handshake does not verify this tool’s behavior. See the full listing for setup details.
Install MCP Data Cityofnewyork
npx -y @pipeworx/mcp-data-cityofnewyorkOther tools in MCP Data Cityofnewyork (2)
Search the NYC Open Data catalog of open datasets by keyword. Returns each dataset's resourceid, name, description, category and update date — pass the resourceid to query/metadata.
Get a NYC Open Data dataset's schema + metadata (columns, types, row count, category, last-updated) by resourceid, e.g. "8wbx-tsch".