Logic Analyzer AI

v1.0.0Developer Toolsstable

This project provides an AI MCP server logic analyzers. It enables remote control, automation, and integration of Saleae Logic devices and captures, making it easy to script, manage, and analyze logic analyzer data programmatically.

logic-analyzer-aimcpai-integration
Share:
9
Stars
0
Downloads
0
Weekly
0/5

What is Logic Analyzer AI?

Logic Analyzer AI is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to this project provides an ai mcp server logic analyzers. it enables remote control, automation, and integration of saleae logic devices and captures, making it easy to script, manage, and analyze logic...

This project provides an AI MCP server logic analyzers. It enables remote control, automation, and integration of Saleae Logic devices and captures, making it easy to script, manage, and analyze logic analyzer data programmatically.

This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • This project provides an AI MCP server logic analyzers. It e

Use Cases

Automate Saleae Logic device control and capture management.
Perform logic analysis and data processing programmatically.
wegitor

Maintainer

LicenseMIT
Languagepython
Versionv1.0.0
UpdatedFeb 16, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx logic-analyzer-ai

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Logic Analyzer AI

The Logic Analyzer AI MCP server bridges Claude with Saleae Logic 2 hardware via its Python automation API. Once connected, you can instruct Claude to configure capture parameters, start and stop captures, retrieve digital channel data, and export results — turning your AI assistant into a hands-free logic analyzer controller for embedded hardware debugging workflows.

Prerequisites

  • Python 3.10 or later installed
  • uv package manager installed (pip install uv or curl -Lsf https://astral.sh/uv/install.sh | sh)
  • Saleae Logic 2 software installed (v1.2.40+ recommended; Windows builds are most tested)
  • A Saleae Logic device (Logic 16, Logic Pro 8, etc.) connected via USB
  • Scripting socket server enabled in Logic 2: Options > Preferences > Enable scripting socket server
1

Clone the repository

Clone the logic-analyzer-ai-mcp project and enter the directory.

git clone https://github.com/wegitor/logic-analyzer-ai-mcp.git
cd logic-analyzer-ai-mcp
2

Install Python dependencies

Install all required packages including the Saleae automation library, gRPC bindings, and the MCP SDK.

uv pip install -e .
# or install individual dependencies:
uv pip install grpcio protobuf grpcio-tools mcp[cli]
uv pip install git+https://github.com/saleae/logic2-automation/#subdirectory=python
3

Launch Saleae Logic 2 software

Open the Saleae Logic 2 application and ensure the scripting socket server is enabled before starting the MCP server. The MCP server connects to Logic 2 over the local socket.

4

Start the MCP server

Run the logic_analyzer_mcp module. Pass --logic2 flag (or set LOGIC2=1) to enable experimental Logic 2 features.

# Standard mode
uv run -m logic_analyzer_mcp

# With Logic 2 experimental features
uv run -m logic_analyzer_mcp --logic2
# or on Unix:
LOGIC2=1 uv run -m logic_analyzer_mcp
5

Add the server to Claude Desktop config

Register the MCP server in claude_desktop_config.json, using the absolute path to the project directory.

{
  "mcpServers": {
    "logic-analyzer": {
      "type": "stdio",
      "command": "uv",
      "args": ["--directory", "/absolute/path/to/logic-analyzer-ai-mcp", "run", "-m", "logic_analyzer_mcp"]
    }
  }
}
6

Verify the connection in Claude

Open Claude Desktop, start a new conversation, and ask Claude to connect to the Logic analyzer and list available channels.

Logic Analyzer AI Examples

Client configuration

claude_desktop_config.json entry for the Logic Analyzer AI MCP server with Logic 2 experimental features enabled.

{
  "mcpServers": {
    "logic-analyzer": {
      "type": "stdio",
      "command": "uv",
      "args": [
        "--directory", "/Users/you/logic-analyzer-ai-mcp",
        "run", "-m", "logic_analyzer_mcp",
        "--logic2"
      ]
    }
  }
}

Prompts to try

Example requests you can send to Claude once the server and Logic 2 are both running.

- "Connect to the Saleae Logic device and configure a capture on channels 0 and 1 at 24 MHz"
- "Start a capture for 2 seconds and then retrieve the digital data from channel 0"
- "Export the last capture to a CSV file at /tmp/capture.csv"
- "Parse the capture file and show me any detected SPI transactions"

Troubleshooting Logic Analyzer AI

Connection refused when the MCP server tries to reach Logic 2

Confirm that Saleae Logic 2 is running and that the scripting socket server is enabled under Options > Preferences. The server connects on localhost:10430 by default; ensure no firewall blocks this port.

ImportError for the saleae module at startup

The Saleae automation library must be installed from the GitHub source, not PyPI. Run: uv pip install git+https://github.com/saleae/logic2-automation/#subdirectory=python

Logic 2 experimental tools are missing in Claude

Pass the --logic2 flag when starting the MCP server, or set the LOGIC2=1 environment variable. Without this flag the server only exposes the stable tool subset.

Frequently Asked Questions about Logic Analyzer AI

What is Logic Analyzer AI?

Logic Analyzer AI is a Model Context Protocol (MCP) server that this project provides an ai mcp server logic analyzers. it enables remote control, automation, and integration of saleae logic devices and captures, making it easy to script, manage, and analyze logic analyzer data programmatically. It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Logic Analyzer AI?

Follow the installation instructions on the Logic Analyzer AI GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with Logic Analyzer AI?

Logic Analyzer AI works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Logic Analyzer AI free to use?

Yes, Logic Analyzer AI is open source and available under the MIT license. You can use it freely in both personal and commercial projects.

Browse More Developer Tools MCP Servers

Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "logic-analyzer-ai": { "command": "npx", "args": ["-y", "logic-analyzer-ai"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Logic Analyzer AI?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides