MCP.so
Sign In

Calculator MCP Server

@mvavassori

About Calculator MCP Server

A comprehensive calculator MCP server using TypeScript

Basic information

Category

Other

License

MIT

Runtime

node

Transports

stdio

Publisher

mvavassori

Config

No standard config provided

This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.

Repository

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is Calculator MCP Server?

A comprehensive calculator implemented as a Model Context Protocol (MCP) server using TypeScript. It exposes a wide range of mathematical functions as MCP tools, allowing language models connected via MCP clients (like Claude for Desktop, Cursor, etc.) to perform calculations.

How to use Calculator MCP Server?

Install Node.js (v16+), clone the repository, run npm install and npm run build. Then configure your MCP client (e.g., Claude for Desktop) by editing its claude_desktop_config.json to add the server with the absolute path to build/index.js, and restart the client.

Key features of Calculator MCP Server

  • Basic arithmetic (addition, subtraction, multiplication, division)
  • Exponents and roots (power, square root)
  • Trigonometry (sine, cosine, tangent) in radians
  • Inverse trigonometry (arcsine, arccosine, arctangent, arctan2) in radians
  • Degree/radian conversion
  • Logarithms (natural log, base-10 log, log with arbitrary base)
  • Constants (pi, Euler's number)
  • Factorial, percentage, modulo, absolute value, rounding (floor, ceiling, round)

Use cases of Calculator MCP Server

  • AI assistants performing precise mathematical calculations
  • Developers integrating mathematical capabilities into AI-powered applications
  • Automating calculations in data analysis or scientific computing workflows
  • Supporting educational tools that require step-by-step computation

FAQ from Calculator MCP Server

What are the prerequisites for using Calculator MCP Server?

Node.js version 16 or higher and npm (usually included with Node.js) are required.

How do I install Calculator MCP Server?

Clone the repository, run npm install to install dependencies, then npm run build to compile the TypeScript code.

How do I connect Calculator MCP Server to Claude for Desktop?

Edit Claude's MCP configuration file (located at ~/Library/Application Support/Claude/claude_desktop_config.json on macOS) and add an entry under mcpServers with the command node and the absolute path to build/index.js as an argument. Restart Claude for Desktop.

What transport protocol does Calculator MCP Server use?

It uses the MCP stdio transport.

What mathematical functions are available?

Functions include basic arithmetic, exponents and roots, trigonometry, inverse trigonometry, degree/radian conversion, logarithms, constants, factorial, percentage, modulo, absolute value, floor, ceiling, and rounding.

Comments

More Other MCP servers