科学计算102

txwg0304/mcp-calculator-102
Hosted
0 Stars 12 次浏览 痴迷0304 更新于 2026-08-23

MCP 服务配置

复制以下 JSON 到 OPClaw 或其他 MCP 客户端的配置文件中即可使用

{
  "mcpServers": {
    "mcp_calculator_kel": {
      "args": [
        "--from",
        "mcp-calculator-102",
        "mcp_calculator_kel"
      ],
      "command": "uvx",
      "isActive": true,
      "name": "mcp_calculator_kel",
      "type": "stdio"
    }
  }
}

可用工具 (7 个)

该服务在 MCP 协议中暴露的工具,AI 可按需调用

add 2 个参数 需填 2 项

执行浮点数加法运算

必填参数:a、b

subtract 2 个参数 需填 2 项

执行浮点数减法运算

必填参数:a、b

multiply 2 个参数 需填 2 项

执行浮点数乘法运算

必填参数:a、b

divide 2 个参数 需填 2 项

执行浮点数除法运算 Args: b: 除数(必须非零)

必填参数:a、b

power 2 个参数 需填 2 项

计算幂运算

必填参数:base、exponent

sqrt 1 个参数 需填 1 项

计算平方根

必填参数:number

factorial 1 个参数 需填 1 项

计算整数阶乘

必填参数:n

服务介绍

Calculator MCP
A numerical calculator based on the Model Context Protocol (MCP), providing simple operations such as addition, subtraction, multiplication, division, power, square root, and integer factorial.

Tool List
name description
add Performs floating-point addition
subtract Performs floating-point subtraction
multiply Performs floating-point multiplication
divide Performs floating-point division. Args: b: divisor (must be non-zero)
power Calculates exponentiation
sqrt Calculates square root
factorial Calculates the factorial of an integer
Inspector
npx @modelcontextprotocol/inspector uvx mcp_calculator_kel

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

相关 MCP 服务