Cal ServerServer

pwh-pwh
GitHub
mathcalculatorlocal

Loading subscription status...

💡 Description

Cal Server is a simple mathematical expression evaluation service built on the FastMCP framework, using the Bun runtime environment. It utilizes the expr-eval library to parse and compute user-provided mathematical expressions through standard input and output interaction. The project aims to provide a lightweight and efficient calculation tool supporting basic arithmetic operations and built-in constants.

📝 JSON Entries

{
  "mcpServers": [
    {
      "cal-mcp": {
        "args": [
          "cal-mcp"
        ],
        "command": "bunx"
      }
    }
  ]
}

🛠️ Tools

cal

Features

  • Expression Calculation: Supports user input of mathematical expressions and returns the computation result.
  • Built-in Constants: Includes E, PI, true, and false.

💬 Example Queries

  • Calculate 2 + 3 * PI
  • Evaluate E ^ 2 + 1