Calculator
67
0
Summary
MCP Server Calculator provides a simple mathematical expression evaluation service using Python's AST module for secure parsing and calculation. Built by He Jie, it exposes a single 'calculate' tool that safely evaluates mathematical expressions without using Python's built-in eval() function, supporting basic operations like addition, subtraction, multiplication, division, and exponentiation. The implementation uses FastMCP for server functionality and is packaged for easy installation via pip, making it ideal for workflows requiring quick calculations without leaving the conversation interface.
Available Actions(1)
calculate
Calculates/evaluates the given expression. Parameters: expression (string, required): Expression to be calculated.
Last Updated: May 10, 2025
社区评论
0.0
0 条评论
5
0
4
0
3
0
2
0
1
0
暂无评论. 成为第一个评论的人!
登录以参与讨论