MCP.so
ログイン

MCP Calculate Server

@611711Dark

MCP Calculate Server について

MCP Calculate Server

基本情報

カテゴリ

その他

ライセンス

MIT

ランタイム

python

トランスポート

stdio

公開者

611711Dark

設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "calculate_expression1": {
      "isActive": false,
      "command": "uv",
      "args": [
        "run",
        "--directory",
        "/home/jazz/Workplace/cline/mcp_calculate_server",
        "server.py"
      ],
      "autoApprove": [],
      "disabled": true
    }
  }
}

ツール

ツールは検出されませんでした

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is MCP Calculate Server?

A mathematical calculation service based on the MCP protocol and the SymPy library, providing symbolic computation capabilities for AI agents. It allows users to perform arithmetic, algebra, calculus, equation solving, matrix operations, series expansion, and special function evaluations by sending mathematical expression strings.

How to use MCP Calculate Server?

Install via Smithery (npx -y @smithery/cli install @611711Dark/mcp_sympy_calculate_server --client claude) or clone the repository, set up a virtual environment with uv, and install dependencies. Configure the server in your MCP client using the calculate_expression tool, passing a mathematical expression string as input.

Key features of MCP Calculate Server

  • Basic arithmetic (addition, subtraction, multiplication, division, exponentiation)
  • Expression expansion, factorization, and simplification
  • Differentiation, integration (definite/indefinite), and limits
  • Solving algebraic equations and systems of equations
  • Matrix inversion, eigenvalues, and eigenvectors
  • Taylor series expansion
  • Trigonometric, logarithmic, and exponential functions

Use cases of MCP Calculate Server

  • Solving algebraic equations and systems symbolically
  • Computing derivatives and integrals for calculus problems
  • Expanding and factoring polynomial expressions
  • Performing matrix operations (inverse, eigenvalues) for linear algebra
  • Generating Taylor series expansions for functions

FAQ from MCP Calculate Server

What dependencies does MCP Calculate Server require?

It requires mcp>=1.5.0 and sympy>=1.13.3.

Is MCP Calculate Server secure against arbitrary code execution?

Yes. As of version 0.1.1, it parses expressions through a restricted SymPy-only evaluator that rejects Python imports, filesystem access, and other non-mathematical constructs. Oversized expressions and large results are also validated to reduce denial-of-service risk.

What mathematical operations are supported?

The server supports basic arithmetic, algebraic manipulation (expand, factor, simplify), calculus (diff, integrate, limit), equation solving (solve), matrix methods (det, inv, eigenvals, eigenvects), series expansion (series), and special functions (sin, cos, log, exp, sqrt). Symbols, constants (pi, E, oo, I), and the Sum object with .doit() are also supported.

How do I install MCP Calculate Server?

You can install it automatically via Smithery using npx -y @smithery/cli install @611711Dark/mcp_sympy_calculate_server --client claude, or manually by cloning the repository, creating a virtual environment with uv, installing dependencies, and configuring the server in your MCP client.

コメント

「その他」の他のコンテンツ