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

mseep_mcp_server_calculator-0.2.1.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

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

mseep_mcp_server_calculator-0.2.1-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file mseep_mcp_server_calculator-0.2.1.tar.gz.

File metadata

File hashes

Hashes for mseep_mcp_server_calculator-0.2.1.tar.gz
Algorithm Hash digest
SHA256 b90100bf072b7c268e3739708b157aba29b5d541c73aa5be1ff30813fc5dfbb6
MD5 4d97c4bc78e38781af04221d638c3729
BLAKE2b-256 171b922c1be2af3624fa3699237a400acdbe77f654fe6df51b6e4fbea1f18567

See more details on using hashes here.

File details

Details for the file mseep_mcp_server_calculator-0.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for mseep_mcp_server_calculator-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d4e2be154052dec19d8fa6ba1e81d82b96830d6c698fcd8076195d4c1ef5cf5e
MD5 8485541dadb23945cf1a60965775f9b5
BLAKE2b-256 377838e4bf9d60214c07f36fc492aa3f5b323f6d277b4fa56f13196063bf428a

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