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

Uploaded Python 3

File details

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

File metadata

  • Download URL: scicomp_molecular_mcp-0.1.6.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.6.tar.gz
Algorithm Hash digest
SHA256 f1b564939ae1849f4d67a6242589ebb4c266716640b3fe74526490771abdc6e9
MD5 3eae0a384e606c5aa7146b931c102bf7
BLAKE2b-256 b49fa90c4fc85a3cb69b470ef8b8a88b4f1fc6592ef3981f3abe37094885816d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for scicomp_molecular_mcp-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 616862982674d3959d7fc8dc981f343ccb6e564c0841ba2d1647c4c49eb0147f
MD5 50a042b7c6e906a30a6f94ef79094324
BLAKE2b-256 7de581a0e20a1d64c7cf1a02a880767fd71f1a81ec79a4d31c97d05ba56fb10a

See more details on using hashes here.

Provenance

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