Skip to content
Back to search

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.

Checked today
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/githejie--mcp-server-calculator/badge.svg)](/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

i

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)

  1. # Calculator MCP Server
  2. A Model Context Protocol server for calculating. This server enables LLMs to use calculator for precise numerical calculations.
  3. ### Available Tools
  4. - `calculate` - Calculates/evaluates the given expression.
  5. - `expression` (string, required): Expression to be calculated
  6. ## Installation
  7. ### Using uv (recommended)
  8. When using [`uv`](https://docs.astral.sh/uv/) no specific installation is needed. We will
  9. use [`uvx`](https://docs.astral.sh/uv/guides/tools/) to directly run *mcp-server-calculator*.
  10. ```bash
  11. curl -LsSf https://astral.sh/uv/install.sh | sh
  12. ```
  13. ### Using PIP
  14. Alternatively you can install `mcp-server-calculator` via pip:
  15. ```bash
  16. pip install mcp-server-calculator
  17. ```
  18. After installation, you can run it as a script using:
  19. ```bash
  20. python -m mcp_server_calculator
  21. ```
  22. ## Configuration
  23. ### Using uv (recommended)
  24. Add this to your MCP client settings:
  25. ```json
  26. "mcpServers": {
  27. "calculator": {
  28. "command": "uvx",
  29. "args": ["mcp-server-calculator"]
  30. }
  31. }
  32. ```
  33. ### Using PIP
  34. Alternatively add this to your MCP client settings:
  35. ```json
  36. "mcpServers": {
  37. "calculator": {
  38. "command": "python",
  39. "args": ["-m", "mcp_server_calculator"]
  40. }
  41. }
  42. ```
  43. ## License
  44. 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 in

Free to use. If it’s helped, pass it on.