Skip to content
MCP server

Thorlabs Optical Power Meter

MCP server for Thorlabs optical power meters (PM100 family, PM400, PM101, PM5020) over…

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.1.2
Listing updated
5 days ago

About Thorlabs Optical Power Meter

Thorlabs Optical Power Meter is an open-source MCP server. It runs locally on your machine and is started by your AI client.

MCP server for Thorlabs optical power meters (PM100 family, PM400, PM101, PM5020) over SCPI.

Install

Run in a terminal

claude mcp add labmcp-thorlabs-pm -- uvx labmcp-thorlabs-pm

Add to claude_desktop_config.json

{
  "mcpServers": {
    "labmcp-thorlabs-pm": {
      "command": "uvx",
      "args": [
        "labmcp-thorlabs-pm"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "labmcp-thorlabs-pm": {
      "command": "uvx",
      "args": [
        "labmcp-thorlabs-pm"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "labmcp-thorlabs-pm": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "labmcp-thorlabs-pm"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "labmcp-thorlabs-pm": {
      "command": "uvx",
      "args": [
        "labmcp-thorlabs-pm"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "labmcp-thorlabs-pm": {
      "command": "uvx",
      "args": [
        "labmcp-thorlabs-pm"
      ]
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • LABMCP_ADDRESSInstrument address, e.g. serial:///dev/ttyUSB0 or tcp://192.168.1.50:5025
  • LABMCP_SIMULATESet to 1 to use the built-in simulator (no hardware)
  • LABMCP_READ_ONLYSet to 1 to disable all state-changing tools
  • LABMCP_LIMITSSafety limit overrides, e.g. max_temperature_c=80

Pricing

Open source

Thorlabs Optical Power Meter FAQ

Is Thorlabs Optical Power Meter free?

Yes. Thorlabs Optical Power Meter is open source, so you can use and self-host it for free.

How do I add Thorlabs Optical Power Meter to Claude Code?

Run this command in your terminal: claude mcp add labmcp-thorlabs-pm -- uvx labmcp-thorlabs-pm

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers