calculator-mcp-server

calculator-mcp-server

1

The Calculator MCP Server is a comprehensive server that provides a variety of mathematical functions accessible via MCP. Implemented in TypeScript, it supports connectivity with language models for performing calculations.

Calculator MCP Server

A comprehensive calculator implemented as a Model Context Protocol (MCP) server using TypeScript. This server provides an array of mathematical functions as MCP tools, enabling language models to perform calculations.

Features

  • Basic Arithmetic: Addition, Subtraction, Multiplication, Division
  • Exponents & Roots: Power, Square Root
  • Trigonometry: Sine, Cosine, Tangent
  • Inverse Trigonometry: Arcsine, Arccosine, Arctangent, Arctan2
  • Degree/Radian Conversion
  • Logarithms: Natural Log, Base-10 Log, Log with arbitrary base
  • Constants: Pi, Euler's number
  • Factorial
  • Percentage: Calculate percentage of a number
  • Modulo: Remainder operation
  • Absolute Value
  • Rounding: Floor, Ceiling, Round to nearest integer