nhtsa-vehicle-safety-mcp-server
Vehicle safety data from NHTSA — recalls, complaints, crash ratings, investigations, VIN decoding.
Install / Use
claude mcp add cyanheads -- npx -y github:cyanheads/nhtsa-vehicle-safety-mcp-serverIf the server publishes to npm under a different name, use that package instead — check the repo README.
MCP Server
Model Context Protocol server
Quality Score
Category
MarketingSupported Platforms
Tags
Our assessment of nhtsa-vehicle-safety-mcp-server
nhtsa-vehicle-safety-mcp-server scores 80/100 on our quality scale, 533rd of 563 Marketing skills we index.
Its MCP Server is 14 KB long, well organised into 27 sections with 11 code examples: a thorough specification that gives an agent plenty to work with.
It has 3 GitHub stars, so there is little community track record yet; judge it on its content.
Maintenance, license and trust
- The repository was last updated 6 days ago, so nhtsa-vehicle-safety-mcp-server is actively maintained.
- It is released under the Apache-2.0 license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 87/100, with 2 cautions from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
nhtsa-vehicle-safety-mcp-server compared with similar skills
All 4 of these similar skills score higher than nhtsa-vehicle-safety-mcp-server; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| nhtsa-vehicle-safety-mcp-server (this skill)by cyanheads | 80 | 3 | 6d ago | MCP Server |
| Agent-Reachby Panniantong | 100 | 101.9k | today | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 77.7k | today | CLAUDE.md |
| CowAgentby zhayujie | 100 | 47.6k | today | CLAUDE.md |
| Scraplingby D4Vinci | 100 | 89.6k | 2d ago | MCP Server |
Frequently asked questions
- How do I install nhtsa-vehicle-safety-mcp-server?
- Run
claude mcp add cyanheads -- npx -y github:cyanheads/nhtsa-vehicle-safety-mcp-server. The install tabs above show the steps for each supported agent. - Which AI agents does nhtsa-vehicle-safety-mcp-server work with?
- It is written for Claude Code and Claude Desktop, as a MCP Server file. Other agents that read the same format can often use it too.
- Is nhtsa-vehicle-safety-mcp-server safe to use?
- It is Apache-2.0-licensed and scores 87/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is nhtsa-vehicle-safety-mcp-server still maintained?
- The repository was last updated 6 days ago, so nhtsa-vehicle-safety-mcp-server is actively maintained.
Skill content
View source on GitHubPublic Hosted Server: https://nhtsa.caseyjhand.com/mcp
</div>Overview
Vehicle safety data from NHTSA: recalls, consumer complaints, NCAP crash ratings, defect investigations, and VIN decoding. Get a full safety picture for any make, model, and year in one call, or decode a VIN.
Tools
| Tool | 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. |
Capability reference
nhtsa_get_vehicle_safety <sub>tool</sub>
- Combines NCAP crash test ratings, recall history, and complaint summary in a single response
- Frontal crash, side crash, and rollover ratings per vehicle variant
- Recall consequence text plus the do-not-drive, park-outside, and over-the-air-update advisories
- Complaint breakdown by component with crash, fire, injury, and death counts
- Returns
sectionStatus(available/partial/unavailable per section) pluswarningsso a partial NHTSA outage is not mistaken for a clean record
nhtsa_search_recalls <sub>tool</sub>
- Look up by make/model/year or by specific NHTSA campaign number — the two are mutually exclusive
- Campaign lookups return every make/model the campaign covers, plus the ODI investigation that preceded it
- Optional inclusive
dateRangebounds (after/before, calendar-validYYYY-MM-DD) apply in both modes; blank bounds are unset - Includes do-not-drive advisories, park-outside warnings, and OTA update availability
nhtsa_search_complaints <sub>tool</sub>
- Component breakdown covers every matching complaint regardless of pagination; up to 50 complaint narratives per page (default 20), offset pagination, sorted by filing date descending
- Optional
componentfilter matches within comma-separated component lists (e.g., "ENGINE", "AIR BAGS") - Every component line includes crash, fire, injury, and death totals, including zeros; individual complaints preserve fields NHTSA actually reported
- An incident date NHTSA reported that the complaint's own filing date or model year rules out is disclosed as
unreliableIncidentDaterather than served as the incident date
nhtsa_get_safety_ratings <sub>tool</sub>
- Accepts either make + model + modelYear, or a follow-up
vehicleIdfrom an earlier result; combining the modes is rejected - Frontal crash, side crash (barrier + pole), and rollover ratings, plus ESC/forward-collision/lane-departure ADAS availability
- Per-record complaint, recall, and investigation counts are variant-scoped — not vehicle-level totals
- NCAP coverage starts at 1990, most complete for 2011+ model years
nhtsa_decode_vin <sub>tool</sub>
- Single VIN or batch of up to 50; partial VINs accepted using
*for unknown positions; any blank entry rejects the whole batch before decoding - Optional
modelYearhelps disambiguate pre-1980 or partial VINs - Preserves sparse VPIC fields instead of filling missing data with placeholders
- Every result carries VPIC's own
errorCode/errorTextdecode-quality signal, including the clean "0" case
nhtsa_search_investigations <sub>tool</sub>
- Investigation types: Preliminary Evaluations (PE), Engineering Analyses (EA), Defect Petitions (DP), Recall Queries (RQ), Audit Queries (AQ), and additional ODI codes (SQ, EQ, RP, and others)
- Free-text search across investigation IDs, subjects, and summaries, plus structured make, model, and component filters — all ANDed
- Inclusive
openDateRangeandcloseDateRangebounds (after/before, calendar-validYYYY-MM-DD) filter before counting and pagination; active bounds exclude records without the corresponding usable date nhtsaIdfetches one investigation by its exact ID, mutually exclusive with the other filters — the reverse of the recall link, closing the campaign-to-investigation round trip- Sourced from NHTSA's ODI bulk file (
FLAT_INV.zip) — concurrent cold queries share one streaming load with a two-minute deadline. Cancelling one query leaves other callers running; successful loads remain cached for 24 hours from completion - Up to 25 investigations per page (default 20), offset pagination
nhtsa_lookup_vehicles <sub>tool</sub>
- Four operations:
makes,models,vehicle_types,manufacturer— partial match supported on make/manufacturer names modelscan be filtered by year;modelsandvehicle_typesboth requiremake- Each operation rejects inactive filters:
makesaccepts none,modelsacceptsmake/modelYear,vehicle_typesacceptsmake, andmanufactureracceptsmanufacturer. Optional blank strings are unset; operation-required make/manufacturer names must be nonblank - Up to 200 results per page (default 100), offset pagination
manufacturerlookups stop at a 500-record ceiling and disclosetruncatedwhen more may exist — VPIC publishes no match total
Features
Built on @cyanheads/mcp-ts-core: stdio and Streamable HTTP transports, pluggable auth (none / jwt / oauth), swappable storage (in-memory, filesystem, Supabase, Cloudflare KV/R2/D1), structured logging with optional OpenTelemetry tracing.
NHTSA-specific:
- Type-safe client wrapping four NHTSA JSON APIs with retry logic and sparse-field normalization, plus a streaming parser for the ODI investigations bulk file
- Investigation index caching (24h TTL) for fast repeated queries
- No API key required — all NHTSA APIs are public
Agent-friendly output:
- Provenance: every tool echoes
effectiveQueryin its enrichment block, so callers can verify exactly what was searched - Graceful partial failure:
nhtsa_get_vehicle_safetyreturnssectionStatusper section pluswarnings, so a partial NHTSA outage isn't mistaken for a clean safety record - Discriminated outputs:
unreliableIncidentDate(complaints), VIN decodeerrorCode/errorText, and manufacturer-lookuptruncateddisclose data-quality limits rather than silently omitting or fabricating values
Getting started
Public Hosted Instance
A public instance is available at https://nhtsa.caseyjhand.com/mcp — no installation required. Point any MCP client at it via Streamable HTTP:
{
"mcpServers": {
"nhtsa-vehicle-safety-mcp-server": {
"type": "streamable-http",
"url": "https://nhtsa.caseyjhand.com/mcp"
}
}
}
Self-Hosted / Local
Add the following to your MCP client configuration file:
{
"mcpServers": {
"nhtsa-vehicle-safety-mcp-server": {
"type": "stdio",
"command": "bunx",
"args": ["@cyanheads/nhtsa-vehicle-safety-mcp-server@latest"],
"env": {
"MCP_TRANSPORT_TYPE": "stdio",
"MCP_LOG_LEVEL": "info"
}
}
}
}
Or with npx (no Bun required):
{
"mcpServers": {
"nhtsa-vehicle-safety-mcp-server": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@cyanheads/nhtsa-vehicle-safety-mcp-server@latest"],
"env": {
"MCP_TRANSPORT_TYPE": "stdio",
"MCP_LOG_LEVEL": "info"
}
}
}
}
Or with Docker:
{
"mcpServers": {
"nhtsa-vehicle-safety-mcp-server": {
"type": "stdio",
"command": "docker",
"args": ["run", "-i", "--rm", "-e", "MCP_TRANSPORT_TYPE=stdio", "ghcr.io/cyanheads/nhtsa-vehicle-safety-mcp-server:latest"]
}
}
}
For Streamable HTTP, set the transport and start the server:
MCP_TRANSPORT_TYPE=http MCP_HTTP_PORT=3010 bun run start:http
# Server listens at http://localhost:3010/mcp
Prerequisites
- Bun v1.4.0 or higher (or Node.js >= 24.0.0)
Installation
- Clone the repository:
git clone https://github.com/cyanheads/nhtsa-vehicle-safety-mcp-server.git
- Navigate into the directory:
cd nhtsa-vehicle-safety-mcp-server
- Install dependencies:
bun install
- Configure environment (optional):
cp .env.example .env
# edit .env to override transport, auth, or storage defaults — no API key required
Configuration
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_SESSION_MODE | HTTP session posture: auto, stateful, or stateless. The server declares stateless in code — it keeps no per-session state — and this variable overrides that. | stateless |
| MCP_LOG_LEVEL | Log level (RFC 5424). | info |
| LOG_TOOL_FAILURE_PAYLOADS | Log each failed tool call's arguments and result, redacted by key name and capped at `LOG_TOOL_FAILURE_PAYLOAD_MAX
Truncated for display — read the full file on GitHub.
Related Skills
Agent-Reach
101.9kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
headroom
77.7kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
CowAgent
47.6kOpen-source personal AI assistant & Agent Harness. Plans tasks, runs tools and skills, self-evolves with memory and knowledge. Multi-agent, multi-model, multi-channel. Lightweight, extensible, one-line install.
Scrapling
89.6k🕷️ A Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
