Hosts the source code repository and documentation for the Math-Physics-ML MCP System.
Enables exporting trained neural network models to ONNX format for deployment through the Neural MCP server.
Distributes four specialized scientific computing MCP servers (math, quantum, molecular, and neural) as installable Python packages.
Used for testing the MCP servers with coverage support for both CPU and GPU operations.
Implements the MCP servers and provides the runtime environment for scientific computing operations.
Provides symbolic algebra capabilities including equation solving, differentiation, integration, and matrix operations through the Math MCP server.
Math-Physics-ML MCP System
GPU-accelerated Model Context Protocol servers for computational mathematics, physics simulations, and machine learning.
Overview
This system provides 4 specialized MCP servers that bring scientific computing capabilities to AI assistants like Claude:
Server | Description | Tools |
Math MCP | Symbolic algebra (SymPy) + numerical computing | 14 |
Quantum MCP | Wave mechanics & Schrodinger simulations | 12 |
Molecular MCP | Classical molecular dynamics | 15 |
Neural MCP | Neural network training & evaluation | 16 |
Key Features:
GPU acceleration with automatic CUDA detection (10-100x speedup)
Async task support for long-running simulations
Cross-MCP workflows via URI-based data sharing
Progressive discovery for efficient tool exploration
Quick Start
Installation with uvx (Recommended)
Run any MCP server directly without installation:
Installation with pip/uv
Configuration
Claude Desktop
Add to your Claude Desktop configuration file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Claude Code
Add to your project's .mcp.json:
Or configure globally in ~/.claude/settings.json.
Usage Examples
Math MCP
Quantum MCP
Molecular MCP
Neural MCP
Documentation
Full documentation is available at andylbrummer.github.io/math-mcp
Development
See CONTRIBUTING.md for development guidelines.
Performance
GPU acceleration provides significant speedups for compute-intensive operations:
MCP | Operation | CPU | GPU | Speedup |
Math | Matrix multiply (4096x4096) | 2.1s | 35ms | 60x |
Quantum | 2D Schrodinger (512x512, 1000 steps) | 2h | 2min | 60x |
Molecular | MD (100k particles, 10k steps) | 1h | 30s | 120x |
Neural | ResNet18 training (1 epoch) | 45min | 30s | 90x |
Architecture
For technical details about the system architecture, see ARCHITECTURE.md.
License
MIT License - see LICENSE for details.
Contributing
Contributions are welcome! Please see CONTRIBUTING.md for guidelines.