Skip to main content

a mcp calculator

Project description

计算器 MCP

基于 Model Context Protocol (MCP) 的数值计算器,提供了简单的加减乘除、幂运算、平方根运算和整数阶乘运算。

工具列表

name description
add 执行浮点数加法运算
subtract 执行浮点数减法运算
multiply 执行浮点数乘法运算
divide 执行浮点数除法运算 Args: b: 除数(必须非零)
power 计算幂运算
sqrt 计算平方根
factorial 计算整数阶乘

inspector

npx @modelcontextprotocol/inspector uvx mcp_calculator_kel

MCP 服务器配置

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

mcp_calculator_kel-1.1.0-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file mcp_calculator_kel-1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mcp_calculator_kel-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 29dfd69811701687246ef5d24198fe3ce03d28e0aab386c932ab5ab2d45131aa
MD5 67fcfc28f9d44cb7137230fd449954da
BLAKE2b-256 476fe800a61429021b0d690247d6502a4d36e35adb8ddf44281de0d43f623e6f

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