The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the Nhtsa Vehicle Safety MCP Server listing page.
Decode VINs, search recalls, complaints, crash ratings, and investigations via MCP. STDIO or Streamable HTTP.
Public Hosted Server: https://nhtsa.caseyjhand.com/mcp
Seven tools for querying NHTSA vehicle safety data:
| Tool Name | Description |
|---|---|
nhtsa_get_vehicle_safety | Comprehensive safety profile combining crash test ratings, recalls, and complaint summary with per-section availability status. |
nhtsa_search_recalls | Search recall campaigns by vehicle or campaign number with optional date filtering. |
nhtsa_search_complaints | Consumer safety complaints with component breakdown and severity stats. |
nhtsa_get_safety_ratings | NCAP crash test ratings and ADAS feature availability. |
nhtsa_decode_vin | Decode VINs for make, model, year, engine, safety equipment (single or batch up to 50). |
nhtsa_search_investigations | Search NHTSA defect investigations (PE, EA, DP, RQ, AQ, and more) with cached index. |
nhtsa_lookup_vehicles | Look up valid makes, models, vehicle types, and manufacturer details from VPIC. |
nhtsa_get_vehicle_safetyComposite safety profile — the default tool when asked about vehicle safety, reliability, or purchase decisions.
sectionStatus plus warnings so upstream outages are not mistaken for a clean recordnhtsa_search_recallsSearch recall campaigns by vehicle or campaign number.
nhtsa_decode_vinDecode Vehicle Identification Numbers for manufacturing and safety details.
* for unknown positionsnhtsa_search_investigationsSearch NHTSA defect investigations.
nhtsaId fetches one investigation by its exact ID — the reverse of the recall link, closing the campaign-to-investigation round tripFLAT_INV.zip) — the first query downloads and parses it (~10s), subsequent queries use the cached index (24h TTL, matching the file's daily refresh)offset/limit and the offset for the next pagenhtsa_search_complaintsSearch consumer safety complaints filed with NHTSA.
unreliableIncidentDate rather than served as the incident datenhtsa_get_safety_ratingsNCAP crash test ratings and ADAS feature data.
vehicleId from earlier NCAP resultsnhtsa_lookup_vehiclesReference lookups against NHTSA's VPIC database.
makes, models, vehicle_types, manufacturermakes supports limit and offset pagination for the full VPIC catalogmanufacturer pages VPIC up to a 500-record ceiling and discloses when a broad partial name hits itBuilt on @cyanheads/mcp-ts-core:
none, jwt, oauth)in-memory, filesystem, Supabase, Cloudflare KV/R2/D1NHTSA-specific:
A public instance is available at https://nhtsa.caseyjhand.com/mcp — no installation required. Point any MCP client at it via Streamable HTTP:
Add the following to your MCP client configuration file:
Or with npx (no Bun required):
Or with Docker:
For Streamable HTTP, set the transport and start the server:
No API keys required — all NHTSA APIs are public.
| Variable | Description | Default |
|---|---|---|
MCP_TRANSPORT_TYPE | Transport: stdio or http. | stdio |
MCP_HTTP_HOST | HTTP server host. | 127.0.0.1 |
MCP_HTTP_PORT | HTTP server port. | 3010 |
MCP_HTTP_ENDPOINT_PATH | HTTP endpoint path. | /mcp |
MCP_AUTH_MODE | Auth mode: none, jwt, or oauth. | none |
MCP_LOG_LEVEL | Log level (RFC 5424). | info |
All data comes from NHTSA's public APIs and bulk files:
api.nhtsa.gov/recallsapi.nhtsa.gov/complaintsapi.nhtsa.gov/SafetyRatingsstatic.nhtsa.gov/odi/ffdd/inv/FLAT_INV.zipvpic.nhtsa.dot.gov/api/vehicles| Directory | Purpose |
|---|---|
src/index.ts | Server entry point — createApp() registration. |
src/mcp-server/tools/definitions/ | Tool definitions (*.tool.ts). |
src/services/nhtsa/ | NHTSA API client and ODI bulk-file parser with field normalization. |
See CLAUDE.md for development guidelines and architectural rules. The short version:
try/catch in tool logicctx.log for loggingnhtsa_ prefix for all tool namesIssues and pull requests are welcome. Run checks before submitting:
Apache-2.0 — see LICENSE for details.