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

NameTypeRequiredDescription
makestringnoVehicle make, matched as a substring, e.g. “TOYOTA”, “FORD”, “HONDA”.
modelstringnoVehicle model, matched as a substring, e.g. “CAMRY”, “F150”.
model_yearstringnoFour-digit model year, e.g. “2015”.
fuelstringnoFuel; plain words map to New Jersey’s codes, e.g. “gas” (GASO), “diesel” (DIES), “hybrid” (ELEG), “electric” (ELEC).
test_typestringnoI for an initial test, R for a re-test. Defaults to every test.
group_bystringnoBreakdown dimension: ${Object.keys(GROUP_COLUMNS).join(’, ’)}. Defaults to make.
min_testsnumber,stringnoDrop groups with fewer than this many tests before ranking, so a one-car model cannot top a failure-rate table. Default 100.
sortstringnotests (default) ranks by volume; fail_rate ranks by the share of tests that failed.
limitnumber,stringnoMax 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.

Regenerated from source · build July 31, 2026