# USB LIN Converter

> USB LIN Converter is an open-source MCP server for developer tools. Sniff and decode a car's LIN bus from an AI agent via a USB LIN dongle. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, Linux, macOS, Windows, self-hosted
- **Website:** https://ucandevices.github.io/ulc.html
- **Repository:** https://github.com/ucan-lin/linusbconverter
- **MCP Registry name:** io.github.Lukasz-Juranek/lin-usb-converter
- **Categories:** developer tools
- **Listing updated:** 2026-11-14

## About

The server ships with the open-source uLC dongle, a 31 x 18 mm STM32-based board that appears on the PC as a virtual COM port and speaks an SLCAN-style ASCII protocol. The registry entry describes the agent side as capturing traffic, spotting changing bits, detecting bus speed and decoding LDF files.

The README says it can capture traffic with per-ID periods and changing bits, log every data change while you press a button, find the bus speed and checksum type automatically, and decode or encode signals from an LDF file. It is read-only by default; sending frames or acting as LIN master or slave requires the `--allow-transmit` flag.

It runs locally over stdio from PyPI (`uvx ucan-lin-mcp`), and a `--mock` mode lets you try it without hardware. Real use needs the dongle plus an external 4.5 to 28 V supply for the LIN side.

## Features

- **Bus capture:** Records LIN traffic with per-ID periods and which bits change.
- **Change logging:** Logs every data change while you operate a control such as a button.
- **Auto-detect speed:** Finds the bus baud rate and checksum type automatically.
- **LDF decoding:** Decodes and encodes signals using an LDF description file.
- **Read-only default:** Transmitting or acting as master/slave needs --allow-transmit.
- **Mock mode:** Run with --mock to try the server without the dongle.

## Good for

- Reverse-engineer which LIN frame a car switch uses
- Find the baud rate of an unknown LIN network
- Decode captured frames into named signals with an LDF
- Monitor a LIN bus while developing a slave device

## Install

### Claude Code (Terminal)

```sh
claude mcp add lin-usb-converter -- uvx ucan-lin-mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "lin-usb-converter": {
      "command": "uvx",
      "args": [
        "ucan-lin-mcp"
      ]
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "lin-usb-converter": {
      "command": "uvx",
      "args": [
        "ucan-lin-mcp"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "lin-usb-converter": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "ucan-lin-mcp"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "lin-usb-converter": {
      "command": "uvx",
      "args": [
        "ucan-lin-mcp"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "lin-usb-converter": {
      "command": "uvx",
      "args": [
        "ucan-lin-mcp"
      ]
    }
  }
}
```

## FAQ

### Can the server send frames onto the bus?

Only if started with --allow-transmit; it is read-only by default.

### Do I need hardware?

Yes for a real bus: the USB LIN Converter dongle. A --mock flag runs it without one.

### How do I install it?

Run `uvx ucan-lin-mcp` from PyPI (Python 3.10 or newer).

### Does the dongle need drivers?

No driver is needed on Windows 10/11, Linux or macOS; it uses the built-in USB CDC driver.

### Is USB LIN Converter free?

Yes. USB LIN Converter is open source, so you can use and self-host it for free.

### How do I add USB LIN Converter to Claude Code?

Run this command in your terminal: claude mcp add lin-usb-converter -- uvx ucan-lin-mcp

### What are the best alternatives to USB LIN Converter?

The closest alternatives to USB LIN Converter are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github-2): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Ouroboros](https://ai-powered.com/mcp/ouroboros): Ouroboros is an open-source MCP server for developer tools.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [Concord MCP](https://ai-powered.com/mcp/concord-mcp): Concord MCP is a freemium MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/usb-lin-converter
