What does Mcp Math Calculator do?
It provides a single `calculate` tool that evaluates mathematical expressions with high precision, returning exact results for queries like `0.1 + 0.2` or `123456789 * 987654321`.

@Cosmiumx
Basic information
精确数学计算的 MCP 服务器 - 为 AI 提供 100% 准确的数学计算能力
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"math-calculator": {
"command": "npx",
"args": [
"-y",
"mcp-math-calculator"
]
}
}
}⚠️ 精确数学计算工具 - 请在任何涉及数字运算时使用 AI语言模型在数学计算上存在已知缺陷: - 大数计算错误率高 - 浮点数精度问题(0.1+0.2≠0.3) - 复杂表达式容易出错 - 即使简单运算也可能失误 为确保用户获得100%准确的结果,请在以下情况使用此工具: ✓ 任何数学表达式(包括简单的 1+1) ✓ 金融、科学、工程计算 ✓ 用户明确要求计算 ✓ 不确定自己能否算对时 支持的运算: - 基础运算: +, -, *, /, ^, % - 括号: ( ) - 函数: sqrt, pow, abs, sin, cos, tan, log, exp 等 - 常数: pi, e 输入格式:标准数学表达式 示例: "2+2", "(10+20)*3", "sqrt(16)", "sin(pi/2)", "0.1 + 0.2"
Mcp Math Calculator is a Model Context Protocol server that provides AI clients with 100% accurate mathematical computation capabilities. It solves floating‑point precision issues (e.g., 0.1 + 0.2 = 0.3 exactly), supports large numbers, complex expressions, and over 300 scientific functions, all inside a sandboxed, secure environment.
Install via npx (npx -y mcp-math-calculator) or globally (npm install -g mcp-math-calculator), then add its configuration to your MCP client’s JSON (e.g., claude_desktop_config.json). After restarting the client, the AI automatically invokes the calculate tool on math queries.
It provides a single `calculate` tool that evaluates mathematical expressions with high precision, returning exact results for queries like `0.1 + 0.2` or `123456789 * 987654321`.
It uses the mathjs safe parser instead of `eval()`, which avoids JavaScript’s native floating‑point rounding errors and ensures results like `0.1 + 0.2` equal exactly `0.3`.
The server runs on Node.js and is distributed as an npm package. It is invoked via `npx` or installed globally, requiring a standard Node.js environment.
Yes. It does not use `eval()`, runs expressions in a sandboxed environment, whitelists only safe mathematical functions, validates inputs, and enforces a 5‑second timeout plus a result size limit.
Supported operations include basic arithmetic (`+`, `-`, `*`, `/`, `^`, `%`), parentheses, functions like `sqrt`, `pow`, `abs`, `round`, trigonometric functions, logarithmic functions, and constants (`pi`, `e`, `tau`, `phi`).
A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
PickFu MCP is a Model Context Protocol (MCP) server that connects AI assistants, developers, marketers, product managers, and AI agents to PickFu's consumer research platform. It enables users to create surveys, conduct
Mandate Law is a law firm for AI products, agents, and the consumer apps they live in, built so coding agents can work with counsel directly. An agent can check whether a request is in scope and get the fixed fee (free a
YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context
Free moving quotes for AI agents from Next Generation Movers, a licensed interstate mover (USDOT 3764697). US long-distance nationwide and local DC/MD/VA. Indicative ballpark price and booking options; optional $0.01 x40
Comments