GnistAI GnistAI
Log in

NHTSA Vehicle Safety

NHTSA vehicle safety data — VIN decoding, safety recalls, consumer complaints, and NCAP crash test ratings.

Overview   |   MCP Docs   |   API Docs   |   OpenAPI   |   Playground   |   Tutorial   |   Toolkits   |   Home
status: healthy status status healthy healthy tools: 6 tools tools 6 6 Government

Data source: NHTSA (US Department of Transportation)

MCP MCP Protocol

Endpoint https://context.gnist.ai/mcp/nhtsa/
claude_desktop_config.json
{
  "mcpServers": {
    "gnist-nhtsa": {
      "url": "https://context.gnist.ai/mcp/nhtsa/",
      "headers": {
        "Gnist-API-Key": "YOUR_API_KEY"
      }
    }
  }
}
Shell
curl -X POST "https://context.gnist.ai/mcp/nhtsa/" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -H "Gnist-API-Key: YOUR_API_KEY" \
  -d '{"jsonrpc": "2.0", "method": "tools/call", "id": 1, "params": {"name": "decode_vin", "arguments": {"vin": "example"}}}'

API REST API

API Root https://context.gnist.ai/rest/nhtsa/

6 endpoints available:

Shell
curl "https://context.gnist.ai/rest/nhtsa/decode_vin?vin=example" \
  -H "Gnist-API-Key: YOUR_API_KEY"
Python
import httpx

resp = httpx.get(
    "https://context.gnist.ai/rest/nhtsa/decode_vin",
    headers={"Gnist-API-Key": "YOUR_API_KEY"},
    params={
        "vin": "example"
},
)
print(resp.json())

OpenAPI Spec  ·  Full API Docs

CLI Command Line

Command gc nhtsa

CLI documentation will be available when the GnistAI SDK is published.

Install
pip install gnistai

Available Tools (6)

decode_vin
Decode a VIN to get vehicle specifications — make, model, year, engine, drivetrain, and more.
ParameterTypeRequiredDescription
vinstringrequired17-character Vehicle Identification Number (e.g. "1HGCM82633A004352").
get_recalls
Get safety recalls for a specific vehicle make, model, and year.
ParameterTypeRequiredDescription
makestringrequiredVehicle manufacturer (e.g. "Honda", "Toyota", "Ford").
modelstringrequiredVehicle model name (e.g. "Accord", "Camry", "F-150").
model_yearstringrequired4-digit model year (e.g. "2020").
get_complaints
Get consumer complaints filed with NHTSA for a specific vehicle.
ParameterTypeRequiredDescription
makestringrequiredVehicle manufacturer (e.g. "Honda", "Toyota", "Ford").
modelstringrequiredVehicle model name (e.g. "Accord", "Camry", "F-150").
model_yearstringrequired4-digit model year (e.g. "2020").
limitintegeroptionalMax complaints to return (1-100). Default 20. (default: 20)
get_safety_ratings
Get NHTSA crash test safety ratings (NCAP 5-star system).
ParameterTypeRequiredDescription
makestringrequiredVehicle manufacturer (e.g. "Honda", "Toyota", "Ford").
modelstringrequiredVehicle model name (e.g. "Accord", "Camry", "F-150").
model_yearstringrequired4-digit model year (e.g. "2020").
search_makes
List all vehicle makes with safety rating data for a given model year.
ParameterTypeRequiredDescription
model_yearstringrequired4-digit model year to list makes for (e.g. "2024").
report_feedback
Report a bug, feature request, or general feedback for this data source.
ParameterTypeRequiredDescription
feedbackstringrequired
feedback_typestringoptional (default: "general")

Related