Molecular Mcp

io.github.andylbrummer由 GitHub 账号 andylbrummer 发布v0.1.6更新于 Nov 3, 2026

GPU-accelerated MCP server for molecular dynamics, N-body simulations, and particle systems

已验证STDIO仅桌面数据与分析AI 与机器学习

概览

AI 生成的概览

本地 MCP 服务器,让助手搭建并运行经典分子动力学与 N 体粒子模拟,并对结果进行分析和可视化。

可以做什么
  • 创建带设定温度的粒子系统,并添加 Lennard-Jones 或库仑相互作用势
  • 以 NVE、NVT 或 NPT 系综运行模拟,并取回轨迹数据
  • 分析结果:径向分布函数、均方位移、温度与热力学性质、相变检测以及密度场
  • 渲染粒子轨迹动画可视化
适用场景
适合希望让助手直接运行物理或化学类粒子模拟(如简单液体、离子体系、星系碰撞等 N 体演示)并查看统计结果,而不必自己编写模拟代码的场景。
运行要求
作为本地进程在用户机器上运行,通过 uvx 或 pip 从 scicomp-molecular-mcp 包(Python)启动。可选 CUDA GPU 加速通过环境变量 MCP_USE_GPU 开启。未声明任何账号、API 密钥或请求头。
安装前请注意
模拟在本机运行,计算量可能很大,尤其是大体系;GPU 加速需要支持 CUDA 的环境。服务器会在自身会话中写入模拟状态与轨迹,结果应加以核对而非直接采信。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Molecular Mcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

scicomp-molecular-mcp

mcp-name: io.github.andylbrummer/molecular-mcp

MCP server for classical molecular dynamics simulations.

Overview

This server provides tools for molecular dynamics simulations with support for various ensembles and interaction potentials:

  • Particle systems - Create and manage systems of interacting particles
  • Interaction potentials - Lennard-Jones and Coulomb interactions
  • Ensembles - NVE (microcanonical), NVT (canonical), NPT (isothermal-isobaric)
  • Analysis tools - Radial distribution functions, mean squared displacement, phase transitions
  • Visualization - Trajectory rendering and density field visualization
  • GPU acceleration - Optional CUDA acceleration for large systems

Installation & Usage

bash
# Run directly with uvx (no installation required)uvx scicomp-molecular-mcp
# Or install with pippip install scicomp-molecular-mcp
# With GPU supportpip install scicomp-molecular-mcp[gpu]
# Run as commandscicomp-molecular-mcp

Available Tools

System Setup

  • create_particles - Initialize particle system with temperature
  • add_potential - Add Lennard-Jones or Coulomb interactions

Simulation

  • run_md - NVE ensemble (constant energy, volume)
  • run_nvt - NVT ensemble (constant temperature, volume)
  • run_npt - NPT ensemble (constant temperature, pressure)
  • get_trajectory - Retrieve simulation trajectory data

Analysis

  • compute_rdf - Radial distribution function analysis
  • compute_msd - Mean squared displacement
  • analyze_temperature - Thermodynamic properties
  • detect_phase_transition - Identify phase transitions
  • density_field - Compute density field visualization

Visualization

  • render_trajectory - Animate particle trajectories

Configuration

Enable GPU acceleration with environment variable:

bash
MCP_USE_GPU=1 scicomp-molecular-mcp

Examples

🎬 Visual Demos

Spectacular animated demonstrations:

Run demos with Claude:

bash
claude -p "Simulate two galaxies colliding" \  --allowedTools "mcp__molecular-mcp__*"

📖 Code Examples

Practical tutorials in EXAMPLES.md:

  • Simple liquid simulation with Lennard-Jones
  • Temperature & pressure control
  • Diffusion coefficient calculation
  • Ionic systems with Coulomb interactions

📚 Full Documentation

See the API documentation for complete reference.

Part of Math-Physics-ML MCP System

Part of a comprehensive system for scientific computing. See the documentation for the complete ecosystem.

来源:servers/molecular-mcp/README.md,提交 798e264

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.1.6最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分