Skip to content
Tresca

powerfactory-mcp

MCP serverCommunity

Thirty-three tools for running PowerFactory studies from Claude Code, from load flow and IEC 60909 to RMS/EMT and protection. By akamaxe.

0 starsUpdated 13 days agoGitHub data from 5 Nov 2026

At a glance

Type
MCP server
Works with
PowerFactory
How it connects
Drives a running copy of the tool
Access
Can modify models
Tool versions
Tested with PowerFactory 2024 SP2 and Python 3.12 on Windows 11
Operating systems
Windows
Needs a PowerFactory licence
Yes
Transport
Local (stdio)
AI clients documented
Claude Code
Licence
Not stated in its documentation
Language
Python

What it can do

  • Runs AC, unbalanced and DC load flow, N-1, short circuit (IEC 60909, VDE, ANSI, complete), RMS and EMT simulation, modal, harmonic, quasi-dynamic and P-V studies, and restores the study case's command settings afterwards.
  • Reads relay settings and computes tripping times and coordination curves.
  • Works in exclusive mode on the real database or in parallel mode on an in-memory copy while the PowerFactory GUI stays open.
  • The installer builds a local attribute catalogue and searchable API references from your own installation and installs a PowerFactory skill for Claude Code.

Limitations

  • The native time-overcurrent plot could not be automated, so curves are redrawn with matplotlib for standard IEC and IEEE characteristics only.
  • Parallel mode copies the database into RAM (about 2.5 GB for a 6,400-bus model).
  • Created in October 2026 with no licence file; run_python executes arbitrary code inside PowerFactory.

Install

git clone https://github.com/akamaxe/powerfactory-mcp.git
cd powerfactory-mcp
py -3.12 install.py

Source: github.com/akamaxe/powerfactory-mcp#installation

MCP servers and skills run code on your computer. Review the source before installing.

Skills that come with it

SkillCommunity

PowerFactory skill (powerfactory-mcp)by akamaxe

A Claude Code skill with checked PowerFactory enumerations, result variables and Python API pitfalls, installed with powerfactory-mcp.

WindowsNeeds a PowerFactory licence0· updated 13 days ago

AI-generated models, drawings and results must be checked by a qualified engineer before use.