What Python version is required?
Python 3.13 or higher is required, along with the `mcp-server` library which is installed automatically.
@xiaoyingv
Basic information
Calculator MCP Server tool ;基于 Python AST 的安全表达式计算器 MCP 服务,支持基础数学运算和错误防护机制。
No standard config provided
This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.
RepositoryTool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Calculator MCP Server 🧮 is a Python-based MCP service that evaluates mathematical expressions safely using Python AST parsing instead of eval. It supports basic arithmetic operations, power operations, and sign handling, with built-in error protection against code injection, division by zero, and invalid expressions.
Install the package via pip install mcp-calculate-server, then create a FastMCP server instance and run it on stdio transport using calculator.run(transport='stdio'). The server exposes a single tool perform_calculation that accepts a string expression and returns the formatted result or an error message.
+, -, *, /)**) and sign operations (+, -)Python 3.13 or higher is required, along with the `mcp-server` library which is installed automatically.
It parses expressions into an AST and evaluates only supported nodes, preventing arbitrary code execution that `eval` would allow.
The server supports `+`, `-`, `*`, `/`, `**`, unary plus, and unary minus.
The server returns an error message: `❌ 错误:除数不能为零` (Division by zero is not allowed).
Yes, it is released under the MIT License. Source code is available on GitHub.
A curated list of references for MLOps

Model Context Protocol Servers
🚀 The fast, Pythonic way to build MCP servers and clients.

See and control a real Windows PC you own — from any MCP client, locally or remotely. Observe (UIA + screenshots), click/type/drag/scroll, launch apps, owner Live View. BYOH: your machine, your key.

Connect your AI assistant to your own YOUB endurance training account. Read recorded activities with full analysis, planned sessions, race goals, wellness (HRV, sleep, resting HR) and your athletic profile. Create or mov
Comments