Math MCP
io.github.andylbrummer/math-mcp
Documentation
scicomp-math-mcp
mcp-name: io.github.andylbrummer/math-mcp
MCP server for symbolic algebra and GPU-accelerated numerical computing.
Overview
This server provides tools for mathematical computation combining symbolic algebra with numerical computing:
- Symbolic mathematics - Equations, simplification, differentiation, integration (via SymPy)
- GPU-accelerated numerics - Fast array operations and linear algebra
- Mathematical transforms - FFT, optimization, root finding
- Linear systems - Solving systems of equations with GPU acceleration
Installation & Usage
# Run directly with uvx (no installation required)
uvx scicomp-math-mcp
# Or install with pip
pip install scicomp-math-mcp
# Then run as a command
scicomp-math-mcp
Available Tools
Symbolic Computation
symbolic_solve- Solve symbolic equationssymbolic_diff- Compute derivativessymbolic_integrate- Compute integralssymbolic_simplify- Simplify expressions
Numerical Computing
create_array- Create arrays with various patternsmatrix_multiply- GPU-accelerated matrix multiplicationsolve_linear_system- Solve Ax = bfft/ifft- Fast Fourier transformsoptimize_function- Function minimizationfind_roots- Find function roots
Configuration
Set the MCP_USE_GPU environment variable to enable GPU acceleration:
MCP_USE_GPU=1 scicomp-math-mcp
Examples
📖 Code Examples
Practical tutorials in EXAMPLES.md:
- Projectile motion with symbolic + numerical computation
- Chemical equilibrium analysis
- Fourier signal analysis
- Circuit analysis with linear systems
- Progressive difficulty (beginner → advanced)
📚 Full Documentation
See the API documentation for complete API reference.
Part of Math-Physics-ML MCP System
Part of a comprehensive system for scientific computing. See the documentation for the complete ecosystem.
