計算機MCPサーバー
計算用のモデルコンテキストプロトコルサーバー。このサーバーにより、LLMは計算機を使って正確な数値計算を行うことができます。
利用可能なツール
calculate- 指定された式を計算/評価します。expression(文字列、必須): 計算する式
インストール
uvの使用(推奨)
uvを使用する場合、特別なインストールは必要ありません。uvx uvx使用してmcp-server-calculator を直接実行します。
curl -LsSf https://astral.sh/uv/install.sh | sh
PIPの使用
あるいは、pip 経由でmcp-server-calculatorをインストールすることもできます。
pip install mcp-server-calculator
インストール後、次のコマンドを使用してスクリプトとして実行できます。
python -m mcp_server_calculator
構成
uvの使用(推奨)
MCP クライアント設定に以下を追加します:
"mcpServers": {
"calculator": {
"command": "uvx",
"args": ["mcp-server-calculator"]
}
}
PIPの使用
あるいは、MCP クライアント設定に以下を追加します。
"mcpServers": {
"calculator": {
"command": "python",
"args": ["-m", "mcp_server_calculator"]
}
}
ライセンス
mcp-server-calculator は MIT ライセンスに基づきます。つまり、MIT ライセンスの条件に従って、ソフトウェアを自由に使用、改変、配布することができます。詳細については、プロジェクトリポジトリの LICENSE ファイルをご覧ください。
Related MCP Servers
- Asecurity-licenseAqualityA Model Context Protocol server that provides basic mathematical and statistical functions to LLMs, enabling them to perform accurate numerical calculations through a simple API.Last updated -131139MIT License
- -security-license-qualityA simple Model Context Protocol server that provides basic arithmetic operations (addition, subtraction, multiplication, division) as tools that can be called by Large Language Models.
- -security-license-qualityA Model Context Protocol (MCP) server that converts LaTeX mathematical expressions to MathML format.Last updated -3MIT License
- Asecurity-licenseAqualityA 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 -62814MIT License