File size: 5,898 Bytes
15561ac 21f6cd3 c9c8d7d 21f6cd3 c9c8d7d 21f6cd3 c9c8d7d 21f6cd3 c9c8d7d 21f6cd3 c9c8d7d 21f6cd3 c9c8d7d 21f6cd3 c9c8d7d 21f6cd3 c9c8d7d 21f6cd3 c9c8d7d 21f6cd3 c9c8d7d 21f6cd3 c9c8d7d 21f6cd3 c9c8d7d 21f6cd3 c9c8d7d 21f6cd3 c9c8d7d 21f6cd3 c9c8d7d 21f6cd3 c9c8d7d 21f6cd3 c9c8d7d 21f6cd3 c9c8d7d 15561ac 21f6cd3 15561ac 21f6cd3 15561ac | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 | ---
license: other
tags:
- vin
- nhtsa
- vpic
- vehicle
- database
tables:
- make
- model
- make_model
- wmi
- pattern
- vehicletype
- wmi_vinschema
- vinexception
- vinschema
- manufacturer
- country
- drivetype
- fueltype
- bodystyle
- transmission
- enginemodel
- enginemodelpattern
- vspecschemapattern
- vPIC_sqlite.db
configs:
- config_name: make
data_files:
- split: train
path: make.parquet
- config_name: model
data_files:
- split: train
path: model.parquet
- config_name: make_model
data_files:
- split: train
path: make_model.parquet
- config_name: wmi
data_files:
- split: train
path: wmi.parquet
- config_name: pattern
data_files:
- split: train
path: pattern.parquet
- config_name: vehicletype
data_files:
- split: train
path: vehicletype.parquet
- config_name: wmi_vinschema
data_files:
- split: train
path: wmi_vinschema.parquet
- config_name: vinexception
data_files:
- split: train
path: vinexception.parquet
- config_name: vinschema
data_files:
- split: train
path: vinschema.parquet
- config_name: manufacturer
data_files:
- split: train
path: manufacturer.parquet
- config_name: country
data_files:
- split: train
path: country.parquet
- config_name: drivetype
data_files:
- split: train
path: drivetype.parquet
- config_name: fueltype
data_files:
- split: train
path: fueltype.parquet
- config_name: bodystyle
data_files:
- split: train
path: bodystyle.parquet
- config_name: transmission
data_files:
- split: train
path: transmission.parquet
- config_name: enginemodel
data_files:
- split: train
path: enginemodel.parquet
- config_name: enginemodelpattern
data_files:
- split: train
path: enginemodelpattern.parquet
- config_name: vspecschemapattern
data_files:
- split: train
path: vspecschemapattern.parquet
---
# NHTSA vPIC Curated Vehicle Database
Curated vehicle database derived from [NHTSA's vPIC](https://vpic.nhtsa.dot.gov/)
data, optimized for VIN decoding via the [vin-decode-mcp](https://github.com/joakes90/vin-decode-mcp) server.
## Source
Data sourced from the National Highway Traffic Safety Administration (NHTSA),
an agency of the United States Department of Transportation. NHTSA is a
government agency and the services provided are free for use by the public
as part of their Open Data initiative. No API key or registration required.
**[Download NHTSA vPIC standalone databases](https://vpic.nhtsa.dot.gov/Downloads/)**
## What's Included
This is the **full vPIC SQLite database** with all NHTSA vehicle specification
tables, including:
| Category | Description |
|---|---|
| `make` | Vehicle manufacturers (~12,328) |
| `model` | Vehicle models (~31,869) |
| `vehicletype` | Vehicle type categories |
| `make_model` | Make/model relationships |
| `wmi` | World Manufacturer Identifiers (~12,971) |
| `wmi_vinschema` | WMI to VIN schema mapping |
| `pattern` | VIN descriptor patterns (~1.67M) |
| `vinexception` | VIN exception rules (~18,805) |
| `vinschema` | VIN schema definitions |
| `model_years` | Production year ranges |
| `engine_*` | Engine specifications (model, model, pattern, etc.) |
| `body_*` | Body specifications (style, cab, type, etc.) |
| `fuel_*` | Fuel specifications (type, delivery, tank, etc.) |
| `safety_*` | Safety equipment (airbags, brakes, ABS, etc.) |
| `battery_*` | Battery/electrification specs |
| `transmission` | Transmission types |
| `drivetype` | Drive types (FWD, RWD, AWD, etc.) |
## Database Stats
- **Size**: ~627 MB
- **Format**: SQLite (`.db`)
- **Source vintage**: 2026-08
## Dataset Viewer
This dataset is available in the [Dataset Viewer](https://huggingface.co/docs/hub/datasets-viewer) with individual tables available as separate configurations (config dropdown at top right). Key tables are also exported as [Parquet](https://parquet.apache.org/) for fast browser-based browsing.
### Available Tables (Parquet exports)
| Table | Config | Rows | Parquet Size |
|---|---|---|---|
| **make** | `make` | 12,328 | 0.3 MB |
| **model** | `model` | 31,869 | 0.6 MB |
| **make_model** | `make_model` | 31,869 | 0.6 MB |
| **wmi** | `wmi` | 12,971 | 0.6 MB |
| **pattern** | `pattern` | 1,674,161 | 28.6 MB |
| **vehicletype** | `vehicletype` | 9 | <1 MB |
| **wmi_vinschema** | `wmi_vinschema` | 41,708 | 0.7 MB |
| **vinexception** | `vinexception` | 18,805 | 0.2 MB |
| **vinschema** | `vinschema` | 25,149 | 1.4 MB |
| **manufacturer** | `manufacturer` | 22,893 | 0.5 MB |
| **country** | `country` | 199 | <1 MB |
| **drivetype** | `drivetype` | 23 | <1 MB |
| **fueltype** | `fueltype` | 14 | <1 MB |
| **bodystyle** | `bodystyle` | 71 | <1 MB |
| **transmission** | `transmission` | 12 | <1 MB |
| **enginemodel** | `enginemodel` | 346 | <1 MB |
| **enginemodelpattern** | `enginemodelpattern` | 2,510 | <1 MB |
| **vspecschemapattern** | `vspecschemapattern` | 16,754 | 0.1 MB |
## Usage
Download the `.db` file and use with the MCP server:
```bash
export VIN_MCP_DB_PATH=/path/to/vPIC_sqlite.db
vin-decode-mcp
```
Or query directly:
```python
import sqlite3
conn = sqlite3.connect("vPIC_sqlite.db", uri=True)
conn.row_factory = sqlite3.Row
# List makes
makes = conn.execute("SELECT * FROM make ORDER BY name").fetchall()
```
## Refresh Frequency
This database is rebuilt from NHTSA's standalone databases approximately
every 6-12 months. Check the build timestamp in `dataset_info` for the
source vintage.
## Attribution
Vehicle data: [NHTSA vPIC](https://vpic.nhtsa.dot.gov/)
Curated database pipeline: [vin-decode-mcp](https://github.com/joakes90/vin-decode-mcp)
|