Virtual CAN
Surfaces vehicle CAN/OBD data to LLMs/SLMs by simulating ECUs on a virtual CAN bus, decoding signals via DBC, and exposing tools over SSE.
Virtual CAN creates a simulation environment to surface vehicle CAN/OBD data for Large Language Models (LLMs) and Small Language Models (SLMs). It simulates ECUs on a virtual CAN bus, decodes data using a DBC file, and exposes a suite of Model Context Protocol (MCP) tools via Server-Sent Events (SSE). This allows developers to interact with simulated vehicle data, monitor signals, decode frames, and integrate directly with LLM hosts for natural language interaction with vehicle diagnostics, all without needing physical hardware.
Características Principales
01Includes a virtual CAN backend and ECU simulator for hardware-free operation
02Offers Docker support for easy deployment of the server and simulator
03Performs DBC-driven encoding and decoding of CAN messages
04Exposes CAN/OBD data and DBC metadata to LLMs/SLMs as MCP tools over SSE
05Provides a comprehensive Typer CLI for CAN frame interaction, decoding, and monitoring
061 GitHub stars
Casos de Uso
01Simulating vehicle CAN and OBD-II data for development and testing without physical hardware
02Integrating vehicle diagnostic data with Large Language Models (LLMs) for natural language querying and analysis
03Developing and testing MCP-capable hosts that interact with automotive data streams