PO

phelanshao/orca-mcp-server

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

20 stars 7 forks 质量 57 趋势 0

MCP服务器专门用于生成和管理ORCA量子化学计算的输入文件。

概览

一款用于ORCA量子化学软件的模型上下文协议(MCP)服务器,提供智能工具用于生成、验证和优化ORCA输入文件。 ORCA MCP 服务器是一款综合工具,旨在协助量子化学研究人员和计算化学家处理 ORCA 计算。它为以下领域提供智能辅助: - : 自动生成基于分子结构和计算需求的 ORCA 输入文件 - : 验证 ORCA 输入文件语法并检测常见错误 - : 推荐最优基底集、SCF 设置和内存配置 - : 分析失败计算并提出修正建议 - : 建议合适的关键词并检测冲突 - : 从分子坐标和计算参数创建完整的 ORCA 输入文件 - : 对 ORCA 输入文件语法进行全面验证,并提供详细的错误报告 - : 基于计算类型和当前设置的智能关键词推荐 - : 智能推荐...

概述(AI 翻译)

一款用于ORCA量子化学软件的模型上下文协议(MCP)服务器,提供智能工具用于生成、验证和优化ORCA输入文件。

概述

ORCA MCP 服务器是一款综合工具,旨在协助量子化学研究人员和计算化学家处理 ORCA 计算。它为以下领域提供智能辅助:

  • 输入文件生成:根据分子结构和计算需求自动生成ORCA输入文件
  • 语法验证:验证ORCA输入文件语法并检测常见错误
  • 参数优化:推荐最优基集、SCF设置和内存配置
  • 收敛诊断:分析失败的计算并提出解决方案
  • 关键词管理:建议合适关键词并检测冲突

特色

核心功能

  • ** 🔧 输入文件生成**:从分子坐标和计算参数创建完整的ORCA输入文件
  • ** ✅ 语法验证**:对ORCA输入文件语法进行全面验证,并详细报告错误

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

ORCA MCP Server

A Model Context Protocol (MCP) server for ORCA quantum chemistry software that provides intelligent tools for generating, validating, and optimizing ORCA input files.

Overview

The ORCA MCP Server is a comprehensive tool designed to assist quantum chemistry researchers and computational chemists in working with ORCA calculations. It provides intelligent assistance for:

  • Input File Generation: Automatically generate ORCA input files based on molecular structures and calculation requirements
  • Syntax Validation: Validate ORCA input file syntax and detect common errors
  • Parameter Optimization: Recommend optimal basis sets, SCF settings, and memory configurations
  • Convergence Diagnostics: Analyze failed calculations and suggest fixes
  • Keyword Management: Suggest appropriate keywords and detect conflicts

Features

Core Functionality

  • 🔧 Input File Generation: Create complete ORCA input files from molecular coordinates and calculation parameters
  • ✅ Syntax Validation: Comprehensive validation of ORCA input file syntax with detailed error reporting
  • 💡 Keyword Suggestions: Intelligent keyword recommendations based on calculation type and current settings
  • 🎯 Parameter Optimization: Smart recommendations for basis sets, SCF settings, and memory allocation
  • 🔍 Convergence Diagnostics: Analyze SCF convergence failures and provide targeted solutions

Supported Calculation Types

  • Single Point Energy Calculations
  • Geometry Optimizations
  • Frequency Calculations
  • Combined Optimization + Frequency
  • TD-DFT (Time-Dependent DFT)
  • MP2 and Coupled Cluster methods
  • NMR and EPR calculations

Coordinate Format Support

  • XYZ Coordinates: Standard Cartesian coordinates
  • Internal Coordinates: Z-matrix format
  • External Files: References to .xyz and .gzmt files

Installation

Prerequisites

  • Node.js 18+
  • npm or yarn
  • TypeScript 5.0+

Install Dependencies

npm install

Build the Server

npm run build

Run Tests

npm test

Run with Coverage

npm run test:coverage

Usage

As an MCP Server

The server can be used with any MCP-compatible client. Configure your client to connect to this server using stdio transport.

Example configuration for Claude Desktop:

{
  "mcpServers": {
    "orca-mcp-server": {
      "command": "node",
      "args": ["path/to/orca-mcp-server/build/index.js"],
      "env": {}
    }
  }
}

Available Tools

generate_input_file

Generate a complete ORCA input file based on calculation parameters.

Parameters:

  • calculation_type (string): Type of calculation (“single_point”, “optimization”, “frequency”, etc.)
  • charge (number): Molecular charge
  • multiplicity (number): Spin multiplicity
  • coordinates_xyz_or_internal (string, optional): Molecular coordinates
  • keywords (array, optional): Additional ORCA keywords
在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "orca-mcp-server": { "command": "node", "args": ["path/to/orca-mcp-server/build/index.js"], "env": {} } } }