calculator-mcp MCP Server

A TypeScript-based MCP server that implements a robust calculator with precise decimal arithmetic. This server demonstrates core MCP concepts by providing arithmetic operations with support for…

Local serverstdio

What is the calculator-mcp Server?

calculator-mcp is an MCP project maintained in the ericvrp/calculator-mcp repository. The maintainer describes its purpose as “A TypeScript-based MCP server that implements a robust calculator with precise decimal arithmetic. This server demonstrates core MCP concepts by providing arithmetic operations with support…”. Read the project documentation for the complete scope.

Local setup

The project provides a local client configuration using /path/to/calculator-mcp/src/index.ts. Follow the repository’s build and installation steps before copying it, and replace example paths with the paths on your own computer.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
addAdds an array of numbers.
subtractSubtracts numbers sequentially from the first.
multiplyMultiplies an array of numbers.
divideDivides numbers sequentially. Handles division by zero.
set_precisionConfigures decimal precision for all subsequent calculations.

How to install the calculator-mcp Server

{
  "mcpServers": {
    "Calculator": {
      "command": "/path/to/calculator-mcp/src/index.ts"
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.