Skip to main content

gridoxide-mcp

gridmcp is a Model Context Protocol server for power networks, built on gridoxide. It lets an LLM chat answer questions about a network: how big it is, whether it solves, which buses sit furthest from nominal voltage and which branches carry the most.

It reads MATPOWER cases (.m), UCTE-DEF (.uct), PowSyBl IIDM (.xiidm) and directories of CGMES profiles. Every tool reads; none writes a file.

Tool
list_networks the networks below a directory, with their format
summary size, bus types, voltage levels, tap changers, areas, and what the importer noted
power_flow an AC power flow (Newton-Raphson), optionally with tap control, reactive limits, distributed slack or area interchange: convergence, losses, slack injection, voltage extremes, largest flows
results the buses or branches of the last power_flow, filtered and sorted

--dir <path> (else GRIDOXIDE_NETWORK_DIR, else the working directory) is where relative paths resolve.

Install

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

uvx --from gridoxide-mcp gridmcp --dir /path/to/networks

or install it once with uv tool install gridoxide-mcp (or pipx install gridoxide-mcp) and run gridmcp. It is also on crates.io (cargo install gridoxide-mcp) 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 gridoxide -- uvx --from gridoxide-mcp gridmcp

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

[mcp_servers.gridoxide]
command = "uvx"
args = ["--from", "gridoxide-mcp", "gridmcp", "--dir", "/path/to/networks"]

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

{
  "mcpServers": {
    "gridoxide": {
      "command": "uvx",
      "args": ["--from", "gridoxide-mcp", "gridmcp", "--dir", "/path/to/networks"]
    }
  }
}

Licence

gridmcp's own code is Apache-2.0. The binary links gridoxide, whose sparse solver is a translation of SuiteSparse (BSD-3-Clause for AMD, LGPL-2.1-or-later for BTF/KLU); see gridoxide's docs/src/reference/provenance.md.

Metadata

Release files for gridoxide-mcp 0.4.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 gridoxide-mcp 0.4.0
File Interpreter ABI Platform Actions
gridoxide_mcp-0.4.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for gridoxide_mcp-0.4.0-py3-none-win_amd64.whl
gridoxide_mcp-0.4.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details for gridoxide_mcp-0.4.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
gridoxide_mcp-0.4.0-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for gridoxide_mcp-0.4.0-py3-none-macosx_11_0_arm64.whl

Total release size: 6.2 MB

Release files / gridoxide_mcp-0.4.0-py3-none-win_amd64.whl

Download URL gridoxide_mcp-0.4.0-py3-none-win_amd64.whl
Size 1.9 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
cade9906d2fca82dd1385a730318c6d4383b0ad416a5212c5e3b3d923037401d
BLAKE2b-256 checksum
How to use checksums
c28f4c822e6991541c00565c5e8ab388320d6c1393ed53b74a15cb8012ba9f1e
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 Nov 7, 2026.

Transparency log

Release files / gridoxide_mcp-0.4.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL gridoxide_mcp-0.4.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 2.5 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
eef48e9abb33644ac73fe85ef171ca07519d01cb0c7a93e57235500c5fa5be08
BLAKE2b-256 checksum
How to use checksums
952f50776ffa8cf326bb3f71dd98a773ed6e214e28a49e6d45827550d201ca76
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 Nov 7, 2026.

Transparency log

Release files / gridoxide_mcp-0.4.0-py3-none-macosx_11_0_arm64.whl

Download URL gridoxide_mcp-0.4.0-py3-none-macosx_11_0_arm64.whl
Size 1.7 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
6669817c0a0bc132d1421546894298f46d951c3ae6137d6fc42881972f991fb4
BLAKE2b-256 checksum
How to use checksums
748e2c1364f2d8b5b1a96061a4401ff8950a3f351791fb84e903c0c3ea6749fb
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 Nov 7, 2026.

Transparency log

Security for gridoxide-mcp 0.4.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 gridoxide_mcp-0.4.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 Nov 7, 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