Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

OBD-II Car Diagnostics (ELM327)

Latest version: v0.6.0

Overview

Last scanned
27 Nov 2026
Published
27 Nov 2026
MCP server Transport: stdio Publisher: shoka-jp
2 Stars
2 Forks
1 Versions
TypeScript Repo language

Scan summary

OBD-II Car Diagnostics (ELM327) was last scanned on 27 Nov 2026 at version 0.6.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: First and only release on 27 Nov 2026.
  • Findings: No rules fired in version 0.6.0.
  • MCP server: Runs over stdio.

Versions

1 version published
Versions and the rules that fired in each
VersionPublishedStatus
0.6.0 LATEST 27 Nov 2026 No rules fired

No rules fired in 0.6.0

Findings

Findings for v0.6.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.6.0; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

obd2-mcp

See actual mock output and run the demo without an AI client.

New here? Try the step-by-step mock demo — no car required.

Want to contribute? Find a first issue or read the contribution guide. Documentation, tests and questions are welcome in English or Japanese. Share first-use feedback (a public GitHub issue).

English | 日本語

License: MIT Mock and package checks Latest release

An MCP server that lets AI assistants read your car's OBD-II data through cheap ELM327 adapters — trouble codes, live sensors, freeze frame, readiness monitors, and VIN.

Try it without an AI client or car: with Node.js 22 or 24 and npm installed, run this in a terminal. npm downloads the built package and its dependencies; Git and a local build are not needed.

npm exec --yes --package=https://github.com/shoka-jp/obd2-mcp/releases/download/v0.6.0/obd2-mcp-0.6.0.tgz -- obd2-mcp --demo --summary

The command uses the package attached to this repository's v0.6.0 release. It prints simulated observations and exits. See the output and what to check next.

Example from the mock vehicle: stored code P0420; freeze frame at 98 km/h and 2,210 rpm; current reading 0 km/h and 740 rpm. These are simulated observations, not a diagnosis. See the captured results and their limits.

For the complete tool responses, remove --summary. Add --lang ja for the Japanese summary. To develop or connect an MCP client from source, follow the quick start below.

Ask Claude "why is my check-engine light on?" and it reads the actual codes from your actual car, pulls the freeze frame before anything gets erased, checks the fuel trims, and reasons about causes — instead of you transcribing scanner output by hand.

No hardware? It still works. A built-in mock vehicle (a warm idling sedan with a stored P0420, MIL on, and realistic live data) lets you try everything before buying an adapter.

Choose how to start

You want to… Start here You need
See what it returns, without an AI client or a car The demo command above Node.js 22 or 24
Use it in Claude Desktop Install the .mcpb extension Claude Desktop
Use it in Claude Code or another MCP client Register the release package with npx Node.js 22 or 24
Check a used car before buying The used_car_check prompt and walkthrough; try it first with --demo --summary --scenario cleared An ELM327 adapter and the seller's permission
Read your own car Plug in the adapter and ask Claude to connect (how it works), then troubleshooting if needed A USB, Bluetooth (serial) or WiFi ELM327 adapter (which kind to buy)
Change the code or contribute Build from source and the contribution guide Git and Node.js

Every path starts with the simulated vehicle, so you can check the setup before connecting a car. In your MCP client, the guided prompts such as check_engine_light are an easy first question.

Claude Desktop: install as an extension

Each GitHub release from v0.4.0 includes obd2-mcp-<version>.mcpb, a Claude Desktop extension. It needs no Git, build step or JSON editing:

  1. Download the .mcpb file from the release.
  2. Open it with Claude Desktop (double-click it, or install it from Settings → Extensions) and confirm the installation.
  3. Ask: "Read my car's trouble codes and tell me what to check before I spend money." The extension starts with the simulated vehicle.

