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

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

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 iflow-mcp_mcp-server-calculator 0.2.0

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

Source distribution (sdist)

Source distribution for iflow-mcp_mcp-server-calculator 0.2.0
File Size Uploaded
iflow_mcp_mcp_server_calculator-0.2.0.tar.gz 15.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for iflow-mcp_mcp-server-calculator 0.2.0
File Interpreter ABI Platform
iflow_mcp_mcp_server_calculator-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 20.0 kB

Release files / iflow_mcp_mcp_server_calculator-0.2.0.tar.gz

Download URL iflow_mcp_mcp_server_calculator-0.2.0.tar.gz
Size 15.6 kB
Tags Source
SHA-256 checksum
How to use checksums
f23060bc98c494f402c9cef65635174931f3b5a3bde6c50c78680e8ed97e9ad0
BLAKE2b-256 checksum
How to use checksums
45a2eef9086649a3004da5a6f0ad5e47c950bbe50e723dd58069df54e9fae623
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.9

Release files / iflow_mcp_mcp_server_calculator-0.2.0-py3-none-any.whl

Download URL iflow_mcp_mcp_server_calculator-0.2.0-py3-none-any.whl
Size 4.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8ee8d95390758d26f7465eca96e198fbaa27ee14839cb8c0d4bda1ee5a330b0e
BLAKE2b-256 checksum
How to use checksums
27eac6b5953bf9e590a1b9f36a914cfde74c36e112857012021a09b60ffa8404
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.9

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

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