
githejie/mcp-server-calculator
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
githejie/mcp-server-calculator は、https://github.com/githejie/mcp-server-calculator. からインポートされたMCPサーバー候補です。
概要
githejie/mcp-server-calculator は、https://github.com/githejie/mcp-server-calculator. からインポートされたMCPサーバー候補です。
概要(AI 翻訳)
計算のためのモデルコンテキストプロトコルサーバー。このサーバーにより、LLMは計算機を使って正確な数値計算を行うことができます。
利用可能なツール
calculate- 与えられた式を計算・評価します。expression(文字列、必要):計算すべき式
設置
UVの使用(推奨)
uvを使用する場合、特別なインストールは必要ありません。私たちは
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
Using uv (recommended)
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
Using uv (recommended)
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.
インストール
uvx mcp-server-calculator設定
"mcpServers": {
"calculator": {
"command": "uvx",
"args": ["mcp-server-calculator"]
}
}