Calculator MCP Server
A Model Context Protocol server for calculating. This server enables LLMs to use calculator for precise numerical calculations.
Available Tools
calculate- Calculates/evaluates the given expression.expression(string, required): Expression to be calculated
Installation
Using uv (recommended)
When using uv no specific installation is needed. We will
use uvx to directly run mcp-server-calculator.
curl -LsSf https://astral.sh/uv/install.sh | sh
Using PIP
Alternatively you can install mcp-server-calculator via pip:
pip install mcp-server-calculator
After installation, you can run it as a script using:
python -m mcp_server_calculator
Configuration
Using uv (recommended)
Add this to your MCP client settings:
"mcpServers": {
"calculator": {
"command": "uvx",
"args": ["mcp-server-calculator"]
}
}
Using PIP
Alternatively add this to your MCP client settings:
"mcpServers": {
"calculator": {
"command": "python",
"args": ["-m", "mcp_server_calculator"]
}
}
License
mcp-server-calculator is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.
Recommend MCP Servers 💡
MayaMCP
Model Context Protocol (MCP) server implementation for Autodesk Maya
excel-to-json-mcp
MCP Server converting Excel and CSV data into JSON
mcp-server-pacman
A Model Context Protocol server providing package index querying capabilities for PyPI, npm, crates.io, Docker Hub, and Terraform Registry.
md-emoji-mcp
一个为Markdown技术文章添加表情符号的超便捷CLI小工具,支持本地和远程表情包加载。
Office-PowerPoint-MCP-Server
A MCP server for PowerPoint manipulation using python-pptx, providing tools for creating, editing, and manipulating PowerPoint presentations through the MCP protocol.
salaah-mcp
MCP service providing Islamic prayer times calculations and related Islamic astronomical information