Skip to content
MCP server

PLCGateway

Query live PLC data, alarms, history and OEE from an on-premises PLCGateway

Runs locallyStatus and history
Pricing
Free trial
Platforms
Windows, self-hosted, CLI
Runs
Locally
Version
0.1.1
Listing updated
3 days ago

About PLCGateway

PLCGateway is an MCP server for analytics and data. It runs locally on your machine and is started by your AI client.

Industrial engineers often spend their time on setup rather than analysis. Every PLCGateway product includes an MCP server, and the page says most of an engineer's work in the software can be done by talking to an assistant, with the same roles and rights as people.

The tool list covers reading tags and history, alarms and acknowledgements, OEE and production batches, and also setup work such as creating devices and tags, testing connections and drafting screens, dashboards and reports for human review. The npm package runs locally over stdio against your own installation.

The all-inclusive AI connection and OPC UA server carry no device or tag limit. Licences are one-time, per computer, priced in euros, with a 30-day free trial.

Install

Run in a terminal

claude mcp add plcgateway --env PLCGATEWAY_URL='<PLCGATEWAY_URL>' --env PLCGATEWAY_TOKEN='<PLCGATEWAY_TOKEN>' -- npx -y @plcgateway/mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "plcgateway": {
      "command": "npx",
      "args": [
        "-y",
        "@plcgateway/mcp"
      ],
      "env": {
        "PLCGATEWAY_URL": "<PLCGATEWAY_URL>",
        "PLCGATEWAY_TOKEN": "<PLCGATEWAY_TOKEN>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "plcgateway": {
      "command": "npx",
      "args": [
        "-y",
        "@plcgateway/mcp"
      ],
      "env": {
        "PLCGATEWAY_URL": "<PLCGATEWAY_URL>",
        "PLCGATEWAY_TOKEN": "<PLCGATEWAY_TOKEN>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "plcgateway": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@plcgateway/mcp"
      ],
      "env": {
        "PLCGATEWAY_URL": "<PLCGATEWAY_URL>",
        "PLCGATEWAY_TOKEN": "<PLCGATEWAY_TOKEN>"
      }
    }
  }
}

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

{
  "mcpServers": {
    "plcgateway": {
      "command": "npx",
      "args": [
        "-y",
        "@plcgateway/mcp"
      ],
      "env": {
        "PLCGATEWAY_URL": "<PLCGATEWAY_URL>",
        "PLCGATEWAY_TOKEN": "<PLCGATEWAY_TOKEN>"
      }
    }
  }
}

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

{
  "mcpServers": {
    "plcgateway": {
      "command": "npx",
      "args": [
        "-y",
        "@plcgateway/mcp"
      ],
      "env": {
        "PLCGATEWAY_URL": "<PLCGATEWAY_URL>",
        "PLCGATEWAY_TOKEN": "<PLCGATEWAY_TOKEN>"
      }
    }
  }
}

Configuration

  • PLCGATEWAY_URLAddress of your PLCGateway SCADA or Connect, e.g. http://192.168.1.50:8080Required
  • PLCGATEWAY_TOKENAPI token (PLCGateway → Settings → API token), or the MCP configuration token for device/tag setupRequired

Tools this server provides (15)

Taken from the project documentation; the running server may differ.

get_site_context
Returns context about the connected site.
list_devices
Lists configured devices.
list_tags
Lists tags.
read_tags
Reads current tag values.
query_history
Queries historical tag data.
write_tag
Writes a value to a tag.
active_alarms
Lists active alarms.
alarm_history
Shows alarm history.
acknowledge_alarm
Acknowledges an alarm.
calculate_oee
Calculates OEE for a machine.
create_screen_draft
Creates a draft process screen.
create_dashboard_draft
Creates a draft dashboard.
generate_report
Generates a report.
create_device
Creates a device.
test_device
Tests a device connection.

What it does

Live and historic data
Read current tag values and query history.
Alarm handling
List, review and acknowledge alarms.
OEE and production
Calculate OEE and review batches and KPIs.
Device setup
Create devices, test connections and add tags.
Draft screens and reports
Create drafts for people to review.
Role-based access
Assistants act with the same roles and rights as people.

Good for

  • Ask which alarms fired on a line last week
  • Calculate OEE for a machine
  • Connect a new PLC and add its tags by description
  • Draft a report dashboard from existing tags

Pricing

Free trial

30-day free trial; one-time licences from 590 euros per computer

Prices change. Check plcgateway.com before you buy.

PLCGateway FAQ

Where does it run?

On your own site; the npm package talks to an on-premises PLCGateway.

Is the MCP server extra?

No, the page says it is included in every PLCGateway product.

Is there a trial?

Yes, a 30-day free trial of every feature.

How are licences priced?

One-time per computer in euros; PLCGateway Connect is listed at 590 euros.

Is PLCGateway free?

PLCGateway is a paid product with a free trial.

How do I add PLCGateway to Claude Code?

Run this command in your terminal: claude mcp add plcgateway --env PLCGATEWAY_URL='<PLCGATEWAY_URL>' --env PLCGATEWAY_TOKEN='<PLCGATEWAY_TOKEN>' -- npx -y @plcgateway/mcp

What are the best alternatives to PLCGateway?

The closest alternatives to PLCGateway are Agent-Native Analytics, Google Ads + Meta Ads + SEO/GEO MCP, Tapetide - Indian Stock Market MCP, World Monitor and CompanyData.

Alternatives to PLCGateway

  1. Open-source analytics app where an AI agent builds charts and dashboards from your data

    • Remote
    • Open source
    • 7.7K GitHub stars
    • Analytics and data
  2. Hosted MCP connector for managing Google Ads, Meta Ads, GA4 and Search Console from chat

    • 8 tools
    • Remote
    • Freemium
    • 8.1K GitHub stars
    • Marketing and SEO
  3. Indian NSE and BSE stock market data for AI assistants through 48 MCP tools

    • 17 tools
    • Remote
    • Freemium
    • 150 GitHub stars
    • Finance and payments
  4. World Monitor

    MCP server

    Live geopolitical intelligence dashboard with an API and MCP server for agents

    • Remote
    • Freemium
    • Analytics and data
  5. CompanyData

    MCP server

    Search and enrich company records from official registers via the CompanyData API

    • 3 tools
    • Remote
    • Paid
    • 3 GitHub stars
    • Analytics and data
  6. ChartAnt

    MCP server

    Remote MCP server returning charts, maps and dashboards as hosted PNG links

    • 51 tools
    • Remote
    • Freemium
    • Design and media