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.5.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.5.0
File Interpreter ABI Platform Actions
gridoxide_mcp-0.5.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for gridoxide_mcp-0.5.0-py3-none-win_amd64.whl
gridoxide_mcp-0.5.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.5.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
gridoxide_mcp-0.5.0-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for gridoxide_mcp-0.5.0-py3-none-macosx_11_0_arm64.whl

Total release size: 6.2 MB

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

Download URL gridoxide_mcp-0.5.0-py3-none-win_amd64.whl
Size 2.0 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
86c8ae297170e24ca6724a06ea8d5e2413467995d7c91ba3826cc16ebe01b476
BLAKE2b-256 checksum
How to use checksums
ab21dc9639723b2f932c5b94d7a5f41d27b7ac78f814c1d3c3d63635dbe04710
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 12, 2026.

Transparency log

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

Download URL gridoxide_mcp-0.5.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
38ed328655048ea29ba8a37ba77e8f2c2d2986b6fa7ab24459e1a41d4f377f06
BLAKE2b-256 checksum
How to use checksums
2042a7d761513e16bf7380d62667a70425f105ef5aea61cca4da1d92d1311b46
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 12, 2026.

Transparency log

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

Download URL gridoxide_mcp-0.5.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
5220025cb282c1137d17e9e04fadc4636c43d79ee615025fc6fad33feb110316
BLAKE2b-256 checksum
How to use checksums
934f743fce3b426997352d970c06978af7382c55a9ef03ed646713d5f75471bd
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 12, 2026.

Transparency log

Security for gridoxide-mcp 0.5.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.5.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 12, 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