Skip to main content
Glama

Arithmetic MCP Server

사칙 연산 MCP 서버

이 MCP 서버는 기본 사칙 연산(더하기, 뺄셈, 곱셈, 나눗셈)을 수행하는 도구를 제공합니다.

기능

이 서버는 다음과 같은 사칙 연산 도구를 제공합니다.

  1. add - 두 개의 숫자를 더합니다.
  2. subtract - 두 개의 숫자를 뺍니다.
  3. multiply - 두 개의 숫자를 곱합니다.
  4. divide - 두 숫자를 나눕니다(제로 나누기의 경우 오류를 반환)

설치 방법

  1. 이 저장소를 복제하거나 다운로드합니다.
  2. 종속 패키지를 설치합니다.
    npm install
  3. TypeScript를 컴파일합니다.
    npm run build

Cline에서 설정하는 방법

Cline에서 이 서버를 사용하려면 Claude Desktop App의 구성 파일을 편집해야 합니다.

  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 Desktop App을 다시 시작합니다.

사용 예

Cline에서 다음과 같은 프롬프트를 사용하여 사칙 연산 도구를 호출할 수 있습니다.

  • "5와 3을 더해 주세요"
  • "10에서 7을 당겨주세요"
  • "6과 8을 곱해주세요"
  • "20을 4로 나눕니다"

기술 세부 사항

이 서버는 다음 기술을 사용합니다.

  • TypeScript
  • Model Context Protocol (MCP) SDK
  • Zod(밸리데이션용)
Install Server
A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

local-only server

The server can only run on the client's local machine because it depends on local resources.

A server that provides tools for performing basic arithmetic operations (addition, subtraction, multiplication, division) via the Model Context Protocol.

  1. 기능
    1. 설치 방법
      1. Cline에서 설정하는 방법
        1. 사용 예
          1. 기술 세부 사항

            Related MCP Servers

            • A
              security
              F
              license
              A
              quality
              A simple server that provides basic arithmetic operations (addition, subtraction, multiplication, division) as tools that can be called by Large Language Models through the Model Context Protocol.
              Last updated -
              4
              JavaScript
            • A
              security
              F
              license
              A
              quality
              A simple Model Context Protocol server that provides basic arithmetic operations (addition, subtraction, multiplication, division) as tools that can be called by Large Language Models.
              Last updated -
              4
              JavaScript
            • A
              security
              A
              license
              A
              quality
              A Model Context Protocol server that provides basic calculator functionality for LLMs, enabling them to perform mathematical operations like addition, subtraction, multiplication, division, modulo, and square root.
              Last updated -
              6
              125
              12
              TypeScript
              MIT License
              • Linux
            • -
              security
              -
              license
              -
              quality
              A simple implementation of a Model Context Protocol server that demonstrates core functionality including mathematical tools (add, subtract) and personalized greeting resources.
              Last updated -
              3
              Python
              GPL 3.0

            View all related MCP servers

            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