Calculator MCP Server

by githejie
Verified
MIT License
  • Linux
  • Apple

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

計算機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 ファイルをご覧ください。

-
security - not tested
A
license - permissive license
-
quality - not tested

LLM が数式を評価することで正確な数値計算を実行できるようにするモデル コンテキスト プロトコル サーバー。

  1. Available Tools
    1. Installation
      1. Using uv (recommended)
      2. Using PIP
    2. Configuration
      1. Using uv (recommended)
      2. Using PIP
    3. License
      ID: h6n79597nw