LMC-mcp-server
0
OpenDSS MCP Server is a tool for integrating power system simulations with large language models via the MCP protocol. It provides core functionalities of OpenDSS and user-friendly resources for power system analysis. The server is easy to install and supports a variety of common power system tasks.
OpenDSS MCP Server
This project is an OpenDSS server built using the Model Context Protocol (MCP) framework. It allows power system simulation tools to interact with large language models (LLM) via the MCP protocol.
Features
- Supports core functionality of OpenDSS power system simulation
- Exposes OpenDSS functions and data through the MCP protocol
- Provides user-friendly resources, tools, and prompt templates
- Supports common tasks in power system analysis and operations
Installation
Prerequisites
- Python 3.10 or higher
- OpenDSS installation (via opendssdirect.py)
Installation Steps
Use uv to install (recommended) or use pip to install via GitHub.
Quick Start
Start Server
Run in development mode with a debug interface or install to Claude desktop version.
Main Tools
- Compile DSS files, execute OpenDSS commands, solve power systems, get power flow results, voltages, and losses.
Resources
- Access current circuit information, specific element types, bus lists, and result data.
Prompt Templates
- Analyze circuits, solve power flows, and explain results.
Contributing
Issues and contributions are welcome if they comply with project coding standards.
License
MIT