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.

评论

其他 分类下的更多 MCP 服务器