Skip to main content

cimoxide-mcp

cimmcp is a Model Context Protocol server for ENTSO-E CGMES and Network Code RDF/XML, built on cimoxide. It lets an LLM chat answer questions about a model: which generators a model has and their set points, why an object fails validation, what a CIM class or attribute means.

Its tools read; export and edit write a file, inside the workspace, over an existing one only when told to and never over a model set's own files:

Tool
list_model_sets directories holding CIM files, with each file's profiles
summary a model set's files, model headers and object counts by class
find_objects search by class (abstract classes included), name/mRID text and attribute value
get_object one object's fields, references resolved, what references it, and the files that define or describe it
validate the ENTSO-E SHACL and SPARQL rules, as cimcli validate runs them
conflicts objects more than one file defines, and objects the files type with unrelated classes
sparql a SPARQL query over the merged CGMES data
export one profile (CGMES or NC) or the whole set as RDF/XML, as to_xml_for_profile / to_xml write it; or every decoded object as JSON
edit update, copy, create and delete objects, and write the result as export does
describe_class definitions of classes, attributes and enumerations from the ENTSO-E vocabulary

A model set is every CIM XML file in one directory (path), or the files and directories listed in files, for a model whose files lie apart (an IGM with its boundary and common data). --dir <path> (else CIMOXIDE_MODEL_DIR, else the working directory) is where relative paths resolve.

Install

With uv, nothing needs installing first; clients start it as

uvx --from cimoxide-mcp cimmcp --dir /path/to/models

or install it once with uv tool install cimoxide-mcp (or pipx install cimoxide-mcp) and run cimmcp. It is also on crates.io (cargo install cimoxide-mcp), as binaries on each GitHub release, and bundled in the VS Code extension.

Configure a client

Claude Code (servers start in the project directory, so --dir can be left out):

claude mcp add cimoxide -- uvx --from cimoxide-mcp cimmcp

Codex (~/.codex/config.toml):

[mcp_servers.cimoxide]
command = "uvx"
args = ["--from", "cimoxide-mcp", "cimmcp", "--dir", "/path/to/models"]

Claude Desktop, Cursor, Windsurf, Antigravity and most others take an mcpServers block:

{
  "mcpServers": {
    "cimoxide": {
      "command": "uvx",
      "args": ["--from", "cimoxide-mcp", "cimmcp", "--dir", "/path/to/models"]
    }
  }
}

RDFS and SHACL can be loaded at runtime instead of the built-in tables with CIMOXIDE_RDFS_DIR / CIMOXIDE_SHACL_DIR in the server's environment.

Metadata

Release files for cimoxide-mcp 0.6.0

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

Built distributions (wheels)

Table of built distributions (wheels) for cimoxide-mcp 0.6.0
File Interpreter ABI Platform Actions
cimoxide_mcp-0.6.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for cimoxide_mcp-0.6.0-py3-none-win_amd64.whl
cimoxide_mcp-0.6.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details for cimoxide_mcp-0.6.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
cimoxide_mcp-0.6.0-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for cimoxide_mcp-0.6.0-py3-none-macosx_11_0_arm64.whl

Total release size: 14.2 MB

Release files / cimoxide_mcp-0.6.0-py3-none-win_amd64.whl

Download URL cimoxide_mcp-0.6.0-py3-none-win_amd64.whl
Size 4.0 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
3b89caedd3988f80803221fa9df34356ed0a68a416e1f582327a360354095035
BLAKE2b-256 checksum
How to use checksums
110c0911a24650c98b3df43ea13f0709bb06abde41ebc52d47c531812110f34b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 17, 2026.

Transparency log

Release files / cimoxide_mcp-0.6.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL cimoxide_mcp-0.6.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 5.6 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
b35e6447ac288baf49fff60be239469392f0b271aa1618ecd459fd7eb2024bae
BLAKE2b-256 checksum
How to use checksums
ec633c683ecb372429e9baa6e77f5a60efa975516a7ff13c642e9ce80d7d026f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 17, 2026.

Transparency log

Release files / cimoxide_mcp-0.6.0-py3-none-macosx_11_0_arm64.whl

Download URL cimoxide_mcp-0.6.0-py3-none-macosx_11_0_arm64.whl
Size 4.6 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
294c8e2f52de9c8200c625b0c0371b4145f6281650ea9f1fdea1ad4106a17a3e
BLAKE2b-256 checksum
How to use checksums
eee74db179e6fd449eaf8176a5a4bdcc79172564d65722c891893f65751f0329
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 17, 2026.

Transparency log

Security for cimoxide-mcp 0.6.0

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

All 3 files in this release have been uploaded with provenance metadata.

Select from 3 files

Attestation for cimoxide_mcp-0.6.0-py3-none-win_amd64.whl

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 Oct 17, 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.

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