Comprehensive Math calculation MCP server, providing basic arithmetic, matrix calculation, statistical analysis, calculus, optimization, regression, geometry, number theory, signal processing, financial mathematics, and probability calculations with data visualization.
Project description
Math MCP Server
A Python-based mathematical computation MCP server, providing a suite of mathematical computation tools and plotting utilities.
Run mcp server
uvx math-mcp # using uvx
# Or run the .py file directly (dependencies must be installed manually)
python math_mcp/math_mcp_server.py
Project Structure
math_mcp/
├── __init__.py # Package initialization
├── __main__.py # CLI entry point
├── math_mcp_server.py # Main server file (MCP tool registration)
├── file_utils.py # File path utilities
# Core computation modules
├── basic.py # Basic math computation
├── matrix.py # Matrix computations
├── mstatistics.py # Statistical analysis (avoid conflicts)
├── calculus.py # Calculus
├── optimization.py # Optimization algorithms
├── regression.py # Regression analysis
├── plotting.py # Data visualization
├── geometry.py # Geometric computations
├── number_theory.py # Number theory
├── complex_analysis.py # Complex analysis
├── probability.py # Probability and statistics
# Extended specialized modules
├── signal_processing.py # Signal processing
├── financial.py # Financial mathematics
└── graph_theory.py # Graph theory analysis
Configuration in Claude Desktop
Add the following configuration to your Claude Desktop config file:
{
"mcpServers": {
"math-calculator": {
"command": "uvx",
"args": ["math-mcp"],
"env": {
"OUTPUT_PATH": "path/to/output",
"FONT_PATH": "path/to/font"
}
}
}
}
Or start the server directly:
{
"mcpServers": {
"math-calculator-local": {
"command": "path/to/python_interpreter",
"args": [
"path/to/math_mcp_server.py"
],
"env": {
"OUTPUT_PATH": "path/to/output",
"FONT_PATH": "path/to/font"
}
}
}
}
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file math_mcp-1.3.3.tar.gz.
File metadata
- Download URL: math_mcp-1.3.3.tar.gz
- Upload date:
- Size: 89.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
64a5c3d9b5fb19f7687b45a3ba491fe61f9526259206bc193bfe722157f786b4
|
|
| MD5 |
20929e319d3bc29cdd36231827e682be
|
|
| BLAKE2b-256 |
adc6773a415845c88d832d3d2ad7be69bb7c804c94beebab026cf6140d995ed1
|
File details
Details for the file math_mcp-1.3.3-py3-none-any.whl.
File metadata
- Download URL: math_mcp-1.3.3-py3-none-any.whl
- Upload date:
- Size: 97.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e76519d34442f11e5cae1d30f60d43e81ca88346b7456fc24c33471ba85c2996
|
|
| MD5 |
9b85db310665286bc9885cae907ddaff
|
|
| BLAKE2b-256 |
547fdf2cc23f47c76b0721d49bc6890ffd02e352402ba3f166e469d4d358a86a
|