Skip to main content

Calculator MCP Server

A Model Context Protocol server for calculating. This server enables LLMs to use calculator for precise numerical calculations.

Available Tools

  • calculate - Calculates/evaluates the given expression.
    • expression (string, required): Expression to be calculated

Installation

Using uv (recommended)

When using uv no specific installation is needed. We will use uvx to directly run mcp-server-calculator.

curl -LsSf https://astral.sh/uv/install.sh | sh

Using PIP

Alternatively you can install mcp-server-calculator via pip:

pip install mcp-server-calculator

After installation, you can run it as a script using:

python -m mcp_server_calculator

Configuration

Using uv (recommended)

Add this to your MCP client settings:

"mcpServers": {
  "calculator": {
    "command": "uvx",
    "args": ["mcp-server-calculator"]
  }
}

Using PIP

Alternatively add this to your MCP client settings:

"mcpServers": {
  "calculator": {
    "command": "python",
    "args": ["-m", "mcp_server_calculator"]
  }
}

License

mcp-server-calculator is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.

Metadata

Release files for mcp-server-calculator 0.2.1

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

Source distribution (sdist)

Source distribution for mcp-server-calculator 0.2.1
File Size Uploaded Provenance
mcp_server_calculator-0.2.1.tar.gz 15.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for mcp-server-calculator 0.2.1
File Interpreter ABI Platform
mcp_server_calculator-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 19.8 kB

Release files / mcp_server_calculator-0.2.1.tar.gz

Download URL mcp_server_calculator-0.2.1.tar.gz
Size 15.6 kB
Tags Source
SHA-256 checksum
How to use checksums
f3d0132962c1b4bcb180f78bac687894ff9f805f63a88e1f10fe84c9842e10ad
BLAKE2b-256 checksum
How to use checksums
6a1eabb31f24e74b774fef17c89a351e5622266d90405a64194635aebff5d716
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.1

Release files / mcp_server_calculator-0.2.1-py3-none-any.whl

Download URL mcp_server_calculator-0.2.1-py3-none-any.whl
Size 4.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
eda19514247f3445dc4d6c60365251543d6e65837ba4a132cb447e8e686e9c52
BLAKE2b-256 checksum
How to use checksums
4fc8638a98c1bfa6d390ee7d4d228738fc859a7e6ce740b5ecdaae9372982414
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.1

Security for mcp-server-calculator 0.2.1

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.

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