MCP server for classical molecular dynamics simulations
Project description
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
# Run directly with uvx (no installation required)
uvx scicomp-molecular-mcp
# Or install with pip
pip install scicomp-molecular-mcp
# With GPU support
pip install scicomp-molecular-mcp[gpu]
# Run as command
scicomp-molecular-mcp
Available Tools
System Setup
create_particles- Initialize particle system with temperatureadd_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 analysiscompute_msd- Mean squared displacementanalyze_temperature- Thermodynamic propertiesdetect_phase_transition- Identify phase transitionsdensity_field- Compute density field visualization
Visualization
render_trajectory- Animate particle trajectories
Configuration
Enable GPU acceleration with environment variable:
MCP_USE_GPU=1 scicomp-molecular-mcp
Examples
🎬 Visual Demos
Spectacular animated demonstrations:
- Galaxy Collision - N-body gravitational dynamics
Run demos with Claude:
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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file scicomp_molecular_mcp-0.1.4.tar.gz.
File metadata
- Download URL: scicomp_molecular_mcp-0.1.4.tar.gz
- Upload date:
- Size: 13.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8db553284f9d395ee53935a89f6728c66289e547aa9481e20c7ec64e75aa79f6
|
|
| MD5 |
01fbcec74a722be2fd40fb8433a1e158
|
|
| BLAKE2b-256 |
695cd5ec8a9409002364fea6565e06d9167d4f4b7f1a1a2dcc3c3586e4b0c1db
|
Provenance
The following attestation bundles were made for scicomp_molecular_mcp-0.1.4.tar.gz:
Publisher:
publish.yml on andylbrummer/math-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
scicomp_molecular_mcp-0.1.4.tar.gz -
Subject digest:
8db553284f9d395ee53935a89f6728c66289e547aa9481e20c7ec64e75aa79f6 - Sigstore transparency entry: 789263578
- Sigstore integration time:
-
Permalink:
andylbrummer/math-mcp@36fc0245b35a74bfe276b46857efbaef3184615f -
Branch / Tag:
refs/tags/v0.1.4 - Owner: https://github.com/andylbrummer
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@36fc0245b35a74bfe276b46857efbaef3184615f -
Trigger Event:
push
-
Statement type:
File details
Details for the file scicomp_molecular_mcp-0.1.4-py3-none-any.whl.
File metadata
- Download URL: scicomp_molecular_mcp-0.1.4-py3-none-any.whl
- Upload date:
- Size: 9.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d6a319728fb2ce56d44e41ed018f2638fea5dad08b0db69c8ef04fb2f5fe2459
|
|
| MD5 |
6e6ccd4c3dcd765b58790dc2bbc09ecb
|
|
| BLAKE2b-256 |
dcd9aa02eebe46e938bccecf46af66bcff712a7bced04ef6712386a618f4f233
|
Provenance
The following attestation bundles were made for scicomp_molecular_mcp-0.1.4-py3-none-any.whl:
Publisher:
publish.yml on andylbrummer/math-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
scicomp_molecular_mcp-0.1.4-py3-none-any.whl -
Subject digest:
d6a319728fb2ce56d44e41ed018f2638fea5dad08b0db69c8ef04fb2f5fe2459 - Sigstore transparency entry: 789263584
- Sigstore integration time:
-
Permalink:
andylbrummer/math-mcp@36fc0245b35a74bfe276b46857efbaef3184615f -
Branch / Tag:
refs/tags/v0.1.4 - Owner: https://github.com/andylbrummer
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@36fc0245b35a74bfe276b46857efbaef3184615f -
Trigger Event:
push
-
Statement type: