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.5.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.5-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

Details for the file scicomp_molecular_mcp-0.1.5.tar.gz.

File metadata

  • Download URL: scicomp_molecular_mcp-0.1.5.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.5.tar.gz
Algorithm Hash digest
SHA256 3c9b61ad349a0bffd6ac5ff140745e657e9b6d95476f8f6fc17d6e550b495ab6
MD5 70a9aa3ed4ced6849f1d574c77f54e84
BLAKE2b-256 94fb8644c2f53863bab0f6436aa678cd576c326ba29f16486d058358dbc8700d

See more details on using hashes here.

Provenance

The following attestation bundles were made for scicomp_molecular_mcp-0.1.5.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.5-py3-none-any.whl.

File metadata

File hashes

Hashes for scicomp_molecular_mcp-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 6b26b42c763cc4c17c0bc3a7125f3ad092381e8774f6d9fe7ed7d1ef2d4b2958
MD5 1b03cb242e7ea38a90027da23c34fde3
BLAKE2b-256 17a76b7223c46ec33f663fba726b7e9cf910363c9e8bbb931591667c49e8c4ad

See more details on using hashes here.

Provenance

The following attestation bundles were made for scicomp_molecular_mcp-0.1.5-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