# PLC Cloud Sim — LAD/SCL simulation over MCP

> PLC Cloud Sim — LAD/SCL simulation over MCP is a freemium MCP server for manufacturing. Run and test PLC ladder and SCL programs in a cloud simulator, no TIA Portal needed. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Platforms:** API
- **Website:** https://tia.hubwiz.com/sim
- **Repository:** https://github.com/tia-forge/plc-cloud-sim
- **MCP Registry name:** io.github.tia-forge/plc-cloud-sim
- **Categories:** manufacturing, developer tools
- **Listing updated:** 2026-11-15

## About

The simulator executes program text in the cloud, so an assistant can check PLC logic without a TIA Portal install. For ladder logic it takes validated LadDoc documents and runs them network by network, covering contacts, coils, timers, counters, FC/FB calls and jumps. For SCL it parses the source, checks its structure and steps through IF, CASE, FOR and WHILE, arrays, structures, timers and edge detection, then returns diagnostics and the final variable values.

Both engines are deterministic: the same program, inputs and scan count give the same result, and timers use an injected tick length rather than a real clock. That makes a declarative scenario usable as a regression test. Scenarios can be scripted cases, an exhaustive input matrix, seeded fuzzing or always-true invariants, and one call returns a PASS or FAIL report.

The program text is uploaded to the hosted service, which the README flags for teams whose policy forbids that, pointing to an on-machine gateway instead. The repository holds documentation and client configuration only, and the implementation is closed source. The service is independent of Siemens.

## Features

- **Ladder simulation:** Runs validated LadDoc networks with contacts, coils, timers, counters, FC/FB calls and jumps.
- **SCL execution:** Steps through SCL control flow, arrays, structures, timers and edges, returning final variables.
- **Scenario acceptance:** Declarative cases, exhaustive matrices, seeded fuzzing and invariants yield a PASS/FAIL report.
- **Deterministic runs:** Identical input and scan count always give identical results.
- **Injected scan time:** Timers follow a supplied tick length, not the real clock.
- **Key-based access:** Bearer API key from a WeChat login; the server stores only its hash.

## Good for

- Check an SCL function block for a start/stop motor before loading it onto a controller
- Run regression scenarios on ladder logic in CI
- Fuzz a PLC program's inputs with a fixed seed
- Let an AI assistant validate the logic it just wrote
- Practise SCL with reproducible example scenarios

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http plc-cloud-sim https://tia.hubwiz.com/sim/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://tia.hubwiz.com/sim/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "plc-cloud-sim": {
      "url": "https://tia.hubwiz.com/sim/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "plc-cloud-sim": {
      "type": "http",
      "url": "https://tia.hubwiz.com/sim/mcp"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "plc-cloud-sim": {
      "serverUrl": "https://tia.hubwiz.com/sim/mcp"
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "plc-cloud-sim": {
      "type": "http",
      "url": "https://tia.hubwiz.com/sim/mcp"
    }
  }
}
```

## Tools

- `lad_validate`: Validate one or more LadDoc ladder documents
- `lad_simulate`: Run scan cycles with given inputs and read back variables and diagnostics
- `lad_run_scenario`: Run a declarative ladder scenario with cases, matrices, fuzzing or invariants
- `scl_validate`: Parse and validate SCL source
- `scl_simulate`: Step-run an SCL program across scan cycles and read variables back
- `scl_run_scenario`: Run a declarative SCL scenario

## FAQ

### Do I need TIA Portal installed?

No. You send LadDoc or SCL text to the service, which runs it for you.

### How much does it cost?

New users get 100 free calls, and top-ups are 1000 calls for 9 yuan, one-off, with no subscription.

### What counts as a billable call?

Each tools/call costs one call. initialize and tools/list handshakes are free.

### Is the output reproducible?

Yes. Both engines are deterministic, so a scenario can serve as a regression test.

### Is PLC Cloud Sim — LAD/SCL simulation over MCP free?

PLC Cloud Sim — LAD/SCL simulation over MCP has a free plan, with paid plans for more usage or features.

### How do I add PLC Cloud Sim — LAD/SCL simulation over MCP to Claude Code?

Run this command in your terminal: claude mcp add --transport http plc-cloud-sim https://tia.hubwiz.com/sim/mcp

### What are the best alternatives to PLC Cloud Sim — LAD/SCL simulation over MCP?

The closest alternatives to PLC Cloud Sim — LAD/SCL simulation over MCP are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github-2): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Ouroboros](https://ai-powered.com/mcp/ouroboros): Ouroboros is an open-source MCP server for developer tools.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [Concord MCP](https://ai-powered.com/mcp/concord-mcp): Concord MCP is a freemium MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/plc-cloud-sim-lad-scl-simulation-over-mcp