To use a real adapter, just ask. Plug the adapter into the car, turn the ignition on (pair a Bluetooth adapter in the computer's settings first, or join a WiFi adapter's network), and ask: "Connect to my car's adapter." Claude finds a USB or Bluetooth adapter with find_adapter and, after asking you, connects with use_adapter. No port name or restart is needed. This lasts until Claude Desktop restarts; to keep it, set Adapter connection in the extension's settings to the value Claude shows (for example serial:COM3 or tcp:192.168.0.10:35000). The extension includes its dependencies and serial-port support for Windows, macOS and Linux. Release checks start it with the mock vehicle on Linux; Windows and macOS installs and real adapters have not been verified.

Quick start (mock mode — no hardware)

Without Git or a build

With Node.js 22 or 24 and npm installed, an MCP client can start the v0.6.0 release package directly. First run the demo command near the top of this page once: it downloads the package into npm's cache, so the client's first start does not wait for the download (about 40 seconds in a Windows test).

Claude Code:

claude mcp add obd2 -- npx -y --package=https://github.com/shoka-jp/obd2-mcp/releases/download/v0.6.0/obd2-mcp-0.6.0.tgz obd2-mcp

On native Windows, put cmd /c before npx.

Claude Desktop (claude_desktop_config.json):

{
  "mcpServers": {
    "obd2": {
      "command": "npx",
      "args": ["-y", "--package=https://github.com/shoka-jp/obd2-mcp/releases/download/v0.6.0/obd2-mcp-0.6.0.tgz", "obd2-mcp"]
    }
  }
}

On Windows, use "command": "cmd" and start args with "/c", "npx". If Claude Desktop cannot find npx, use its full path (which npx on macOS/Linux, where npx on Windows). For a real adapter, add "env": {"OBD2MCP_CONNECTION": "serial:COM3"}; see Connecting a real car. The release URL always refers to v0.6.0; change it to upgrade.

From source

Build from source using Git and Node.js/npm. Verify npm availability before using registry installation.

git clone https://github.com/shoka-jp/obd2-mcp.git
cd obd2-mcp
npm ci
npm run build
node -p "require('node:path').resolve('dist/index.js')"

Replace /absolute/path/to/obd2-mcp/dist/index.js below with the absolute path printed by the last command. Windows JSON configuration can use forward slashes.

Claude Code:

claude mcp add obd2 -- node "/absolute/path/to/obd2-mcp/dist/index.js"

Claude Desktop (claude_desktop_config.json):

{
  "mcpServers": {
    "obd2": {
      "command": "node",
      "args": ["/absolute/path/to/obd2-mcp/dist/index.js"]
    }
  }
}

Then ask: "Read my car's trouble codes and tell me what to check before I spend money."

Try another mock scenario

Set OBD2MCP_MOCK_SCENARIO in your MCP client configuration while using OBD2MCP_CONNECTION=mock. Available values are catalyst (default, P0420), healthy (no codes), misfire (P0301), lean (P0171 with elevated bank 1 fuel trims), evap (P0456 evaporative emission system small leak), and cleared (codes cleared recently: nothing stored and the light off, but a permanent P0420 and three incomplete monitors; try it with the used_car_check prompt). These are synthetic teaching examples, not diagnoses or verified vehicle profiles. An unknown scenario stops startup instead of falling back silently. The setting is ignored for real connections.

For example, register a separate Claude Code mock server:

claude mcp add obd2-lean --env OBD2MCP_CONNECTION=mock --env OBD2MCP_MOCK_SCENARIO=lean -- node "/absolute/path/to/obd2-mcp/dist/index.js"

Restart the server after changing the setting. Each server has independent mock state. Clearing a mock scenario resets its readiness monitors (its permanent code stays, as on a real car) and does not affect any vehicle.

To look at a scenario without an MCP client, add --scenario to the demo command, for example obd2-mcp --demo --summary --scenario cleared (add --lang ja for Japanese).

Connecting a real car

You need an ELM327-compatible USB, Bluetooth-serial, or WiFi adapter plugged into the vehicle's OBD-II port, with the ignition on. Support varies by vehicle, market, protocol, adapter and connection method; this project has not yet verified a real-vehicle or real-adapter combination. Start with read-only checks while parked, and do not assume that an adapter connection confirms vehicle communication. Not every adapter can work with a computer: Bluetooth LE-only models cannot; see choosing an adapter.

