Skip to main content

A Model Context Protocol server for power calculating

Project description

Calculator MCP Server

A Model Context Protocol server for power calculating. This server enables LLMs to use calculator for precise numerical power 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-calpower-server.

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

Using PIP

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

pip install mcp-calpower-server

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

python -m mcp_calpower_server

Configuration

Using uv (recommended)

Add this to your MCP client settings:

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

Using PIP

Alternatively add this to your MCP client settings:

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

License

mcp-calpower-server 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

mcp_calpower_server-0.3.0.tar.gz (14.7 kB view details)

Uploaded Source

Built Distribution

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

mcp_calpower_server-0.3.0-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file mcp_calpower_server-0.3.0.tar.gz.

File metadata

  • Download URL: mcp_calpower_server-0.3.0.tar.gz
  • Upload date:
  • Size: 14.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for mcp_calpower_server-0.3.0.tar.gz
Algorithm Hash digest
SHA256 7c6b7177a57074db823932c20c0afb9d45ccffce84cedef21e55b2674420b8e8
MD5 1bb104181ba0566e6451df60ea5b1076
BLAKE2b-256 20acc15e508948eff7b9d760179b6b1e67580fb1171f6231a2bfbc59830a1491

See more details on using hashes here.

File details

Details for the file mcp_calpower_server-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mcp_calpower_server-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d319980ad0c61f2c0344166daa0fa5401fbeb51a3f1d2320385c113cfb769bfa
MD5 cd726998f8561d10218a7b21cafdc176
BLAKE2b-256 f77e6f037d64c5c32de1855ee3104879ed33b069cfaa3268ed06a8f8b66a4218

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