# LabJack T-series DAQ

Connect an AI agent to LabJack T4, T7/T7-Pro, or T8 for input readings, thermocouple measurements, and waveform capture. Use it to inspect signals or control device outputs through chat.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 23
- Author: K-Dense-AI
- License: Apache-2.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/K-Dense-AI/lab-instrument-mcps/tree/HEAD/servers/engineering/labjack
- Updated: 2026-09-26
- HTML: https://affpapa.org/en/nevibecode/mcp/labjack-t-series-daq

## What it does

The server talks to LabJack devices through the LJM library. An agent can read analog and digital inputs, measure a thermocouple, capture timed waveforms, and optionally save the results as CSV. Separate tools control DAC and digital outputs; launch with `--read-only` to block those write tools while keeping `set_outputs_safe` available.

A real device needs the native LJM library and USB driver installed first. Close Kipling, LJLogM, and LJStreamM before connecting, since USB access is limited to one process at a time. You can exercise the server without hardware using `uvx labmcp-labjack --simulate`. The simulator has been tested, but the server has not yet been verified on physical LabJack hardware, so simulated results do not establish device behavior.

## Requirements
- Needs: Python and uv (commands run via uvx)
- Environment variables: `LABMCP_ADDRESS`, `LABMCP_SIMULATE`, `LABMCP_READ_ONLY`, `LABMCP_LIMITS` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add --env LABMCP_ADDRESS=<LABMCP_ADDRESS> --env LABMCP_SIMULATE=<LABMCP_SIMULATE> --env LABMCP_READ_ONLY=<LABMCP_READ_ONLY> --env LABMCP_LIMITS=<LABMCP_LIMITS> --transport stdio labjack -- uvx labmcp-labjack
```
Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from labmcp-labjack <command>

### Codex

**Platform CLI**
```bash
codex mcp add labjack --env LABMCP_ADDRESS=<LABMCP_ADDRESS> --env LABMCP_SIMULATE=<LABMCP_SIMULATE> --env LABMCP_READ_ONLY=<LABMCP_READ_ONLY> --env LABMCP_LIMITS=<LABMCP_LIMITS> -- uvx labmcp-labjack
```
Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from labmcp-labjack <command>

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "labjack": {
            "command": "uvx",
            "args": [
                "labmcp-labjack"
            ],
            "env": {
                "LABMCP_ADDRESS": "<LABMCP_ADDRESS>",
                "LABMCP_SIMULATE": "<LABMCP_SIMULATE>",
                "LABMCP_READ_ONLY": "<LABMCP_READ_ONLY>",
                "LABMCP_LIMITS": "<LABMCP_LIMITS>"
            }
        }
    }
}
```
Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from labmcp-labjack <command>

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "labjack": {
            "type": "stdio",
            "command": "uvx",
            "args": [
                "labmcp-labjack"
            ],
            "env": {
                "LABMCP_ADDRESS": "<LABMCP_ADDRESS>",
                "LABMCP_SIMULATE": "<LABMCP_SIMULATE>",
                "LABMCP_READ_ONLY": "<LABMCP_READ_ONLY>",
                "LABMCP_LIMITS": "<LABMCP_LIMITS>"
            }
        }
    }
}
```
Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from labmcp-labjack <command>

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add -e LABMCP_ADDRESS=<LABMCP_ADDRESS> -e LABMCP_SIMULATE=<LABMCP_SIMULATE> -e LABMCP_READ_ONLY=<LABMCP_READ_ONLY> -e LABMCP_LIMITS=<LABMCP_LIMITS> labjack uvx labmcp-labjack
```
Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from labmcp-labjack <command>

## When to use it
- read voltage from analog channels
- capture a waveform and save it as CSV
- measure a thermocouple
- inspect digital line states
- return outputs to a safe state

## Example prompts
- Read AIN0 and AIN1, then compare their voltage readings.
- Capture a waveform from AIN0, save it as CSV, and report channel statistics.
- Check the digital lines and put the outputs into a safe state.

## Similar
- [REA](https://affpapa.org/en/nevibecode/mcp/rea.md) — MCP server · ★ 392262
- [GitHub](https://affpapa.org/en/nevibecode/mcp/github.md) — MCP server · ★ 33989
- [World Monitor](https://affpapa.org/en/nevibecode/mcp/world-monitor.md) — MCP server · ★ 89609
- [Netdata](https://affpapa.org/en/nevibecode/mcp/netdata.md) — MCP server · ★ 81163
- [Front-End Checklist](https://affpapa.org/en/nevibecode/mcp/front-end-checklist.md) — MCP server · ★ 74569
- [Scrapling MCP Server](https://affpapa.org/en/nevibecode/mcp/scrapling-mcp-server.md) — MCP server · ★ 89899

From the same set: [k-dense-ai/lab-instrument-mcps](https://affpapa.org/en/nevibecode/by/k-dense-ai/lab-instrument-mcps.md) — 28 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
