joakes90 commited on
Commit
15561ac
·
verified ·
1 Parent(s): d7adaa3

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +96 -0
README.md ADDED
@@ -0,0 +1,96 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ tags:
4
+ - vin
5
+ - nhtsa
6
+ - vpic
7
+ - vehicle
8
+ - database
9
+ ---
10
+
11
+ # NHTSA vPIC Curated Vehicle Database
12
+
13
+ Curated vehicle database derived from [NHTSA's vPIC](https://vpic.nhtsa.dot.gov/)
14
+ data, optimized for VIN decoding via the [vin-decode-mcp](https://github.com/joakes90/vin-decode-mcp) server.
15
+
16
+ ## Source
17
+
18
+ Data sourced from the National Highway Traffic Safety Administration (NHTSA),
19
+ an agency of the United States Department of Transportation. NHTSA is a
20
+ government agency and the services provided are free for use by the public
21
+ as part of their Open Data initiative. No API key or registration required.
22
+
23
+ **[Download NHTSA vPIC standalone databases](https://vpic.nhtsa.dot.gov/Downloads/)**
24
+
25
+ ## What's Included
26
+
27
+ This is the **full vPIC SQLite database** with all NHTSA vehicle specification
28
+ tables, including:
29
+
30
+ | Category | Description |
31
+ |---|---|
32
+ | `make` | Vehicle manufacturers (~12,328) |
33
+ | `model` | Vehicle models (~31,869) |
34
+ | `vehicletype` | Vehicle type categories |
35
+ | `make_model` | Make/model relationships |
36
+ | `wmi` | World Manufacturer Identifiers (~12,971) |
37
+ | `wmi_vinschema` | WMI to VIN schema mapping |
38
+ | `vin_pattern` | VIN descriptor patterns (~1.67M) |
39
+ | `vin_exception` | VIN exception rules (~18,805) |
40
+ | `vinschema` | VIN schema definitions |
41
+ | `model_years` | Production year ranges |
42
+ | `engine_*` | Engine specifications (model, model, pattern, etc.) |
43
+ | `body_*` | Body specifications (style, cab, type, etc.) |
44
+ | `fuel_*` | Fuel specifications (type, delivery, tank, etc.) |
45
+ | `safety_*` | Safety equipment (airbags, brakes, ABS, etc.) |
46
+ | `battery_*` | Battery/electrification specs |
47
+ | `transmission` | Transmission types |
48
+ | `drivetype` | Drive types (FWD, RWD, AWD, etc.) |
49
+
50
+ ## Database Stats
51
+
52
+ - **Size**: ~627 MB
53
+ - **Format**: SQLite (`.db`)
54
+ - **Source vintage**: 2026-08
55
+
56
+ ## Coverage
57
+
58
+ US-market vehicles, model year 1981 and forward. Includes:
59
+ - Passenger Cars
60
+ - Trucks
61
+ - MPVs (Multipurpose Passenger Vehicles)
62
+ - Motorcycles
63
+ - Off-Road Vehicles
64
+
65
+ Excluded: Buses, Trailers, Low-Speed Vehicles, Incomplete Vehicles.
66
+
67
+ ## Usage
68
+
69
+ Download the `.db` file and use with the MCP server:
70
+
71
+ ```bash
72
+ export VIN_MCP_DB_PATH=/path/to/vPIC_sqlite.db
73
+ vin-decode-mcp
74
+ ```
75
+
76
+ Or query directly:
77
+
78
+ ```python
79
+ import sqlite3
80
+ conn = sqlite3.connect("vPIC_sqlite.db", uri=True)
81
+ conn.row_factory = sqlite3.Row
82
+
83
+ # List makes
84
+ makes = conn.execute("SELECT * FROM make ORDER BY name").fetchall()
85
+ ```
86
+
87
+ ## Refresh Frequency
88
+
89
+ This database is rebuilt from NHTSA's standalone databases approximately
90
+ every 6-12 months. Check the build timestamp in `dataset_info` for the
91
+ source vintage.
92
+
93
+ ## Attribution
94
+
95
+ Vehicle data: [NHTSA vPIC](https://vpic.nhtsa.dot.gov/)
96
+ Curated database pipeline: [vin-decode-mcp](https://github.com/joakes90/vin-decode-mcp)