TIATool

Guide · Updated

How do I use Claude with Siemens TIA Portal?

Install TIATool on the Windows engineering PC that runs your licensed TIA Portal V19 or V21 with Openness. Setup registers it as an MCP server in Claude Desktop and Claude Code. Restart Claude, close the project in TIA Portal, and ask in plain words: Claude calls TIATool’s tools to export, analyse, change and verify the project.

What you need

  • Windows 10 or 11, 64-bit, on the engineering PC.
  • Your own licensed TIA Portal V19 or V21 with the TIA Openness option, which is part of the TIA Portal setup.
  • Your Windows user in the local group “Siemens TIA Openness”. The TIATool installer adds you; sign out and back in once so Windows applies it.
  • Claude Desktop or Claude Code, on the Claude plan you already use. TIATool includes no AI model and does not resell AI usage.
  • A TIATool seat: €99.99 a month or €999.99 a year, one PC per seat. Every plan starts with a 3-day free trial. A card is required at checkout; cancel in your account before the trial ends and nothing is charged.

Set it up in four steps

  1. Install TIATool

    Open PowerShell on the engineering PC; no administrator shell is needed. The script checks the installer against the published SHA-256 and stops on a mismatch. Setup then adds you to Siemens TIA Openness and registers TIATool in the AI apps you leave ticked: Claude Desktop, Claude Code, Cursor and VS Code.

    PowerShell
    irm https://tiatool.dev/install.ps1 | iex
  2. Check the PC and activate your key

    tiax-agent doctor reports TIA Portal, Openness, your group membership and the licence. Fix anything it flags, then activate the key from your account.

    PowerShell
    tiax-agent doctor
    tiax-agent license activate <KEY>
  3. Register Claude

    Setup already did this. To redo it for Claude only, run the command below. It adds a tiatool server, keeps your other servers and writes a .bak of each config file first.

    PowerShell
    tiax-agent setup --client claude,claude-code
  4. Restart Claude and test

    Claude Desktop: quit it fully (right-click the tray icon, then Quit), start it again and check that the tools list shows tiatool. The first time a tool runs, choose Always allow. Claude Code: start a new claude session and run /mcp. Then ask Claude to run tia_status: it answers with the TIATool version and what it can see.

    Tools: tia_status

Claude Desktop or Claude Code?

Both talk to the same TIATool server and see the same 75 tools; setup can register both. The differences are where you ask and where the settings live:

  • Where you ask

    Claude Desktop
    The Claude desktop app
    Claude Code
    A claude session in a terminal
  • Config that setup writes

    Claude Desktop
    %APPDATA%\Claude\claude_desktop_config.json; the Microsoft Store build is found automatically
    Claude Code
    %USERPROFILE%\.claude.json, user scope
  • Tools run without a prompt

    Claude Desktop
    Choose Always allow once, or Customize > Connectors > tiatool > Tool permissions
    Claude Code
    Setup adds "mcp__tiatool" to permissions.allow in ~/.claude/settings.json
  • Check that it is connected

    Claude Desktop
    The tools list shows tiatool
    Claude Code
    /mcp lists tiatool

Builds and compiles take minutes. Claude Code reads its tool timeout from its own environment, so give it ten minutes in its settings file (MCP_TIMEOUT only covers the server start-up):

~/.claude/settings.json
{
  "env": {
    "MCP_TOOL_TIMEOUT": "600000"
  }
}

Prefer to register by hand? This is the entry setup writes for Claude Desktop, and the Claude Code command that does the same with an existing project cache. Without a cache the server still starts; refresh_scan creates one.

claude_desktop_config.json
{
  "mcpServers": {
    "tiatool": {
      "command": "C:\\Program Files\\TIATool\\tiax-agent.exe",
      "args": ["mcp"]
    }
  }
}
PowerShell
claude mcp add tiatool -- "C:\Program Files\TIATool\tiax-agent.exe" mcp --tiax "C:\Workspaces\<project>\.tiax"

A first session, on a copy of a project

