Government
Data source: NHTSA (US Department of Transportation)
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"}}}'
REST API
API Root
https://context.gnist.ai/rest/nhtsa/
6 endpoints available:
GET /rest/nhtsa/decode_vinGET /rest/nhtsa/get_recallsGET /rest/nhtsa/get_complaintsGET /rest/nhtsa/get_safety_ratingsGET /rest/nhtsa/search_makesGET /rest/nhtsa/report_feedback
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())
Command Line
Command
gc nhtsa
CLI documentation will be available when the GnistAI SDK is published.
Install
pip install gnistai
Available Tools (6)
decode_vinDecode a VIN to get vehicle specifications — make, model, year, engine, drivetrain, and more.
| Parameter | Type | Required | Description |
|---|---|---|---|
vin | string | required | 17-character Vehicle Identification Number (e.g. "1HGCM82633A004352"). |
get_recallsGet safety recalls for a specific vehicle make, model, and year.
| Parameter | Type | Required | Description |
|---|---|---|---|
make | string | required | Vehicle manufacturer (e.g. "Honda", "Toyota", "Ford"). |
model | string | required | Vehicle model name (e.g. "Accord", "Camry", "F-150"). |
model_year | string | required | 4-digit model year (e.g. "2020"). |
get_complaintsGet consumer complaints filed with NHTSA for a specific vehicle.
| Parameter | Type | Required | Description |
|---|---|---|---|
make | string | required | Vehicle manufacturer (e.g. "Honda", "Toyota", "Ford"). |
model | string | required | Vehicle model name (e.g. "Accord", "Camry", "F-150"). |
model_year | string | required | 4-digit model year (e.g. "2020"). |
limit | integer | optional | Max complaints to return (1-100). Default 20. (default: 20) |
get_safety_ratingsGet NHTSA crash test safety ratings (NCAP 5-star system).
| Parameter | Type | Required | Description |
|---|---|---|---|
make | string | required | Vehicle manufacturer (e.g. "Honda", "Toyota", "Ford"). |
model | string | required | Vehicle model name (e.g. "Accord", "Camry", "F-150"). |
model_year | string | required | 4-digit model year (e.g. "2020"). |
search_makesList all vehicle makes with safety rating data for a given model year.
| Parameter | Type | Required | Description |
|---|---|---|---|
model_year | string | required | 4-digit model year to list makes for (e.g. "2024"). |
report_feedbackReport a bug, feature request, or general feedback for this data source.
| Parameter | Type | Required | Description |
|---|---|---|---|
feedback | string | required | |
feedback_type | string | optional | (default: "general") |