MCP.so
登录

Calculator MCP Server

@mvavassori

关于 Calculator MCP Server

A comprehensive calculator MCP server using TypeScript

基本信息

分类

其他

许可证

MIT

运行时

node

传输方式

stdio

发布者

mvavassori

配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

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.

评论

其他 分类下的更多 MCP 服务器