Skip to main content
Glama

MCP Calculate Server

by 611711Dark

MCP 計算サーバー

MCP プロトコルと SymPy ライブラリに基づく数学計算サービスで、強力な記号計算機能を提供します。

主な特徴

  • 基本演算:加算、減算、乗算、除算、累乗
  • 代数演算:式の展開、因数分解、簡略化
  • 微積分:微分、積分(定積分・不定積分)、極限計算
  • 方程式の解法:代数方程式、連立方程式
  • 行列演算:行列の逆行列、固有値/固有ベクトルの計算
  • 級数展開:テイラー級数展開
  • 特殊関数:三角関数、対数関数、指数関数

使用例

# Basic operations "2 + 3*5" → 17 # Algebraic operations "expand((x + 1)**2)" → x² + 2x + 1 "factor(x**2 - 2*x - 15)" → (x - 5)(x + 3) # Calculus "diff(sin(x), x)" → cos(x) "integrate(exp(x), (x, 0, 1))" → E - 1 "limit(tan(x)/x, x, 0)" → 1 # Equation solving "solve(x**2 - 4, x)" → [-2, 2] "solve([x**2 + y**2 - 1, x + y - 1], [x, y])" → [(0, 1), (1, 0)] # Matrix operations "Matrix([[1, 2], [3, 4]]).inv()" → [[-2, 1], [3/2, -1/2]] "Matrix([[1, 2, 3], [4, 5, 6]]).eigenvals()" → {9/2 - sqrt(33)/2: 1, 9/2 + sqrt(33)/2: 1}

インストール

Smithery経由でインストール

Smithery経由で Claude Desktop 用の Calculate Server を自動的にインストールするには:

npx -y @smithery/cli install @611711Dark/mcp_sympy_calculate_server --client claude

ローカルインストール

  1. リポジトリのクローン:
    git clone https://github.com/611711Dark/mcp-calculate-server.git cd mcp-calculate-server
  2. 仮想環境を作成し、依存関係をインストールします。
    uv venv source .venv/bin/activate uv pip install -e .
  3. 構成:
    "calculate_expression1": { "isActive": false, "command": "uv", "args": [ "run", "--directory", "/path/to/mcp_calculate_server", "server.py" ], }

APIの使用

数式文字列を渡して MCP プロトコル経由でcalculate_expressionツールを呼び出し、計算結果を返します。

依存関係

  • mcp>=1.5.0
  • sympy>=1.13.3
  • ファストAPI>=0.95.0
  • uvicorn>=0.21.0

ライセンス

このプロジェクトはMITライセンスの下でライセンスされています。LICENSEファイルをご覧ください。

中国語版

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

MCP プロトコルを通じて、基本的な算術、代数、微積分、方程式の解法、行列演算などの記号計算を実行できる数学計算サービス。

  1. 主な特徴
    1. 使用例
      1. インストール
        1. Smithery経由でインストール
        2. ローカルインストール
      2. APIの使用
        1. 依存関係
          1. ライセンス

            Related MCP Servers

            • -
              security
              F
              license
              -
              quality
              A Model Context Protocol (MCP) server that provides mathematical calculations and operations using NumPy, enabling users to perform numerical computations like matrix operations, statistical analysis, and polynomial fitting directly through Claude.
              Last updated -
              1
              Python
              • Linux
              • Apple
            • -
              security
              -
              license
              -
              quality
              A Model Context Protocol (MCP) server that converts LaTeX mathematical expressions to MathML format.
              Last updated -
              3
              JavaScript
              MIT License
            • -
              security
              -
              license
              -
              quality
              A tool server that processes mathematical expressions via Multi-Chain Protocol (MCP), allowing LLMs to solve math problems through tool integration.
              Last updated -
              Python
              MIT License
            • -
              security
              F
              license
              -
              quality
              Provides basic arithmetic operations and advanced mathematical functions through the Model Context Protocol (MCP), with features like calculation history tracking and expression evaluation.
              Last updated -
              Python

            View all related MCP servers

            MCP directory API

            We provide all the information about MCP servers via our MCP API.

            curl -X GET 'https://glama.ai/api/mcp/v1/servers/611711Dark/mcp_calculate_server'

            If you have feedback or need assistance with the MCP directory API, please join our Discord server