OpenDSS MCP 服务器
About
OpenDSS MCP 服务器 is an OpenDSS server built with the Model Context Protocol (MCP) framework. It allows power system simulation tools to interact with large language models (LLMs) via the MCP protocol. It is intended for engineers and developers working with power system analysis…
Details
- Author
- XJTU-RL
- Downloads
- 348
- Categories
- Other
Jump to
- Supports core OpenDSS power system simulation functionality.
- Exposes OpenDSS capabilities through MCP resources, tools, and prompt templates.
- Provides tools such as compile_dss_file, solve, get_power_flow, get_voltages, and get_losses.
- Offers resources like circuit://current, elements://{type}, buses://list, and results://{result_type}.
- Includes prompt templates for circuit analysis, power flow solving, and result explanation.
Install using uv or pip from the Git repository. Start the server in development mode with mcp dev -m opendss_mcp.server or install it to Claude Desktop with mcp install -m opendss_mcp.server. The README provides a Python code example showing how to create an MCP server and use tools like compile_dss_file.
OpenDSS MCP 服务器
这个项目是使用Model Context Protocol (MCP)框架构建的OpenDSS服务器。它使电力系统仿真工具可以通过MCP协议与大型语言模型(LLM)进行交互。
功能特点
- 支持OpenDSS电力系统仿真核心功能
- 通过MCP协议暴露OpenDSS的功能和数据
- 提供易用的资源、工具和提示模板
- 支持电力系统分析和操作的常见任务
安装
前提条件
- Python 3.10 或更高版本
- OpenDSS 安装(通过opendssdirect.py)
安装步骤
使用 uv 安装(推荐):
uv install git+https://github.com/your-username/opendss-mcp.git
或者使用 pip 安装:
pip install git+https://github.com/your-username/opendss-mcp.git
快速开始
启动服务器
```bash
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



