Logic Analyzer AI
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.
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
Maintainer
Works with
Installation
Manual Installation
npx logic-analyzer-aiConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
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
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-mcpInstall 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=pythonLaunch 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.
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_mcpAdd 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"]
}
}
}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.
Logic Analyzer AI Alternatives — Similar Developer Tools Servers
Looking for alternatives to Logic Analyzer AI? Here are other popular developer tools servers you can use with Claude, Cursor, and VS Code.
Ecc
★ 188.2kThe agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Javaguide
★ 155.8kJava 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发
Gemini CLI
★ 104.5kA secure MCP server that wraps the Google Gemini CLI, allowing clients to query Gemini models using local OAuth sessions without requiring an API key. It provides tools for model interaction and diagnostics with built-in protection against command in
Awesome MCP Servers
★ 87.3k⭐ Curated list of Model Context Protocol (MCP) servers - tools that extend Claude Desktop, Cursor, Windsurf, and other MCP clients with custom capabilities.
MCP Servers
★ 86.0kModel Context Protocol Servers
CC Switch
★ 77.5kA cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Gemini CLI & Hermes Agent. Only official website: ccswitch.io
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.
Set Up Logic Analyzer AI in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
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.