MechanicDB
Sec 00 · Diagnostic Reference

Every check-engine light, decoded and costed.

MechanicDB maps 15,886 verified OBD-II trouble codes — 9,249 SAE-standard plus 6,637 manufacturer-specific across 32 makes — to 56,528 ranked repair procedures — each with a DIY difficulty rating, parts-cost range, and labor estimate. Built for OBD apps, scan-tool firmware, AI mechanic co-pilots, and shop software.

Code anatomy — live from the sample

probability-ranked · parts cost in USD · labor in shop hours — 3 of the code's ranked fixes shown
Sec 01 · What's inside

Four relational tables, one join key chain

Normalized for databases, pre-joined for notebooks. Every code carries 3–5 fixes ranked by real-world likelihood; every fix maps to purchasable aftermarket parts.

dtc_codes

15,886 rows

The code registry: definition, system category, OEM flag/make, fault family, and a code-specific technical explanation.

  • dtc_code · PK chain start
  • is_oem_specific / oem_make
  • fault_family
  • detailed_technical_explanation

diagnostic_fixes

56,528 rows

Ranked repair procedures with difficulty tier, parts-cost range, labor hours, and step-by-step instructions.

  • probability_rank 1–5
  • difficulty_level
  • est_parts_cost min/max USD

replacement_parts

74,916 rows

Aftermarket part names per fix, with catalog search URLs derived from the part name.

  • part_name
  • amazon_search_query

dtc_fixes_joined

56,528 rows

The pre-joined analytical view — codes × fixes in one flat file for instant ingestion.

  • all 16 columns
  • one read_csv / read_parquet

join chain: dtc_codes.code_id → diagnostic_fixes.code_id → replacement_parts.fix_id

Sec 02 · Specifications

Data sheet

Coverage9,249 SAE-standard codes — P0, P2, P34–P39, C0, B0, U0, U3 generic ranges. Powertrain, chassis, body, and network, including hybrid/EV (P0Axx–P0Exx) and diesel aftertreatment.
OEM coverage6,637 manufacturer-specific codes across 32 makes — P1, P30–P33, C1/C2, B1/B2, U1/U2 manufacturer-controlled ranges (Ford, Toyota, BMW, GM, and 28 more). 15,886 codes total.
Repair intelligence644 authored fault families → 56,528 ranked fixes → 74,916 parts mappings. Difficulty tiers: Easy DIY / Moderate DIY / Professional Required.
Delivery formatsPipe-delimited CSV (UTF-8 BOM, Excel-safe) · Apache Parquet, Snappy — a measured 92.0% smaller · SQLite database, all four tables.
Quality gatesDeterministic, test-gated build: referential integrity, anti-template uniqueness checks, and a no-fabricated-codes gate — every published code traces to the committed source.
Safety framingHigh-voltage procedures lead with lockout / zero-volt verification; SRS work requires battery disconnect and capacitor discharge wait. Hazardous steps are never rated DIY.
ProvenanceCode definitions compiled from public SAE J2012-derived sources (MIT-licensed, attribution preserved). Procedures, difficulty ratings, and costs are original authored content.
Sec 03 · Licensing

Three ways in

Developer sample

$0
ODbL v1.0 · open data
  • 90 curated codes (75 SAE + 15 OEM) — the most-searched DTCs
  • Identical schema to the full dataset
  • CSV + Parquet, on GitHub and Kaggle
  • Research, education, benchmarking
Download the sample

OEM complete

$149
one-time · commercial use
  • Everything in Standard
  • 6,637 OEM codes across 32 makes — Ford, Toyota, BMW, GM, and 28 more
  • Full merged dataset: 15,886 codes, 56,528 fixes, 74,916 parts
  • CSV + Parquet + SQLite delivery
Request a license

Prefer email? Licensing inquiries: mechanicdb.urologist336@simplelogin.com

Sec 04 · Provenance & support

Where the data comes from

Code-to-definition mappings originate in SAE J2012 / ISO 15031-6 and are compiled from an MIT-licensed public compilation, with the upstream license committed alongside the data. The value layer — fault-family explanations, ranked procedures, difficulty tiers, and cost ranges — is original editorial content grounded in standard diagnostic practice. Cost and labor figures are estimates for typical US aftermarket parts and independent-shop labor, not quotes.

Safety notice. Repair steps are educational reference material, not a substitute for the manufacturer's service manual. High-voltage and SRS/airbag procedures must only be performed by qualified technicians.

Links