Skip to main content

Logix Help MCP

logix-help-mcp is a Python MCP server that indexes the help that ships with Studio 5000 Logix Designer v31–v38+ into a local SQLite FTS5 database so that a coding agent (Claude Code, VS Code Chat, etc.) can easily read through the help contents.

The index of help documents is built locally from your own licensed install of Studio 5000 Logix Designer. No Rockwell content is included. The tool automatically detects every version of the help it finds and builds an index for each one.

Quick Start

Install and Build the Index

uv is the recommended way to install and run logix-help-mcp. uvx can cache the package and rerun it without the need to install it in a specific folder or environment.

uvx logix-help-mcp --root "/path/to/Studio 5000" --build --all

--root works in any shell. You can also set the S5K_HELP_ROOT environment variable instead.

On Linux

S5K_HELP_ROOT="/path/to/Studio 5000" uvx logix-help-mcp --build --all

Or in Powershell on Windows

$env:S5K_HELP_ROOT = "C:\path\to\Studio 5000"

Users on Windows with the default Studio 5000 install location (C:\Program Files (x86)\Rockwell Software\Studio 5000) can skip --root and simply run:

uvx logix-help-mcp --build --all

Install as a Tool with UV (optional)

uv can also register logix-help-mcp as a tool. This puts logix-help-mcp on your PATH to make calling it easier.

uv tool install logix-help-mcp

Then to run it:

logix-help-mcp --build --all

Register the MCP Server

Claude Code

-s user registers the server for all your projects. Leave it out to add it to the current project only.

claude mcp add -s user logix-help -e S5K_HELP_ROOT="/path/to/Studio 5000" -- uvx logix-help-mcp

If you installed it with uv tool install, replace uvx logix-help-mcp with logix-help-mcp.

Other MCP clients

Other clients (e.g. VS Code .vscode/mcp.json) need the same command, arguments and environment.

{
    "servers": {
        "logix-help": {
            "type": "stdio",
            "command": "uvx",
            "args": [
                "logix-help-mcp"
            ],
            "env": { "S5K_HELP_ROOT": "/path/to/Studio 5000" }
        }
    }
}

With uv tool install, use "command": "logix-help-mcp" and no args.

First start

The first start builds the default (newest) version's index in the background. That takes a few seconds to about a minute, depending on disk or network speed, and tools wait for it. Other versions build the first time a tool asks for them. Later starts reuse the cache unless the help files changed. The cache lives in your user cache directory, not in the install, so upgrading the package keeps it. A new schema version rebuilds it automatically.

Configuration

Env var CLI flag Meaning
S5K_HELP_ROOT --root The Studio 5000 install folder, the Logix Designer/ENU folder, or one rs5000 help folder. Folders are scanned for Logix Designer/ENU/v*/Bin/Help/ENU/rs5000 (v33+) and Help/ENU/v*/rs5000 (v31, v32).
S5K_VERSION --version Default version, e.g. v37 (default: the newest version found; a requested version that is not found falls back to it with a warning).
S5K_DB_DIR Where index databases are stored (default: user cache dir for logix-help-mcp).
--force-rebuild Rebuild even if the cache is fresh.
--transport stdio|streamable-http Default stdio.
--build-only Build the index, print statistics and timing, exit.
--all With --build-only: build every discovered version, one summary line each (exit 1 if any fails).

Index Builds

The index is one SQLite file per version. It is rebuilt when the help folder's HTML files, TOC files, or metadata files (context-help-map.xml, rs5000.csv, index.xml) change, or when the schema version changes. The help folder is only ever read.

Unreachable Help Folder

If the help folder is unreachable - such as when a network share is offline - versions that already have a cached index are still served from the cache. get_image does not work until the folder is back, because images are not cached.

If no help folder is found, the server looks again on later tool calls (at most every 30 s), so it picks the folder up once it is reachable, without a restart.

