mcp-server-calculator
A Model Context Protocol server for calculating.
Safety scan
A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.
Badge for your README
Markdown
[](/listings/githejie--mcp-server-calculator)HTML
<a href="/listings/githejie--mcp-server-calculator"><img src="/api/listings/githejie--mcp-server-calculator/badge.svg" alt="findsafeskills safety rating" /></a>Install
Install instructions from the README
As written by the repo's author. findsafeskills has not verified these steps.
These steps run a script from the network that findsafeskills does not scan.
Using uv (recommended)
When using [`uv`](https://docs.astral.sh/uv/) no specific installation is needed. We will use [`uvx`](https://docs.astral.sh/uv/guides/tools/) 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
What was scanned
The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.
README.md · README · 65 lines
View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)
- # 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`](https://docs.astral.sh/uv/) no specific installation is needed. We will
- use [`uvx`](https://docs.astral.sh/uv/guides/tools/) to directly run *mcp-server-calculator*.
- ```bash
- curl -LsSf https://astral.sh/uv/install.sh | sh
- ```
- ### Using PIP
- Alternatively you can install `mcp-server-calculator` via pip:
- ```bash
- pip install mcp-server-calculator
- ```
- After installation, you can run it as a script using:
- ```bash
- python -m mcp_server_calculator
- ```
- ## Configuration
- ### Using uv (recommended)
- Add this to your MCP client settings:
- ```json
- "mcpServers": {
- "calculator": {
- "command": "uvx",
- "args": ["mcp-server-calculator"]
- }
- }
- ```
- ### Using PIP
- Alternatively add this to your MCP client settings:
- ```json
- "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.
Ratings and comments
Sign in to rate this skill.
Sign inFree to use. If it’s helped, pass it on.