A Model Context Protocol server for calculating
Project description
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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mseep_mcp_server_calculator-0.1.1.tar.gz.
File metadata
- Download URL: mseep_mcp_server_calculator-0.1.1.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
189ff7bcc6adf1c9ae165c371cd9ba8f67a6bdaa0e3d0a39b15e22d241a154b1
|
|
| MD5 |
d6f697a15b47b640e507cddb6aa7d43b
|
|
| BLAKE2b-256 |
6dcbcec05b57f78bb3143a358bcffdf9acff0762202d7912db60e4fd8e26a9dc
|
File details
Details for the file mseep_mcp_server_calculator-0.1.1-py3-none-any.whl.
File metadata
- Download URL: mseep_mcp_server_calculator-0.1.1-py3-none-any.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6caec8c1ce88a500ae1e27e9d90ca4858d7d910fafa2260efaf8c12961aebf81
|
|
| MD5 |
1f6917645c8519fc6fbce89d8f88b297
|
|
| BLAKE2b-256 |
4462782fa9871727bcd44af3463d3bd4c90099bf8b20866b66441cf1d5cfade0
|