mcpField
C
Calculator-MCP

Calculator-MCP

Local
github.com/to404hangaScience & Education0Updated 77w ago

About Calculator-MCP

Calculator-MCP is a Go-based scientific calculator server for precise arithmetic and mathematical functions. It supports configurable decimal precision up to 75 places.

Key features

  1. 01Arbitrary-precision decimal arithmetic
  2. 02Nested arithmetic expressions
  3. 03Constants PI and E
  4. 04Logarithmic and trigonometric functions
  5. 05Configurable precision up to 75 places

Use cases

  1. 01Evaluating scientific expressions
  2. 02Calculating with high decimal precision
  3. 03Computing logarithms and trigonometric values

MCP support

It exposes a high-precision scientific calculator to MCP clients, including arithmetic, constants, logarithms, and trigonometric functions.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

Calculator-MCP

High-Precision Scientific Calculator

A high-precision scientific calculator implemented in Go, supporting complex mathematical operations with customizable precision.

Features
  1. Basic Operations

    • Addition(+), Subtraction(-), Multiplication(*), Division(/)
    • Supports nested parentheses, e.g., (1 + 2) * 3
    • Supports arbitrary precision decimal calculations
  2. Mathematical Constants

    • PI (π): Mathematical constant pi
    • E (e): Base of natural logarithm
  3. Mathematical Functions

    • sqrt(x): Square root calculation
    • pow(x, y): Exponentiation, e.g., 2 ^ 3
    • log(x,b): Logarithm with base b, e.g., log(8,2) = 3
    • ln(x): Natural logarithm (base e), e.g., ln(e) = 1
    • lg(x): Common logarithm (base 10), e.g., lg(100) = 2
  4. Trigonometric Functions

    • sin(x): Sine function
    • cos(x): Cosine function
    • tan(x): Tangent function
    • asin(x): Arcsine function, input range [-1,1]
    • acos(x): Arccosine function, input range [-1,1]
    • atan(x): Arctangent function
  5. Precision Control

    • Supports custom calculation precision
    • Default precision of 10 decimal places
    • Maximum precision up to 75 decimal places
Usage Examples:
  1. Basic operation: 1 + 2 * 3
  2. Constant operation: 2 * PI
  3. Function calculation: sqrt(16)
  4. Compound operation: (1 + sqrt(16)) * 2
  5. Trigonometric function: sin(PI/2)
  6. High precision: E ^ 2
  7. Logarithm: log(1000,10) = 3
  8. Natural logarithm: ln(E^2) = 2
  9. Common logarithm: lg(1000) = 3
Important Notes:
  1. Division by zero is not allowed
  2. Square root of negative numbers is not allowed
  3. Input values for inverse trigonometric functions must be within valid range
  4. Logarithm input and base must be positive, base cannot be 1
  5. Natural logarithm input must be positive

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.