C
Calculator
community
devtools
This server enables LLMs to use calculator for precise numerical calculations.
Calculator MCP Server
A Model Context Protocol server for calculating. This server enables LLMs to use calculator for precise numerical calculations.
Available Tools
- Calculates/evaluates the given expression.calculate
(string, required): Expression to be calculatedexpression
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.
Related Servers
Adfin
official
The only platform you need to get paid - all payments in one place, invoicing and accounting reconciliations with [Adfin](https://www.adfin.com/).
View Details
APIMatic MCP
official
APIMatic MCP Server is used to validate OpenAPI specifications using [APIMatic](https://www.apimatic.io/). The server processes OpenAPI files and returns validation summaries by leveraging APIMatic’s API.
View Details