Calculator

Provides a secure mathematical expression evaluation service using Python's AST module for basic operations without relying on eva

githejie 153 ↓ 587k
Claude CodeClaude DesktopGeneric
View source ↗

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.

Source

Repository: https://github.com/githejie/mcp-server-calculator

Maintain Calculator?

Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.

Calculator on getagentictools
[![Calculator on getagentictools](https://getagentictools.com/badge/mcp/githejie-mcp-server-calculator.svg)](https://getagentictools.com/mcp/githejie-mcp-server-calculator?ref=badge)