Skip to main content
Glama
YuheiNakasaka

Arithmetic MCP Server

算术运算 MCP 服务器

该 MCP 服务器提供执行四种基本算术运算的工具:加法、减法、乘法和除法。

功能

本服务器提供以下运算工具:

  1. 添加- 将两个数字相加

  2. 减法——减去两个数字

  3. 乘法——将两个数字相乘

  4. 除法——将两个数字相除(如果除以零则返回错误)

Related MCP server: FastMCP Dummy Server

如何安装

  1. 克隆或下载此存储库

  2. 安装依赖项:

    npm install
  3. 编译 TypeScript:

    npm run build

如何在 Cline 上设置

要将此服务器与 Cline 一起使用,您需要编辑 Claude 桌面应用程序的配置文件:

  1. 在以下路径中创建或编辑配置文件:

    ~/Library/Application Support/Claude/claude_desktop_config.json
  2. 添加以下内容(或者将其添加到现有的 mcpServers 对象中,如果已经存在):

    {
      "mcpServers": {
        "arithmetic": {
          "command": "node",
          "args": ["/Users/y_nakasaka/Documents/Cline/MCP/arithmetic-server/src/index.js"],
          "disabled": false,
          "autoApprove": []
        }
      }
    }
  3. 重启 Claude 桌面应用程序

使用示例

您可以使用以下提示调用 Cline 中的算术工具:

  • “将 5 加 3。”

  • “从 10 中减去 7。”

  • “将 6 乘以 8。”

  • “用 20 除以 4。”

技术细节

该服务器使用以下技术:

  • TypeScript

  • 模型上下文协议 (MCP) SDK

  • Zod(用于验证)

Install Server
F
license - not found
C
quality
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    B
    quality
    D
    maintenance
    A simple server that provides basic mathematical operations (sum and subtraction) through the Model Context Protocol.
    2
    1
  • F
    license
    -
    quality
    D
    maintenance
    Provides basic mathematical operations (addition, subtraction, multiplication, division) through a Model Context Protocol server. Enables MCP-compatible clients like chatbots to perform calculations by sending structured math requests.

View all related MCP servers

Related MCP Connectors

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/YuheiNakasaka/arithmetic-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server