Metadata-Version: 2.4
Name: scicomp-math-mcp
Version: 0.1.2
Summary: MCP server for symbolic algebra and GPU-accelerated numerical computing
Project-URL: Homepage, https://github.com/andylbrummer/math-mcp
Project-URL: Documentation, https://andylbrummer.github.io/math-mcp/api/math-mcp
Project-URL: Repository, https://github.com/andylbrummer/math-mcp
Author-email: Andy Brummer <andy@example.com>
License-Expression: MIT
Keywords: algebra,gpu,math,mcp,model-context-protocol,symbolic,sympy
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Scientific/Engineering :: Mathematics
Requires-Python: >=3.11
Requires-Dist: mcp>=1.0.0
Requires-Dist: mpmath>=1.3.0
Requires-Dist: numpy>=1.26.0
Requires-Dist: scicomp-compute-core>=0.1.2
Requires-Dist: scicomp-mcp-common>=0.1.2
Requires-Dist: scipy>=1.11.0
Requires-Dist: sympy>=1.12
Provides-Extra: gpu
Requires-Dist: cupy-cuda12x>=13.0.0; extra == 'gpu'
Description-Content-Type: text/markdown

# scicomp-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

```bash
# 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 equations
- `symbolic_diff` - Compute derivatives
- `symbolic_integrate` - Compute integrals
- `symbolic_simplify` - Simplify expressions

### Numerical Computing
- `create_array` - Create arrays with various patterns
- `matrix_multiply` - GPU-accelerated matrix multiplication
- `solve_linear_system` - Solve Ax = b
- `fft` / `ifft` - Fast Fourier transforms
- `optimize_function` - Function minimization
- `find_roots` - Find function roots

## Configuration

Set the `MCP_USE_GPU` environment variable to enable GPU acceleration:

```bash
MCP_USE_GPU=1 scicomp-math-mcp
```

## Examples

See the [API documentation](https://andylbrummer.github.io/math-mcp/api/math-mcp) for detailed examples and API reference.

## Part of Math-Physics-ML MCP System

Part of a comprehensive system for scientific computing. See the [documentation](https://andylbrummer.github.io/math-mcp/) for the complete ecosystem.
