车辆诊断MCP服务器

Peykan 是一个车辆诊断 MCP 服务器,通过内置虚拟 CAN 总线和 ECU 模拟器将 CAN、OBD-II、UDS 与 SAE J1939 诊断数据开放给 LLM 和 AI 代理,适用于无真实车辆硬件环境下的车载诊断、故障注入、CAN 日志分析及 AI 车辆应用开发。

  • by farzadnadiri
  • Python
  • 混合部署
  • 25 星标
  • 更新于
在 GitHub 查看 farzadnadiri/mcp-ecu

使用说明

🚗 Peykan: Talk to Your Car Using AI

🔌 Virtual CAN + MCP Server

Peykan is a Model Context Protocol (MCP) server that exposes automotive CAN bus, OBD-II (SAE J1979), UDS, and SAE J1939 diagnostic data to LLMs and AI agents. It ships a built-in virtual CAN bus with an ECU simulator, decodes traffic via a DBC database (cantools), and serves MCP tools over SSE or streamable-HTTP. No CAN hardware, adapter, or vehicle is required by default; optional SocketCAN/vCAN on Linux.

Use it to let an LLM read live CAN frames, decode signals, run OBD-II PID and UDS diagnostic requests, inspect J1939 PGNs/SPNs and DM1 trouble codes, and drive fault-injection scenarios against a simulated vehicle, analyse recorded CAN logs, or work with real hardware behind a read-only-by-default safety policy.

Try it in your browser: peykan.ai gives you a private simulated car and an AI agent to talk to it, no install needed.