pw

pwh-pwh/cal-mcp

An MCP server for Mathematical expression calculation

#math server#calculation engine#MCP protocol
Publisherpwh-pwh/cal-mcp
Submitted date4/19/2025

Overview

Title

Cal Server

How to Use

  • Install via Smithery (npx -y @smithery/cli install @pwh-pwh/cal-mcp --client claude) or manually (clone repo & install dependencies).
  • Start the service with bun run index.ts.
  • Input valid math expressions (e.g., 2 + 3 * PI) to receive calculated results via stdio.

Key Features

  • Math Expression Evaluation: Computes user-provided expressions.
  • Built-in Constants: Supports E, PI, true, and false.
  • Lightweight: Built with Bun and FastMCP for efficiency.
  • Validation: Uses Zod for parameter checks.

Use Cases

  • Quick calculations in development workflows.
  • Integration with Claude Desktop via Smithery.
  • Educational tools for testing math expressions.

Visit More

View All