nj_mvc_vehicle_inspections
Pack: nj-mvc · Endpoint: https://gateway.pipeworx.io/nj-mvc/mcp
Measure how often cars pass or fail New Jersey vehicle inspection, from the Motor Vehicle Commission’s record-level results file — 2,314,032 individual tests, each carrying make, model, model year, fuel, and separate emissions and safety verdicts. Returns test counts with pass rate, fail rate, and how many failures were emissions rather than safety, grouped by make, model, model year, fuel, body style or test type. Answers “which cars fail NJ emissions inspection most”, “Toyota Camry NJ inspection failure rate”, “do older cars fail New Jersey inspection more often”, “NJ inspection pass rate by make”, and “how many diesels does New Jersey inspect”. Statewide overall, roughly 10% of tests fail.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
make | string | no | Vehicle make, matched as a substring, e.g. “TOYOTA”, “FORD”, “HONDA”. |
model | string | no | Vehicle model, matched as a substring, e.g. “CAMRY”, “F150”. |
model_year | string | no | Four-digit model year, e.g. “2015”. |
fuel | string | no | Fuel; plain words map to New Jersey’s codes, e.g. “gas” (GASO), “diesel” (DIES), “hybrid” (ELEG), “electric” (ELEC). |
test_type | string | no | I for an initial test, R for a re-test. Defaults to every test. |
group_by | string | no | Breakdown dimension: ${Object.keys(GROUP_COLUMNS).join(’, ’)}. Defaults to make. |
min_tests | number,string | no | Drop groups with fewer than this many tests before ranking, so a one-car model cannot top a failure-rate table. Default 100. |
sort | string | no | tests (default) ranks by volume; fail_rate ranks by the share of tests that failed. |
limit | number,string | no | Max groups to return (default 25, max 200). |
Example call
Arguments
{
"group_by": "make",
"limit": 6
}
curl
curl -X POST https://gateway.pipeworx.io/nj-mvc/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"nj_mvc_vehicle_inspections","arguments":{"group_by":"make","limit":6}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('nj_mvc_vehicle_inspections', {
"group_by": "make",
"limit": 6
});
More examples
{
"make": "TOYOTA",
"group_by": "model",
"sort": "fail_rate",
"min_tests": 5000,
"limit": 5
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"nj-mvc": {
"url": "https://gateway.pipeworx.io/nj-mvc/mcp"
}
}
}
See Getting Started for client-specific install steps.