Skip to main content
MCP server CX Codex

Generic SCPI Instrument — Claude Code MCP server: features and setup

Connect an AI agent to SCPI measurement equipment through VISA, TCP, or serial links. Use it to read instrument data or send commands from a chat.

Install into Claude Code · Platform CLI All methods and platforms ↓
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 scpi-instrument -- uvx labmcp-scpi
Open on GitHub

What Generic SCPI Instrument does

The server connects to SCPI instruments such as multimeters, oscilloscopes, and power supplies. Links can use GPIB, USBTMC, LAN, or RS-232. An agent can read replies and issue commands; the MCP client asks for confirmation before commands that change an instrument’s state. Check the safety settings before allowing writes to lab equipment.

You can configure command allow and deny lists, use read-only mode, and set a safe state for the instrument. To try the server without hardware, run uvx labmcp-scpi --simulate --check. The documented tests use a software simulator, so they do not establish that the server has been verified with physical instruments.

What it helps with

  • read an instrument’s SCPI identity
  • retrieve measurement readings from a device
  • find VISA instruments visible to the computer
  • restrict commands that change instrument state
  • test the server in simulation mode

Example prompts for the agent

  • Identify the connected instrument and show its model and firmware.
  • Find available VISA devices and check the connection to the selected instrument.
  • Switch to read-only mode and retrieve the current measurements.

How to install Generic SCPI Instrument

Platform CLI

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 scpi-instrument -- uvx labmcp-scpi

Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from labmcp-scpi <command>

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about Generic SCPI Instrument

How do I install Generic SCPI Instrument in Claude Code?

Run claude mcp add labmcp-scpi -- uvx labmcp-scpi. Set the instrument address separately when configuring the connection.

What does Generic SCPI Instrument do?

It lets an agent query SCPI equipment and send commands to it. The MCP client requests confirmation for commands that alter device state.

Can I test Generic SCPI Instrument without hardware?

Yes. Run uvx labmcp-scpi --simulate --check to try the server with its software simulator.

Similar MCP servers

Everything for Science and research →

From the same set15

Thorlabs Optical Power Meter An MCP server for Thorlabs power meters. Your agent can take readings, log stability over time, and change wavelength, averaging and range over SCPI. CX Codex +1 ★ 23repo stars SRS Residual Gas Analyzer This MCP server lets an AI agent inspect SRS residual-gas analyzers, read spectra and pressure, screen gas peaks, and run helium leak checks. CX Codex +1 ★ 23repo stars SRS Lock-in Amplifier Lets an agent drive Stanford Research Systems lock-ins: read X/Y/R/θ, set frequency, phase and sensitivity, run frequency sweeps. CX Codex +1 ★ 23repo stars Ocean Insight Spectrometer Connect an Ocean Insight spectrometer to an AI agent to capture spectra and measure absorbance or transmittance. A simulator lets you try the server before connecting hardware. CX Codex +1 ★ 23repo stars NI-DAQmx DAQ Devices An MCP server that hands an AI agent control over National Instruments hardware through the NI-DAQmx driver: voltage and thermocouple reads, digital line reads, analog and digital writes. CX Codex +1 ★ 23repo stars LC-MS Worklist Builder Builds and checks LC-MS sample queues, then writes files for import into vendor software. Use it to prepare a run list without starting an acquisition. CX Codex +1 ★ 23repo stars Mass Spectrometry Data (mzML, Bruker TDF, vendor conversion) Lets an agent browse LC-MS runs, plot chromatograms, pull spectra, locate MS2 scans by precursor m/z and run a quick QC. CX Codex +1 ★ 23repo stars Micro-Manager Microscope This MCP server connects an agent to microscopes running Micro-Manager. Use it to capture images, adjust stage and focus, switch configuration groups, or collect image sequences. CX Codex +1 ★ 23repo stars

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor