
Calculator
A Model Context Protocol server for calculating.
Installation
Installing for Claude Desktop
Option 1: One-Command Installation
npx mcpbar@latest install githejie/mcp-server-calculator -c claude
This command will automatically install and configure the Calculator MCP server for your selected client.
Option 2: Manual Configuration
Run the command below to open your configuration file:
npx mcpbar@latest edit -c claude
After opening your configuration file, copy and paste this configuration:
View JSON configuration
{
"mcpServers": {
"Calculator": {
"command": "uvx",
"args": [
"mcp-server-calculator"
],
"env": {}
}
}
}
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.
Stars
70Forks
13Last commit
1 month agoRepository age
3 monthsLicense
MIT
Auto-fetched from GitHub .
MCP servers similar to Calculator:

Stars
Forks
Last commit

Stars
Forks
Last commit

Stars
Forks
Last commit