GM

githejie/mcp-server-calculator

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

160 stars 27 forks 품질 66 트렌드 20MIT

githejie/mcp-server-calculator는 [[T0]에서 가져온 MCP 서버 후보입니다.

개요

githejie/mcp-server-calculator는 [[T0]에서 가져온 MCP 서버 후보입니다.

개요(AI 번역)

계산을 위한 모델 컨텍스트 프로토콜 서버입니다. 이 서버는 LLM이 계산기를 사용하여 정밀한 수치 계산을 할 수 있게 합니다.

사용 가능한 도구

  • calculate - 주어진 식을 계산/평가합니다.
  • expression (문자열, 필요): 계산할 표현식

설치

UV 사용 (권장)

[[T2]를 사용할 때는 별도의 설치가 필요하지 않습니다. 우리는 uvx를 사용하여 mcp-server-calculator를 직접 실행하세요.

PIP 사용

또는 pip을 통해 mcp-server-calculator를 설치할 수도 있습니다:

설치 후에는 다음 방법으로 스크립트로 실행할 수 있습니다:

구성

UV 사용 (권장)

MCP 클라이언트 설정에 추가하세요:

PIP 사용

또는 MCP 클라이언트 설정에 이 내용을 추가하세요:

면허증

mcp-server-calculator는 MIT 라이선스 하에 라이선스되어 있습니다. 즉, MIT 라이선스의 조건을 준수하더라도 소프트웨어를 자유롭게 사용, 수정, 배포할 수 있습니다. 자세한 내용은 프로젝트 저장소의 LICENSE 파일을 참조하시기 바랍니다.

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

Calculator MCP Server

A Model Context Protocol server for calculating. This server enables LLMs to use calculator for precise numerical calculations.

Available Tools

  • calculate - Calculates/evaluates the given expression.
    • expression (string, required): Expression to be calculated

Installation

When using uv no specific installation is needed. We will use uvx to directly run mcp-server-calculator.

curl -LsSf https://astral.sh/uv/install.sh | sh

Using PIP

Alternatively you can install mcp-server-calculator via pip:

pip install mcp-server-calculator

After installation, you can run it as a script using:

python -m mcp_server_calculator

Configuration

Add this to your MCP client settings:

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

Using PIP

Alternatively add this to your MCP client settings:

"mcpServers": {
  "calculator": {
    "command": "python",
    "args": ["-m", "mcp_server_calculator"]
  }
}

License

mcp-server-calculator 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.

GitHub에서 전체 README 보기

설치

uvx mcp-server-calculator
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

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