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.4.0.tar.gz (3.0 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.4.0-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mcp_calpower_server-0.4.0.tar.gz
  • Upload date:
  • Size: 3.0 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.4.0.tar.gz
Algorithm Hash digest
SHA256 756dd1da89acb02c8d73104dcb882ae2dab4fcdacc5211559feffc4a7355503a
MD5 7fec404a1afcd457074f4d6418fb1cfe
BLAKE2b-256 5a874f7b47115c9b6921882e92be3f75ebf0619562d6b7918f10f05735c118e1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_calpower_server-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 792c845f8d367d99e4698bb53bb347a8d6894e3d6035c7a0902ba6a8dfeaf78d
MD5 c693b92576d120f3ca36a4e9942c7782
BLAKE2b-256 cf7d364ad3cb39c9f59bf8113ef451a6e2ca5f636033c8fa6988c3b7f3e0fe17

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