npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@pipeworx/mcp-ny-dmv

v0.2.1

Published

New York State DMV MCP — registered vehicles and EV adoption by county/ZIP/make, DMV office locations, road-test sites, licensed driving schools, and the state's licensed-facility register (inspection stations, repair shops, dealers). Keyless.

Readme

@pipeworx/ny-dmv

New York State DMV MCP — registered vehicles and EV adoption, DMV offices, road test sites, licensed driving schools, and the DMV-licensed facility register. Keyless.

Part of Pipeworx — an MCP gateway connecting AI agents to 1867+ live data sources. This is an independent, unofficial integration — not affiliated with, endorsed by, or published by the upstream provider.

Tools

| Tool | What it returns | |------|-----------------| | ny_dmv_vehicle_registrations(...) | Counts of registration records by county, ZIP, city, make, model year, body type, registration class or fuel, from the 12.6M-row record-level file. Also filters on scofflaw / suspension / revocation flags. | | ny_dmv_ev_adoption(...) | ELECTRIC-fuel registration counts plus an EV share of all registered vehicles, per county / ZIP / city / make / model year. | | ny_dmv_offices(...) | 175 NYS DMV offices with address, public phone, weekday hours and coordinates. | | ny_dmv_road_test_sites(...) | 444 active road test sites with the test types each administers and written directions to the starting point. | | ny_dmv_driving_schools(...) | 573 DMV-licensed driving schools with school number, phone and the courses each is licensed to teach. | | ny_dmv_licensed_facilities(...) | 54,563 DMV-licensed businesses — inspection stations, repair shops, dealers, dismantlers — searchable, or counted by county / city / ZIP / licence type. |

Auth

Keyless. All five datasets are public Socrata resources on data.ny.gov; no app token is required at the volumes this pack issues.

Per-state gotchas

  • record_type is the first thing to get right. w4pv-hbkt mixes road vehicles (VEH, 11.4M rows) with trailers (TRL), boats (BOAT) and snowmobiles (SNOW). Every registration query defaults to VEH; an unfiltered sum is a fleet of things, not a fleet of cars.
  • County names are unabbreviated and upper case, and NYC boroughs use the county name. Brooklyn is KINGS, Manhattan is NEW YORK, Staten Island is RICHMOND. The Bronx and Queens keep their names.
  • make is truncated to five characters. Toyota is stored as TOYOT, Chevrolet as CHEVR, Volkswagen as VOLKS. Three makes collapse to a slash form instead: ME/BE (Mercedes-Benz), HA/DA (Harley-Davidson), LA/RO (Land Rover). The pack cuts and aliases the caller's make automatically, so pass the everyday name.
  • New York has one ELECTRIC fuel code. Battery-electric and plug-in hybrid vehicles are not separable in this source. Washington splits them — see wa_dmv_ev_population.
  • The facility register spells counties differently from the registration file. nhjr-rpi2 stores the first four letters of the county with spaces removed: SUFF, NASS, NEWY. The pack accepts either spelling.
  • The facility register keeps expired licences. Rows carry an expiration_date, and some are years past. Check it before treating a row as a currently valid licence.
  • A facility holds one row per licence. A repair shop that is also a public inspection station appears once under RS and once under ISP, so licence counts exceed the number of distinct businesses.
  • sum_of_returned_rows is not a total. Row lists are cut off by limit; total_vehicles (a separate full count over the same filters) is the figure to quote.

Data sources

  • Registrations — https://data.ny.gov/resource/w4pv-hbkt.json (Vehicle, Snowmobile and Boat Registrations)
  • Offices — https://data.ny.gov/resource/9upz-c7xg.json (DMV Office Locations)
  • Road test sites — https://data.ny.gov/resource/n6g4-x6f5.json (DMV Road Test Sites)
  • Driving schools — https://data.ny.gov/resource/3p6i-cv8y.json (DMV Driving Schools)
  • Licensed facilities — https://data.ny.gov/resource/nhjr-rpi2.json (Facilities Licensed by the DMV)

Quick Start

Add to your MCP client (Claude Desktop, Cursor, Windsurf, etc.):

{
  "mcpServers": {
    "ny-dmv": {
      "url": "https://gateway.pipeworx.io/ny-dmv/mcp"
    }
  }
}

What this endpoint actually serves

tools/list at https://gateway.pipeworx.io/ny-dmv/mcp returns the tools in the table above plus the shared Pipeworx meta-tools — ask_pipeworx, discover_tools, search_within, remember/recall and the rest of the gateway-wide set. So the tool count you see is larger than this table: a single-pack endpoint currently lists roughly 30 shared tools alongside the pack's own. The connection's initialize response states its exact scope, and is the authoritative answer for a given day.

This is deliberate, not multiplexing by accident. The meta-tools are what let a scoped connection answer a question this pack does not cover — via ask_pipeworx, which routes across the whole catalog — without you adding a second MCP server. There is currently no way to mount a pack endpoint without them; if the extra schemas cost you more context than the routing is worth, connect to the full gateway once rather than to several pack endpoints.

Or connect to the full Pipeworx gateway to get every pack's tools listed directly, instead of just this one's:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://gateway.pipeworx.io/mcp"
    }
  }
}

Both URLs reach the same gateway and the same 1867+ data sources. The only difference is which pack's tools are listed directly; ask_pipeworx reaches all of them from either one.

No MCP client? Call it over HTTP

curl -X POST https://gateway.pipeworx.io/v1/tools/ny_dmv_vehicle_registrations \
  -H 'Content-Type: application/json' \
  -d '{"group_by":"county","limit":5}'

No account needed for the first calls. Inspect any tool: GET https://gateway.pipeworx.io/v1/tools/ny_dmv_vehicle_registrations. Find one: POST https://gateway.pipeworx.io/v1/tools/search_packs with {"query":"..."}.

Run it from npm

@pipeworx/mcp-ny-dmv is a local stdio bridge to the Pipeworx gateway: your MCP client starts it with npx, and it forwards every call to the same https://gateway.pipeworx.io/ny-dmv/mcp endpoint shown above. It needs network access; there is no offline mode.

{
  "mcpServers": {
    "ny-dmv": {
      "command": "npx",
      "args": ["-y", "@pipeworx/mcp-ny-dmv"]
    }
  }
}

Without a key it calls anonymously, capped at 50 calls a day. A free account raises that to 200 a day: get a key at https://pipeworx.io/signup and add "env": { "PIPEWORX_API_KEY": "<your key>" } to the server entry. The key is sent as a Bearer token, the same way a hosted connection sends it, so calls are metered and billed exactly as they are there.

It lists only this pack's tools by default. Set PIPEWORX_META_TOOLS=1 to also list ask_pipeworx and the other gateway-wide tools.

Behind an HTTPS proxy: Node's built-in fetch does not read HTTPS_PROXY by default. Newer Node releases honour it when NODE_USE_ENV_PROXY=1 is set; check your Node version's documentation.

Using with ask_pipeworx

Instead of calling tools directly, you can ask questions in plain English — this works on the pack endpoint above as well as on the full gateway:

ask_pipeworx({ question: "your question about Ny Dmv data" })

The gateway picks the right tool and fills the arguments automatically.

More

License

MIT