Skip to main content

A Model Context Protocol server for calculating

Project description

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.

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

iflow_mcp_mcp_server_calculator-0.2.0.tar.gz (15.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file iflow_mcp_mcp_server_calculator-0.2.0.tar.gz.

File metadata

File hashes

Hashes for iflow_mcp_mcp_server_calculator-0.2.0.tar.gz
Algorithm Hash digest
SHA256 f23060bc98c494f402c9cef65635174931f3b5a3bde6c50c78680e8ed97e9ad0
MD5 280fe66c39d4b32b80996e27fa6d7a51
BLAKE2b-256 45a2eef9086649a3004da5a6f0ad5e47c950bbe50e723dd58069df54e9fae623

See more details on using hashes here.

File details

Details for the file iflow_mcp_mcp_server_calculator-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for iflow_mcp_mcp_server_calculator-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8ee8d95390758d26f7465eca96e198fbaa27ee14839cb8c0d4bda1ee5a330b0e
MD5 16f9b132df69d4c7a751abc1bc8cbbc7
BLAKE2b-256 27eac6b5953bf9e590a1b9f36a914cfde74c36e112857012021a09b60ffa8404

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page