Calculator▌

by githejie
Use Calculator for quick, secure payroll and percentage calculations. Try our percentage calculator and payroll calculat
Provides a secure mathematical expression evaluation service using Python's AST module for basic operations without relying on eval(), enabling quick calculations within conversations.
best for
- / AI assistants needing reliable math calculations
- / Developers building chatbots with numerical capabilities
- / Applications requiring secure expression evaluation
capabilities
- / Calculate mathematical expressions
- / Perform basic arithmetic operations
- / Evaluate complex numerical formulas
- / Process mathematical computations securely
what it does
Evaluates mathematical expressions securely using Python's AST module instead of eval(). Enables precise numerical calculations in AI conversations.
about
Calculator is a community-built MCP server published by githejie that provides AI assistants with tools and capabilities via the Model Context Protocol. Use Calculator for quick, secure payroll and percentage calculations. Try our percentage calculator and payroll calculat It is categorized under productivity, developer tools. This server exposes 1 tool that AI clients can invoke during conversations and coding sessions.
how to install
You can install Calculator in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport. This server supports remote connections over HTTP, so no local installation is required.
license
MIT
Calculator is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.
readme
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.