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

Total release size: 6.2 MB

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

Download URL gridoxide_mcp-0.1.0-py3-none-win_amd64.whl
Size 1.9 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
ff8b9acb8d7781b67f76efdb8fa82af279d676b13b8c63b4f53b339e371fdaf1
BLAKE2b-256 checksum
How to use checksums
9e1f90c2f1ff04e1c7cce23a90f4b61b4bae40ff5f956f440ec65a4c4f6f7942
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 Oct 24, 2026.

Transparency log

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

Download URL gridoxide_mcp-0.1.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 2.5 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
00bf00531ce80cfe794516fd3db1b3b9cc3454e6b08e824b644be1469eab931d
BLAKE2b-256 checksum
How to use checksums
08a7ca18a5258c231b897cd79c3d7b14d00cd023fc0d6251e43725d4104621ef
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 Oct 24, 2026.

Transparency log

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

Download URL gridoxide_mcp-0.1.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
45829a85d1167849334e1d2536fa29d7d49cd9b9114b3df0070c25ee7b93ec30
BLAKE2b-256 checksum
How to use checksums
a6257ff9a507cec6a32337365b0887623e30c73a117650a117fe5160d5c0c204
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 Oct 24, 2026.

Transparency log

Security for gridoxide-mcp 0.1.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.1.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 24, 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