MCP_Calculate_Server
by srinath1
Overview
Provides a Model Context Protocol (MCP) server with calculator tools, documentation access, and prompt templating for integration with AI clients like Claude Desktop.
Installation
python server.pyEnvironment Variables
- TRANSPORT
- HOST
- PORT
- TYPESDK_PATH
Security Notes
The 'calculate' tool uses Python's `eval()` function to evaluate mathematical expressions. Although a `safe_dict` is used to limit available functions, `eval()` is inherently dangerous and notoriously difficult to secure against all forms of malicious input. An attacker capable of controlling the `expression` input could potentially exploit this for arbitrary code execution, privilege escalation, or denial-of-service, even with a restricted environment. This represents a critical vulnerability.
Similar Servers
claude-faf-mcp
Optimizes AI understanding of software projects by providing persistent context, fixing context-drift, and enabling bi-directional synchronization between project metadata and AI documentation.
chuk-mcp-math-server
Provides a highly configurable, high-performance server for a wide range of mathematical computations via the Mathematical Computation Protocol (MCP).
unified-thinking
A Model Context Protocol (MCP) server that consolidates multiple cognitive thinking patterns into a single Go-based implementation with 85 specialized reasoning tools for enhanced problem-solving and AI integration.
mcp-server-project
An AI agent-based Micro-Agent Protocol (MCP) server designed for generating various types of reports, including technical solutions, experimental reports, review reports, analysis reports, and patents, utilizing a 'DeepResearch' mode.