The easy way: ask your MCP client to connect. find_adapter checks only ports that look like an adapter (a known USB-serial chip or a Bluetooth serial port) and asks each to identify itself (ATZ), without contacting the vehicle; use_adapter then switches the session after checking that the adapter answers. For safety, use_adapter accepts only serial port names and local-network WiFi addresses, and clearing codes stays disabled.

To set a connection permanently, use the environment variable or CLI flag:

Adapter Setting
USB / Bluetooth (serial port) OBD2MCP_CONNECTION=serial:COM3 (Windows) / serial:/dev/ttyUSB0 (Linux) / serial:/dev/tty.usbserial-XXXX (macOS)
WiFi OBD2MCP_CONNECTION=tcp:192.168.0.10:35000
Mock (default) OBD2MCP_CONNECTION=mock

Find the serial port name. Ask your MCP client to run list_serial_ports, or run node dist/index.js --list-ports in a terminal. Both list the ports the operating system reports, with the exact serial: value to use, without opening a port or contacting the vehicle. If you are unsure which entry is the adapter, unplug or unpair it and list again. A known USB-serial chip (FTDI, CH340, PL2303 or CP210x) is a hint, not proof that the port is an OBD-II adapter. Listing requires the optional serialport dependency; WiFi adapters are not listed.

Serial baud rate defaults to 38400; override with OBD2MCP_BAUD=115200 if your adapter needs it. Bluetooth adapters must first be paired at the OS level so they expose a serial port.

A malformed connection, port number or baud rate stops startup with a message naming the setting. Write an IPv6 address in brackets, for example tcp:[fe80::1]:35000.

A WiFi adapter that does not accept the connection within 10 seconds returns a timeout error. Check that the computer is on the adapter's network, then restart the server before trying again.

If the port, pairing, permissions or vehicle replies cause trouble, see connection troubleshooting.

Tried it with a real car? Please report your setup, whether it worked or not. Reports are listed in reported setups; none have been verified by the project yet.

Claude Code example with a real adapter:

claude mcp add obd2 --env OBD2MCP_CONNECTION=serial:COM3 -- node "/absolute/path/to/obd2-mcp/dist/index.js"

Guided prompts

Not sure what to ask? The server provides four ready-made prompts. Claude Desktop lists them in the attachment (+) menu under the server's name, and Claude Code offers them as slash commands such as /mcp__obd2__check_engine_light.

Prompt What it does
check_engine_light Reads the diagnostic report, explains each code in plain words, keeps the freeze frame separate from live readings, and lists inexpensive checks before a workshop visit. Optional: your symptoms and reply language.
workshop_handover Turns the diagnostic report into a short note for a mechanic, with unknowns and errors kept visible and the VIN and personal details left out.
used_car_check For a used car you are considering: with the seller's permission, reads codes, permanent codes (read_permanent_dtcs) and readiness monitors, points out signs that codes were cleared recently as questions rather than proof, suggests reading again after the test drive, and lists questions for the seller and a pre-purchase inspection. Optional: what the seller says and reply language. Walkthrough
connect_adapter Finds a USB or Bluetooth adapter with find_adapter, connects with use_adapter after asking, checks the connection, and explains how to keep the setting. Written for users who are not technical: it does not ask for a port name.

The server also sends usage instructions when a client connects, so Claude knows to label mock data, check supported sensors first and leave codes uncleared even without a prompt. The prompts only instruct Claude; every vehicle access still goes through the read-only tools. They tell Claude not to clear codes or request the VIN, and to label mock data and missing values.

One-call evidence report

With the server configured in your MCP client, ask: "Run read_diagnostic_report and turn its observations, missing values and errors into a workshop handover note. Keep freeze-frame values separate from live readings."

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • MCP Registry io.github.shoka-jp/obd2-mcp

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

Copy of Template Design OX Blog (1)
Research

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Frame 2085668439 (1)
Group 1261154229