Maryland MVA: registered vehicles and EV/plug-in hybrid counts by county and ZIP, monthly
git clone https://github.com/pipeworx-io/mcp-md-dmv{
"mcpServers": {
"mcp-md-dmv": {
"command": "node",
"args": ["/path/to/mcp-md-dmv/dist/index.js"]
}
}
}MCP Servers overview
# @pipeworx/md-dmv
Maryland DMV MCP — monthly registered-vehicle counts and electric/plug-in hybrid adoption
by county and ZIP code, from the Maryland Motor Vehicle Administration (MVA).
## Tools
- `md_dmv_vehicle_registrations(county?, month?, limit?)` — registered vehicles by county
for one month, with a genuine statewide total and each county's share of it. Answers
"how many vehicles are registered in Montgomery County Maryland", "which Maryland county
has the most registered vehicles", "how many cars are registered in Maryland".
- `md_dmv_ev_adoption(county?, zip?, month?, group_by?, limit?)` — battery-electric and
plug-in hybrid registrations by county or by ZIP code for one month, with a Maryland
total for context. Answers "how many EVs are registered in Montgomery County Maryland",
"EV registrations in ZIP 20852", "which Maryland ZIP codes have the most EVs".
## Auth
Keyless.
## Data sources
- <https://opendata.maryland.gov/resource/db8v-9ewn.json> — MDOT MVA registered vehicles by
county, monthly. Fields: `year_month` ("2026/06"), `county`, `vehicle_count`. 25 rows per
month (23 counties, Baltimore City, and a `NULL` bucket for registrations the MVA could
not assign).
- <https://opendata.maryland.gov/resource/qtcv-n3tc.json> — MDOT MVA electric and plug-in
hybrid registrations by county, monthly. Fields: `year_month`, `fuel_category`
("Electric" | "Plug-In Hybrid"), `county`, `count`. ~464 rows per month.
- <https://opendata.maryland.gov/resource/tugr-unu9.json> — same, by ZIP code. Fields:
`year_month`, `fuel_category`, `zip_code`, `count`. ~2,065 rows per month.
All three run monthly from 2020/07 to 2026/06 (latest as of 2026-07-29).
## Gotcha: the Maryland WAF rejects query *shapes*, not queries
`opendata.maryland.gov` sits behind a Cloudflare WAF that answers certain SoQL query
shapes with a "Just a moment..." interstitial — **HTTP 403 with an HTML body** — instead of
data. It is reproducible, and it is specific to this one domain: `data.ny.gov`,
`data.wa.gov` and `data.ct.gov` all accept the identical clauses without complaint. It was
first hit from a deployed Cloudflare Worker, and has since been reproduced from a laptop
too, so it is a property of the request, not of the caller's IP.
Confirmed to trip it:
| Shape | Example |
|---|---|
| any `like '%x%'` wildcard clause | `$where=upper(county) like '%MONTGOMERY%'` |
| a `$where` with two conditions joined by `AND` | `$where=year_month='2026/06' AND county='MONTGOMERY'` |
| a `$select` with two aggregate expressions | `$select=min(year_month) as mn, max(year_month) as mx` |
Confirmed to work:
| Shape | Example |
|---|---|
| a single `year_month` equality condition | `$where=year_month='2026/06'` |
| a `$select` with one aggregate | `$select=max(year_month) as mx` |
So this pack sends **exactly one condition**, pulls the whole month (at most ~2,100 rows),
and does all county/ZIP narrowing, aggregation and sorting in code. That is cheap, and it
is the difference between the pack returning data and returning an HTML challenge page.
**Do not "optimise" the filtering back onto the server.**
A side benefit: because the complete month is always in hand, `statewide_total_vehicles`
and `maryland_plug_in_vehicles` are real totals rather than sums of whatever survived
`limit`. The row-level sum is reported separately as `sum_of_returned_rows`.
## Gotcha: the same county is spelled two different ways
The registration file and the EV files disagree on punctuation for the same places:
| Place | `db8v-9ewn` (registrations) | `qtcv-n3tc` / `tugr-unu9` (EV) |
|---|---|---|
| Prince George's County | `PRINCE GEORGE'S` | `PRINCE GEORGES` |
| St. Mary's County | `ST. MARY'S` | `ST MARYS` |
| Queen Anne's County | `QUEEN ANNE'S` | `QUEEN ANNES` |
Both tools fold punctuation away before matching, so a caller can pass either spelling.
## Gotcha: the EV files carry out-of-state counties
Maryland records the registrant's county (or ZIP) of **residence**, so `qtcv-n3tc` carries
~300 non-Maryland counties with small counts — ADAMS, ALAMEDA, ALBEMARLE and so on — mixed
in with the 24 Maryland jurisdictions. Every county row is flagged `in_maryland`, and
`maryland_plug_in_vehicles` counts only the Maryland ones.
The nastiest instance: **Virginia's `PRINCE GEORGE` sits right next to Maryland's
`PRINCE GEORGES`**, and Virginia's is the exact match for the phrase "Prince George". The
county resolver therefore returns both rows (flagged) rather than silently picking the
one-vehicle Virginia county over the 17,899-vehicle Maryland one.
## Verified figures (2026/06, checked 2026-07-29)
| Query | Result |
|---|---|
| `md_dmv_vehicle_registrations{county:"Montgomery"}` | 804,525 vehicles |
| `md_dmv_vehicle_registrations{}` | 5,190,640 statewide |
| `md_dmv_ev_adoption{county:"Montgomery"}` | 36,477 Electric + 12,319 Plug-In Hybrid |
| `md_dmv_ev_adoption{zip:"20852"}` | 1,660 Electric + 566 Plug-In Hybrid |
| `md_dmv_ev_adoption{}` | 153,463 Maryland plug-in vehicles |
## Quick Start
Add to your MCP client (Claude Desktop, Cursor, Windsurf, etc.):
```json
{
"mcpServers": {
"md-dmv": {
"url": "https://gateway.pipeworx.io/md-dmv/mcp"
}
}
}
```
Or connect to the full Pipeworx gateway for access to all 1392+ data sources:
```json
{
"mcpServers": {
"pipeworx": {
"url": "https://gateway.pipeworx.io/mcp"
}
}
}
```
## Using with ask_pipeworx
Instead of calling tools directly, you can ask questions in plain English:
```
ask_pipeworx({ question: "your question about Maryland MVA data" })
```
The gateway picks the right tool and fills the arguments automatically.
## More
- [All tools and guides](https://github.com/pipeworx-io/examples)
- [pipeworx.io](https://pipeworx.io)
## License
MIT
What people ask about mcp-md-dmv
What is pipeworx-io/mcp-md-dmv?
+
pipeworx-io/mcp-md-dmv is mcp servers for the Claude AI ecosystem. Maryland MVA: registered vehicles and EV/plug-in hybrid counts by county and ZIP, monthly It has 0 GitHub stars and was last updated today.
How do I install mcp-md-dmv?
+
You can install mcp-md-dmv by cloning the repository (https://github.com/pipeworx-io/mcp-md-dmv) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is pipeworx-io/mcp-md-dmv safe to use?
+
pipeworx-io/mcp-md-dmv has not been audited yet by our security agent. Review the original repository on GitHub before using it in production.
Who maintains pipeworx-io/mcp-md-dmv?
+
pipeworx-io/mcp-md-dmv is maintained by pipeworx-io. The last recorded GitHub activity is from today, with 0 open issues.
Are there alternatives to mcp-md-dmv?
+
Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.
Deploy mcp-md-dmv to your cloud
Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.
Maintain this repo? Add a badge to your README
Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.
[](https://claudewave.com/repo/pipeworx-io-mcp-md-dmv)<a href="https://claudewave.com/repo/pipeworx-io-mcp-md-dmv"><img src="https://claudewave.com/api/badge/pipeworx-io-mcp-md-dmv" alt="Featured on ClaudeWave: pipeworx-io/mcp-md-dmv" width="320" height="64" /></a>More MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
The fastest path to AI-powered full stack observability, even for lean teams.
Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!