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

Total release size: 6.2 MB

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

Download URL gridoxide_mcp-0.2.0-py3-none-win_amd64.whl
Size 1.9 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
c1af7b20b15f135629d217e59cbd6637fdf9221c03dcb971c27841a3834e53ec
BLAKE2b-256 checksum
How to use checksums
59dc77feb47a7c6590fa8c24d0804fab9b274ceff215d2f1c8ffdfcd18c4912a
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 30, 2026.

Transparency log

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

Download URL gridoxide_mcp-0.2.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
753106d56dc4a5974c4f1a65b1bacf48cd5c14eb0bd5d22849cee419b4953bf9
BLAKE2b-256 checksum
How to use checksums
24fcf88c501f1b4e118466333ebdae3e4ede4e302d3677fbb498dca63848ff2a
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 30, 2026.

Transparency log

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

Download URL gridoxide_mcp-0.2.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
0b202710f16d4a69a30511ede111738203302e44d235c122cf0f31f480740edb
BLAKE2b-256 checksum
How to use checksums
020d4c4115272a3b40f90b72a1c51bfd85ee4e20021a607ae81c2281e009fffd
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 30, 2026.

Transparency log

Security for gridoxide-mcp 0.2.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.2.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 30, 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