Skip to main content

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 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:

MCP_USE_GPU=1 scicomp-molecular-mcp

Examples

🎬 Visual Demos

Spectacular animated demonstrations:

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

scicomp_molecular_mcp-0.1.4.tar.gz (13.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

scicomp_molecular_mcp-0.1.4-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

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

Hashes for scicomp_molecular_mcp-0.1.4.tar.gz
Algorithm Hash digest
SHA256 8db553284f9d395ee53935a89f6728c66289e547aa9481e20c7ec64e75aa79f6
MD5 01fbcec74a722be2fd40fb8433a1e158
BLAKE2b-256 695cd5ec8a9409002364fea6565e06d9167d4f4b7f1a1a2dcc3c3586e4b0c1db

See more details on using hashes here.

Provenance

The following attestation bundles were made for scicomp_molecular_mcp-0.1.4.tar.gz:

Publisher: publish.yml on andylbrummer/math-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file scicomp_molecular_mcp-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for scicomp_molecular_mcp-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 d6a319728fb2ce56d44e41ed018f2638fea5dad08b0db69c8ef04fb2f5fe2459
MD5 6e6ccd4c3dcd765b58790dc2bbc09ecb
BLAKE2b-256 dcd9aa02eebe46e938bccecf46af66bcff712a7bced04ef6712386a618f4f233

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page