VIN MCP
Adds Ford-specific VIN recall repair status, including open and completed recall records, to vehicle reports and comparisons.
Adds Honda active safety recall status from the past 15 calendar years to VIN reports and comparisons; completed recall history is not supplied.
Adds Nissan open safety recall status when a full VIN match and verified safety classification are available.
Adds Tesla VIN recall repair status, including open and completed recall records, to vehicle reports and comparisons.
This server has a remotely hosted endpoint. Open its connector listing for connection details, authentication requirements, and setup instructions:
VIN MCP
Free VIN decoder for humans and AI. No API keys or accounts required for public vehicle lookups. Rate limits apply.
mcp.vin -- Try it now
What It Does
Enter a 17-character VIN and get one vehicle report built from free public data:
Source | Data Provided |
NHTSA vPIC | Make, model, year, trim, body class, engine specs, transmission, drive type, weight, plant info, 140+ decoded fields; decoded by mcp.vin's copy of NHTSA's decoder on NHTSA's monthly database |
NHTSA Recalls | Model-year recall campaigns with component, summary, consequence, and remedy; not VIN repair status |
NHTSA Complaints | Owner complaints with crash, fire, injury and death counts |
NHTSA Safety Ratings | NCAP star ratings for overall, frontal, side, and rollover crash tests |
EPA Fuel Economy | City/highway/combined MPG, annual fuel cost, CO2 emissions, EV range and charge time |
NHTSA Vehicle Crash Test Database | Photos of a vehicle NHTSA tested (same make, model, body style and generation): before the test and after NHTSA's crash tests. Never the decoded vehicle and never stock photos; mcp.vin serves resized copies itself |
NHTSA test reports | Tire size, cold pressures, fuel tank, payload and weights of the closest vehicle NHTSA tested; never this VIN's own values |
Dealer listings (mcp.vin's own index) | Price tab: dealer asking prices and cars for sale for the model |
Decodes, recalls, complaints, safety ratings and fuel economy are served from mcp.vin's own dated copies of NHTSA's and EPA's public files, refreshed on a schedule (local NHTSA data); the live NHTSA and EPA services are only a fallback, and each answer's data_source says which answered. mcp.vin never asks a vehicle manufacturer about a VIN.
Additionally, VIN validation (checksum, WMI country/manufacturer decode, model year) is computed locally with zero API calls.
Related MCP server: CarsXE
Quick Start -- Connect via MCP
Remote HTTP (nothing to install, no API key)
Use the hosted MCP endpoint:
https://mcp.vin/mcpAdd to your MCP client config:
{
"mcpServers": {
"vin-mcp": {
"url": "https://mcp.vin/mcp"
}
}
}Smithery (one command)
npx -y @smithery/cli install @keptlive/vin-mcp --client claudeClaude Code (stdio)
Add to your .mcp.json:
{
"mcpServers": {
"vin-mcp": {
"command": "npx",
"args": ["-y", "vin-mcp"]
}
}
}Or if you have the repo cloned locally:
{
"mcpServers": {
"vin-mcp": {
"command": "node",
"args": ["/path/to/vin-mcp/server.mjs"]
}
}
}MCP Tools
The 22 tools are organized into three groups. The live directory at /api/tools and MCP tools/list come from the same registry. See service organization for extension and testing guidance.
Group | Tools |
Vehicle reports |
|
Research and analysis |
|
Saved vehicles and preferences |
|
Account tools require the user's website login token. Public lookup tools require no API key. Source coverage and unknown values are part of the returned data.
Tool | Description | Input |
| Full VIN decode with specs, recalls, complaints, safety ratings, fuel economy, and NHTSA test-vehicle photos |
|
| Quick local validation -- checksum, WMI country/manufacturer, model year. No external API calls |
|
| Look up recalls by VIN or by make/model/year |
|
| Decode up to 50 VINs in one request (local decoder; NHTSA's batch API only for VINs it cannot decode) |
|
REST API
All endpoints are available at https://mcp.vin or on your self-hosted instance.
Method | Endpoint | Description |
|
| Grouped MCP tool directory |
|
| Full report |
|
| Quick checksum and format validation |
|
| Recall data only |
|
| Consumer complaints only |
|
| NCAP safety ratings only |
|
| EPA fuel economy only |
|
| Redirects (302) to the first photo of NHTSA's test car, before the test; 404 when no tested vehicle matches |
|
| Batch decode (body: |
|
| Uptime check: status, version and each local data file's date |
Rate limits: 30 requests/minute per IP for most endpoints, 60/minute for validation and photos, 5/minute for batch.
Example:
curl https://mcp.vin/api/vin/1HGCM82633A004352Direct VIN URLs also work -- visit https://mcp.vin/1HGCM82633A004352 to see the web report.
Photos (photos in a report)
Photos come only from NHTSA's vehicle crash-test database: the test lab's own photos of a vehicle NHTSA bought and
tested. They are never the decoded vehicle and there are no stock photos. The vehicle is the closest NHTSA test vehicle
(same matching as test_vehicle_specs: exact model year first, then the nearest year of the same generation, or the
same year in another trim), and never one with a different body style, cab or door count. photos is null when
nothing matches. Otherwise:
"photos": {
"scope": "nhtsa_test_vehicle", "vin_specific": false, "note": "Photos of a vehicle NHTSA bought and tested, ...",
"items": [
{ "url": "https://mcp.vin/nhtsa-photos/14086/v14086P014-960.webp", "width": 960, "height": 640,
"thumbnail_url": "https://mcp.vin/nhtsa-photos/14086/v14086P014-320.webp", "thumbnail_width": 320, "thumbnail_height": 213,
"phase": "pre_test", "view": "front_34_right", "label": "Before the test: right front three-quarter view",
"tested_as": "2022 Nissan Pathfinder four door SUV", "model_year": 2022, "test_no": 14086, "test_kind": "frontal",
"test_label": "NHTSA frontal crash test 14086", "test_description": "The car was driven into a rigid barrier at 56 km/h (35 mph).",
"test_type": "NEW CAR ASSESSMENT TEST",
"match": { "kind": "exact", "tested_model_year": 2022, "vin_model_year": 2022, "year_gap": 0, "differences": [], "generation_check": null },
"nhtsa_test_url": "https://nrd-static.nhtsa.dot.gov/reports/vehdb/v10000/v14000/v14086R001.pdf",
"nhtsa_photo_url": "https://nrd-static.nhtsa.dot.gov/photos/vehdb/v10000/v14000/v14086P014.JPG",
"original_file_name": "No. 014 Pre-Test Right Front 3-4 View.JPG" },
{ "url": "https://mcp.vin/nhtsa-photos/14086/v14086P015-960.webp", "phase": "post_test", "view": "front_34_right",
"label": "After NHTSA's frontal crash test: right front three-quarter view", "...": "same fields" }
],
"source": { "provider": "NHTSA vehicle crash-test database: test-lab photos of the tested vehicles (nrd-static.nhtsa.dot.gov), resized and served by mcp.vin",
"indexed_at": "...", "dataset_generated_at": "..." }
}items lists up to three views of the test car before the test (phase pre_test), then up to three crash views,
one per NHTSA test of that model year (post_test: the car after that test), each with its own
test car (tested_as, test_no) and match. nhtsa_test_url is NHTSA's report for that test. Images are WebP, fit in
960 x 720 (thumbnails 320 x 240), with no metadata. Self-hosted servers show photos only when data/nhtsa-photos/ and
the photo index are deployed (see scripts/build-nhtsa-photos.py); without them photos is null.
Self-Hosting
git clone https://github.com/keptlive/vin-mcp.git
cd vin-mcp
npm install
node server.mjs --http --port 3200The server starts in HTTP mode with:
Web frontend at
http://localhost:3200REST API at
http://localhost:3200/api/vin/{vin}MCP endpoint at
http://localhost:3200/mcp
The data files (data/*.db) are not in git. Without them, decodes, recalls, complaints, safety ratings and fuel economy
use NHTSA's and EPA's live APIs, and the other indexes answer available: false.
For stdio mode (Claude Code integration without a web server):
node server.mjsHow VINs Work
A VIN (Vehicle Identification Number) is a 17-character code assigned to every vehicle manufactured since 1981. Each position encodes specific information:
1 H G C M 8 2 6 3 3 A 0 0 4 3 5 2
|_____| |___| | | | |_| |_________|
WMI VDS | | | |yr Sequential
| | | plant
| | check digit
| vehicle attributes
manufacturer IDPositions 1-3 (WMI): World Manufacturer Identifier -- country and manufacturer
Positions 4-8 (VDS): Vehicle Descriptor Section -- model, body, engine, transmission
Position 9: Check digit -- validates the VIN using a weighted algorithm
Position 10: Model year code (A-Y, 1-9 on a 30-year cycle)
Position 11: Assembly plant
Positions 12-17: Sequential production number
The letters I, O, and Q are never used in VINs to avoid confusion with 1, 0, and 9.
Tech Stack
Runtime: Node.js 22+
Server: Express 5
MCP SDK:
@modelcontextprotocol/sdkwith stdio and Streamable HTTP transportsFrontend: Vanilla HTML, CSS, and JavaScript
Caching: In-memory LRU with TTL (1h for reports, 6h for recalls and complaints, 24h for ratings and fuel data; a few minutes for live-fallback and failed answers; dropped when a data file is replaced)
External dependencies: No API keys; mcp.vin's own copies of public NHTSA and EPA files, the live public APIs as fallback
Unified vehicle workspace (v1.7.0)
The main workspace combines VIN reports and saved vehicles with EPA configurations/emissions, Canadian dimensions,
manufacturer communications, defect investigations, owner-reported MPG, dated Federal Reserve
rate benchmarks, 2-4 VIN comparisons, ownership scenarios and developer tools. Existing /research/
links continue into the matching section, including their search parameters. Accounts,
preferences, educational pages and OAuth remain available. Public data coverage varies.
Research is available through REST, 22 MCP tools, the JavaScript client at public/client.mjs
and the source CLI cli.mjs. The hosted service is https://mcp.vin; set VIN_BASE_URL for CLI use.
This release does not publish an updated npm package.
See data sources and scope and the machine-readable guide at
public/research/api.json. Printable capability-comparison and methodology sheets are in
public/research/sheets/. These describe source scope; full auto.dev data parity is incomplete.
Run and verify
Use Node.js 22 or later, run npm ci, then npm start. Run npm test and
node --test test/transport.test.mjs for the application and actual MCP transport checks.
The Python importer tests use only the standard library:
python3 tests/investigations_test.py, python3 tests/communications_storage_test.py,
python3 tests/recall_labels_test.py and python3 tests/nhtsa_local_test.py.
Install public indexes with python3 scripts/import-communications.py,
python3 scripts/import-investigations.py and python3 scripts/import-recall-labels.py.
Use --refresh for a new official snapshot. The recall label index (data/recall-labels.db,
about 10 MB, built in seconds from NHTSA's two recall flat files) lets reports find campaigns
NHTSA files under another model name; without it, reports say the related-name list is partial.
NHTSA updates the flat files daily; scripts/nhtsa-build.sh odi rebuilds the index when they change.
Recalls, complaints and 5-Star Safety Ratings are answered from local copies of NHTSA's public data when they are
installed (data/nhtsa-recalls.db, about 80 MB; data/nhtsa-complaints.db, about 1.7 GB; data/nhtsa-ratings.db),
with NHTSA's live API as the fallback; each answer's data_source says which. Every NHTSA-derived file (these three,
the recall label, investigation and bulletin indexes and vpic.db) and EPA's data/fueleconomy.db is rebuilt on the
build server when its source changes (scripts/nhtsa-build.sh), gated, and pulled and swapped in by the web server (scripts/nhtsa-install.py),
with a freshness check that mails the owner (scripts/nhtsa_datasets.py check); deploy/systemd/ holds the timers,
not installed by default. See local NHTSA data.
The standard bulletin index needs about 3.4 GB plus archives. To reduce storage without
changing the API, run python3 scripts/compact-communications.py data/communications.db data/communications-compact.db.
The compact target is a separate file, verified row for row; deploy it under the name
data/communications.db. Never overwrite account data.
With the server and indexes running, node scripts/research-smoke.mjs verifies real sources,
pagination and MCP; set VIN_BASE_URL to select a server.
Agent analysis
Agents can query the structured results, combine them with explicit assumptions, and use charting or document tools to create figures and analysis. Custom chart rendering happens in the agent's tools. The API supplies comparisons, scenario calculations, provenance and JSON. Configuration/model-year data and VIN-specific facts retain their distinct scopes.
VIN recall repairs: mcp.vin does not check them and does not ask any manufacturer about a VIN. Every report's recall_status links to the manufacturer's own recall page (the VIN filled in where the page takes it from the link: Ford, Tesla, Honda, Acura, Subaru, Hyundai) and to NHTSA's VIN recall page, with open_count and completed_count null (unknown, never zero); vin_recall_status, GET /api/vin/{vin}/recall-status and VinClient.recallStatus(vin) return the same block. Makes without a listed page get NHTSA's link only. ?recall_wait (REST) and recall_wait (MCP) are ignored. When NHTSA's API is asked for complaints (the local copy missing or out of date), its list (5-17 s for a common model) can arrive after the report: complaints.pending: true with status_url /api/vin/{vin}/complaints. See the source and coverage notes.
mcp.vin is an independent free service, not affiliated with or endorsed by NHTSA, EPA, the U.S. Department of Energy, Transport Canada, the Federal Reserve or any vehicle manufacturer. Transport Canada dimensions: contains information licensed under the Open Government Licence – Canada.
Deployment caching: HTML must revalidate, API responses must not be stored by shared caches, and changed JavaScript/PDF links use a content-hash query version generated by node scripts/version-assets.mjs. API clients also bypass stored browser responses. Preserve these policies in any reverse proxy so updated recall records are rendered by the matching client code.
License
MIT
Built for mcp.vin
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Decode US-market VINs and list NHTSA recall campaigns for the make, model and year. Free, no auth.
Look up vehicle identity, safety, fuel economy, and recorded market history by VIN.
Vehicle data for AI: VIN decoder, automotive specs, stolen checks, valuation and way more.
Decodes US VINs and looks up open NHTSA safety recall campaigns for a vehicle.
Related MCP Servers
- AlicenseCqualityDmaintenanceEnables access to comprehensive vehicle information including VIN decoding, license plate OCR, vehicle history checks (theft, title, salvage records), market valuations, specifications, and warranty data for vehicles across North America and Europe.611MIT
- AlicenseAqualityBmaintenanceDecode VINs, look up specs, history, recalls, market value, and OBD codes. Recognize license plates and VINs from images. Access comprehensive vehicle data by year, make, and model to power automotive workflows.121MIT
- AlicenseNot gradedqualityCmaintenanceEnables querying U.S. vehicle safety and specification data, including VIN decoding, recalls, complaints, investigations, and crash test ratings.76 npmMIT

auto-devofficial
AlicenseNot gradedqualityBmaintenanceEnables decoding VINs into complete vehicle specifications, searching active used car listings from US dealers, and retrieving vehicle valuations with total cost of ownership estimates.85 npmMIT