Calculator MCP Server
@githejie
About Calculator MCP Server
A Model Context Protocol server for calculating.
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mcp-server-calculator": {
"command": "python",
"args": [
"-m",
"mcp_server_calculator"
]
}
}
}Tools
1Calculates/evaluates the given expression.
Overview
What is Calculator MCP Server?
A Model Context Protocol server that enables LLMs to perform precise numerical calculations by evaluating mathematical expressions. It provides a single tool for calculating expressions.
How to use Calculator MCP Server?
Install it via uvx (recommended) or pip install mcp-server-calculator. Then add the following configuration to your MCP client settings: for uvx use "command": "uvx", "args": ["mcp-server-calculator"]; for pip use "command": "python", "args": ["-m", "mcp_server_calculator"].
Key features of Calculator MCP Server
- Provides a single
calculatetool for expression evaluation. - Accepts a required
expressionstring parameter. - Designed for integration with any MCP‑compatible client.
- No persistent storage or external dependencies beyond Python.
- Licensed under the MIT License for free use and modification.
Use cases of Calculator MCP Server
- An LLM performing arithmetic or algebraic calculations during a conversation.
- Validating complex numerical expressions before presenting results.
- Offloading exact computation to a dedicated tool to reduce errors.
- Embedding precise mathematical capabilities into AI assistants.
FAQ from Calculator MCP Server
What tool does the Calculator MCP Server provide?
It exposes a single tool called calculate that takes an expression (string, required) and evaluates it.
How do I install the Calculator MCP Server?
You can install it using uvx (no separate install needed) or via pip install mcp-server-calculator. After pip installation, run python -m mcp_server_calculator.
How do I configure the Calculator MCP Server with my MCP client?
Add a JSON block to your client’s settings: for uvx use "command": "uvx", "args": ["mcp-server-calculator"]; for pip use "command": "python", "args": ["-m", "mcp_server_calculator"].
Does the Calculator MCP Server require any specific runtime?
It requires Python and the MCP client. When using uvx, the uv tool handles the runtime automatically.
Is the Calculator MCP Server open source?
Yes, it is licensed under the MIT License, allowing free use, modification, and distribution.
More Other MCP servers
🪟 Windows-MCP
CursorTouchMCP Server for Computer Use in Windows
Core Philosophy: Connect, Unify, Respond
mindsdbDelegate anything. It comes back done.

Sequential Thinking
modelcontextprotocolModel Context Protocol Servers
Codelf
unbugA search tool helps dev to solve the naming things problem.
ghidraMCP
LaurieWiredMCP Server for Ghidra
Comments