Skip to main content

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"
            }
        }
    }
}

Metadata

Release files for math-mcp 1.3.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for math-mcp 1.3.3
File Size Uploaded Provenance
math_mcp-1.3.3.tar.gz 89.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for math-mcp 1.3.3
File Interpreter ABI Platform
math_mcp-1.3.3-py3-none-any.whl Python 3 none any Details

Total release size: 187.3 kB

Release files / math_mcp-1.3.3.tar.gz

Download URL math_mcp-1.3.3.tar.gz
Size 89.5 kB
Tags Source
SHA-256 checksum
How to use checksums
64a5c3d9b5fb19f7687b45a3ba491fe61f9526259206bc193bfe722157f786b4
BLAKE2b-256 checksum
How to use checksums
adc6773a415845c88d832d3d2ad7be69bb7c804c94beebab026cf6140d995ed1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.3

Release files / math_mcp-1.3.3-py3-none-any.whl

Download URL math_mcp-1.3.3-py3-none-any.whl
Size 97.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e76519d34442f11e5cae1d30f60d43e81ca88346b7456fc24c33471ba85c2996
BLAKE2b-256 checksum
How to use checksums
547fdf2cc23f47c76b0721d49bc6890ffd02e352402ba3f166e469d4d358a86a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.3

Security for math-mcp 1.3.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page