Multiple Versions

  • Discovery: v33+ help is expected in Logix Designer/ENU/v*/Bin/Help/ENU/rs5000 and v31–v32 help in Help/ENU/v*/rs5000 under the Studio 5000 install folder.
  • The newest version is the default version. Every tool takes an optional version: 'v33' or a project revision such as '33.01' so that an agent can check against the correct version.

Tools

Tool Description
search_help Keyword search. Returns page IDs, titles, breadcrumbs and short snippets. Filter by kind (instruction, fault, module, dialog, command, concept) or section.
get_page Read a page as Markdown, with tables kept. Long pages are paginated with offset / max_chars.
get_instruction Read an instruction page by mnemonic, e.g. TON, GSV, MAOC. Paginated like get_page.
get_image Get a graphic referenced in a page's Markdown, e.g. a ladder or FBD diagram.
get_page_by_help_id Find the page for an F1 / context help ID, numeric (131173) or named (about_the_status_bar).
browse_toc List the table of contents, one level at a time.
get_breadcrumb Show where a page sits in the help hierarchy.
list_versions List the help versions found, their format and index state.
get_help_statistics Show index statistics and build progress.

Every tool except list_versions takes an optional version. Search snippets are not page content; the server instructions tell the model to read the page with get_page.

  • Page IDs: a page's page_id is its help topic ID (e.g. ait_455128) when that ID is unique. Some pages share a topic ID (duplicated pages such as the GSV/SSV pages); those use their help-relative path instead (e.g. help/clinset/...html). Every tool that takes a page_id accepts either form.
  • Renamed instructions: v36 renamed several mnemonics (MOV→MOVE, EQU→EQ, NEQ→NE, LES→LT, GRT→GT, LEQ→LE, GEQ→GE, LIM→LIMIT, SQR→SQRT, XPY→EXPT, TOD→TO_BCD, FRD→BCD_TO, TRN→TRUNC, ACS→ACOS, ASN→ASIN, ATN→ATAN). get_instruction accepts either name in any version and says when it mapped one.
  • Errors: failures (unknown page, TOC node or version, invalid kind, index still building) are returned as MCP tool errors (is_error: true). Valid empty outcomes, such as no search hits or an unmapped help ID, are normal results.

Development

Install from source

git clone https://github.com/zwood16/logix-help-mcp
cd logix-help-mcp
uv run logix-help-mcp

Running Tests

This project uses pytest for tests and ruff for linting. Both are dev dependencies, so from the repository run:

uv run pytest
uv run ruff check

Integration tests need a real help install and are skipped unless S5K_HELP_ROOT is set. uv run pytest -m "not integration" runs only the offline tests.

Metadata

Release files for logix-help-mcp 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for logix-help-mcp 1.0.1
File Size Uploaded Provenance Actions
logix_help_mcp-1.0.1.tar.gz 46.5 kB With provenance Details for logix_help_mcp-1.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for logix-help-mcp 1.0.1
File Interpreter ABI Platform Actions
logix_help_mcp-1.0.1-py3-none-any.whl Python 3 none any Details for logix_help_mcp-1.0.1-py3-none-any.whl

Total release size: 99.1 kB

Release files / logix_help_mcp-1.0.1.tar.gz

Download URL logix_help_mcp-1.0.1.tar.gz
Size 46.5 kB
Tags Source
SHA-256 checksum
How to use checksums
72ca2f82d0f2930c7adeabf0e85c69fec604541e639ff708ba93a604118d6d4e
BLAKE2b-256 checksum
How to use checksums
5bf5613423139753b79d4e9902cd76e33511a7c61add7fa5813b6eb8e1c6afe1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.

Transparency log

Release files / logix_help_mcp-1.0.1-py3-none-any.whl

Download URL logix_help_mcp-1.0.1-py3-none-any.whl
Size 52.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
72f9520ec650922c18bdbb32c431fb2eb4175c3bb8571f879412ef3229928352
BLAKE2b-256 checksum
How to use checksums
d6c8b7f00cc0934d51a8cfb1230b0c2eae1862ee4882b52f6d9a06d93e5c6546
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.

Transparency log

Security for logix-help-mcp 1.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for logix_help_mcp-1.0.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page