Skip to main content
Glama
Calculator MCP Server

Calculator MCP Server

by githejie

計算機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

Related MCP server: Calculator MCP

構成

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

Available Tools

1 tool
calculateD

Calculates/evaluates the given expression.

Inputs: expression (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    C2.3/5.0

    Scored across 1 tool

    Disambiguation5/5

    With only one tool, there is no possibility of confusion or overlap between tools; the single tool 'calculate' has a distinct and clear purpose for evaluating expressions.

    Naming Consistency5/5

    The single tool name 'calculate' follows a consistent verb-based pattern, and with only one tool, there is no inconsistency in naming conventions to evaluate.

    Tool Count2/5

    A single tool for a calculator server feels thin and under-scoped, as it lacks operations for common mathematical functions (e.g., add, subtract, trigonometric functions) or advanced features, making it borderline too few for the domain.

    Completeness2/5

    The tool surface is severely incomplete for a calculator domain; it only provides a generic 'calculate' tool without covering basic arithmetic operations, scientific functions, or memory features, leading to significant gaps in functionality.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      C
      maintenance
      A Model Context Protocol server that provides basic mathematical and statistical functions to LLMs, enabling them to perform accurate numerical calculations through a simple API.
      13
      192
      MIT
    • A
      license
      B
      quality
      C
      maintenance
      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.
      6
      235 npm
      15
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      A backend service that provides accurate arithmetic calculation capabilities to AI models via the Model Context Protocol, allowing LLMs to offload mathematical computations for numerical queries.
      1
      MIT