Skip to main content

Math MCP Server

A Model Context Protocol (MCP) server for mathematical calculations.

Features

  • Basic Calculations: Evaluate mathematical expressions
  • Equation Solving: Solve linear equations
  • Safe Evaluation: Secure expression parsing

Installation

npx math-mcp-server

Using npm

npm install -g math-mcp-server
math-mcp-server

Usage

The server provides two tools:

1. calculate

Evaluate mathematical expressions:

{
  "name": "calculate",
  "arguments": {
    "expression": "2 + 3 * 4"
  }
}

2. solve_equation

Solve linear equations:

{
  "name": "solve_equation",
  "arguments": {
    "equation": "2x + 5 = 15"
  }
}

MCP Client Configuration

Add to your MCP client configuration:

{
  "mcpServers": {
    "math": {
      "command": "npx",
      "args": ["math-mcp-server"]
    }
  }
}

Development

git clone <your-repo>
cd math-mcp
npm install
npm run build
npm start

Metadata

Release files for math-mcp-server-testing 1.0.5

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-server-testing 1.0.5
File Size Uploaded Provenance Actions
math_mcp_server_testing-1.0.5.tar.gz 9.9 MB Without provenance Details for math_mcp_server_testing-1.0.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for math-mcp-server-testing 1.0.5
File Interpreter ABI Platform Actions
math_mcp_server_testing-1.0.5-py3-none-any.whl Python 3 none any Details for math_mcp_server_testing-1.0.5-py3-none-any.whl

Total release size: 9.9 MB

Release files / math_mcp_server_testing-1.0.5.tar.gz

Download URL math_mcp_server_testing-1.0.5.tar.gz
Size 9.9 MB
Tags Source
SHA-256 checksum
How to use checksums
4681241fdc7327a5ebbe647887b22a53426c36710491a94ba7549c87565f189d
BLAKE2b-256 checksum
How to use checksums
7c92b72df67b49a8139a5a71cc4fde26a569b1549bd9737ac2e9c0ce6d431c45
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.0

Release files / math_mcp_server_testing-1.0.5-py3-none-any.whl

Download URL math_mcp_server_testing-1.0.5-py3-none-any.whl
Size 3.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
543a817acde8b5d8ab54ac7bd430aa02fd7f69e55c581e32b078af227c09bafc
BLAKE2b-256 checksum
How to use checksums
da99b6e5207ccd75ebe86b3c9cf121e114d8783cb9b73bfc69082334b133d34f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.0

Security for math-mcp-server-testing 1.0.5

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