MCP.so
Sign In
Servers

Calculator-MCP

@to404hanga

High-precision calculation mcp server

Overview

What is Calculator-MCP?

Calculator-MCP is a high-precision scientific calculator server implemented in Go. It supports complex mathematical operations—including arithmetic, trigonometric, and logarithmic functions—with customizable precision up to 75 decimal places. It is intended for users who need reliable, arbitrary-precision calculations.

How to use Calculator-MCP?

Invoke Calculator-MCP by providing mathematical expressions directly as inputs. Example expressions include 1 + 2 * 3, 2 * PI, sqrt(16), or (1 + sqrt(16)) * 2. No additional installation or configuration steps are described in the README.

Key features of Calculator-MCP

  • Supports addition, subtraction, multiplication, and division.
  • Includes constants PI and E for calculations.
  • Provides sqrt, pow, log, ln, and lg functions.
  • Offers trigonometric functions (sin, cos, tan, inverse trig).
  • Allows custom precision up to 75 decimal places.

Use cases of Calculator-MCP

  • Performing arithmetic with nested parentheses.
  • Using mathematical constants in expressions.
  • Computing square roots and exponentiations.
  • Evaluating trigonometric and inverse trigonometric functions.
  • Performing logarithmic calculations with custom bases.

FAQ from Calculator-MCP

Can I divide by zero?

No, division by zero is not allowed.

Can I calculate the square root of a negative number?

No, the square root of negative numbers is not supported.

What precision does Calculator-MCP support?

The default precision is 10 decimal places, and the maximum is 75 decimal places.

Are logarithmic functions available?

Yes: log(x,b) for arbitrary base, ln(x) for natural logarithm, and lg(x) for common logarithm. Input and base must be positive; base cannot be 1.

What are the input range limits for inverse trigonometric functions?

For asin(x) and acos(x), the input must be in the range [-1, 1]. atan(x) has no such restriction.

More from Other