Work on a copy with a short path such as C:\TIA\Line3: TIA Portal refuses a project folder path longer than 143 characters. Close the project in the TIA Portal window first; TIATool opens it itself. Then ask, one request at a time:

  • Ask your assistant: Export C:\TIA\Line3\Line3.ap19, scan it, and tell me who writes Conveyor_01_Running.

    Tools: export_project · refresh_scan · who_writes_tag

  • Ask your assistant: Which blocks does Main call, and which blocks are never called?

    Tools: what_block_calls · unreachable_blocks

  • Ask your assistant: Create a workspace for this project and set the current state as the baseline.

    Tools: workspace_init · baseline_set

  • Ask your assistant: Build the generated sources into the project, preview first, then compile and tell me what broke.

    Tools: build_from_source · compile_project

  • Ask your assistant: Verify the change against the baseline: did anything change that I didn’t ask for?

    Tools: verify_change

  • Ask your assistant: That failed. Explain the error.

    Tools: explain_error

Questions about the scanned project answer from the local cache with TIA Portal closed. The full walk-through is in Get started.

What Claude may change, and how you stay in control

Claude can build blocks from SCL source, import SIMATIC ML blocks, import HMI screens and tags, add project languages, compile and export. TIATool does not stop it to ask. Instead, every write takes a new timestamped backup first, refuses while the project is open in the TIA Portal window, and lands in the workspace journal; in a workspace the verify gate then checks the result against your baseline.

  • Restore: restore_backup brings back the state before any write, into a new folder by default, or in place after a fresh backup.
  • Policy: an administrator can make the PC read-only, switch scripts off, keep the AI off real PLCs (allow_online: false) or have a person confirm named tools (confirm_mode). See security and data flow.
  • Data: TIATool runs locally and sends no telemetry. What Claude reads through the tools goes to Anthropic, the provider behind Claude, under its terms.

Limits to know

  • Siemens does not open all of TIA Portal, so some calls depend on the project, the panel and the TIA version, and the assistant says when one cannot be done.
  • LAD and FBD networks reach the assistant as SCL renderings. A network that could not be rendered completely is flagged lossy: never judge an interlock from a flagged network, and never paste a rendering back as source.
  • Answers come from the scanned cache, a snapshot. TIATool says when it is older than the exports; ask for a new export and scan after changes in TIA Portal.
  • Each tool’s verification status is listed in the MCP tool reference. Try a tool you have not used before on a copy of a project.

Frequently asked questions

Is Claude included with TIATool?

No. You use Claude Desktop or Claude Code on the plan you already have, under Anthropic’s terms. TIATool is the bridge to TIA Portal: 75 MCP tools for €99.99 a month or €999.99 a year per seat, and every plan starts with a 3-day free trial.

Does my TIA Portal project leave my PC?

Not through TIATool: it runs locally and sends no telemetry. What Claude reads through the tools goes to Anthropic under its terms. The licence server sees your key, a hashed machine id and the computer name, never project data.

Will Claude stop and ask before it changes my project?

No. Calls run when Claude makes them, and every write takes a new timestamped backup first, so restore_backup can take any change back. An administrator who wants a person asked sets confirm_mode in a policy file.

Why does Claude Code give up during a long build?

Its tool timeout is shorter than a compile. Set MCP_TOOL_TIMEOUT to 600000 (ten minutes, in milliseconds) in Claude Code’s environment or under env in ~/.claude/settings.json. MCP_TIMEOUT only covers the server start-up.

Can I try it without TIA Portal?

Yes, with your trial or licence active. tiax-agent init --demo builds a sample workspace from the shipped example, scans it and registers it as a separate, read-only tiatool-demo server. Restart Claude and ask the questions it prints.

Which TIA Portal versions does it work with?

TIA Portal V19 and V21 with Openness. TIATool runs one engine per version and picks it from the project file, .ap19 or .ap21; it never upgrades a project.

More guides

Reference

Try it on your own project.

All 75 tools and every update, running on your engineering PC. After the trial a seat is €99.99 a month or €999.99 a year, one PC per seat.

Every plan starts with a 3-day free trial. A card is required at checkout; cancel in your account before the trial ends and nothing is charged.