
A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

An MCP server that lets AI clients perform exact arithmetic and scientific math evaluations through a single calculate tool.
MCP server for precise mathematical calculations is cataloged as an MCP server attributed to cosmiumx. An MCP server that lets AI clients perform exact arithmetic and scientific math evaluations through a single calculate tool. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for MCP server for precise mathematical calculations are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
It avoids eval, uses the mathjs safe parser with a sandbox and function whitelist, rejects dangerous patterns, and enforces a 5-second timeout.
Yes, it includes big-number support, with examples such as 999999999999999999 + 1 returning 1000000000000000000.
README.md · 414fc61154ed · 采集于 2026-11-13 11:20:05 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
🧮 精确数学计算的 MCP 服务器 - 为 AI 提供 100% 准确的计算能力
在你的 MCP 客户端配置中添加(如 Claude Desktop):
macOS/Linux:
~/Library/Application Support/Claude/claude_desktop_config.json
Windows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"math-calculator": {
"command": "npx",
"args": ["-y", "mcp-math-calculator"]
}
}
}
npm install -g mcp-math-calculator
# 或
pnpm add -g mcp-math-calculator
然后配置:
{
"mcpServers": {
"math-calculator": {
"command": "mcp-math-calculator"
}
}
}
配置完成后,重启你的 AI 客户端,然后可以这样提问:
AI 会自动调用此工具进行精确计算。
calculate精确计算数学表达式。
参数:
expression (string, 必需): 要计算的数学表达式precision (number, 可选): 小数精度位数(默认: 15,范围: 1-64)支持的运算:
| 类型 | 示例 |
|---|---|
| 基础运算 | +, -, *, /, ^, % |
| 括号 | (, ) |
| 函数 | sqrt(), pow(), abs(), round(), floor(), ceil() |
| 三角函数 | sin(), cos(), tan(), asin(), acos(), atan() |
| 对数指数 | log(), log10(), log2(), exp() |
| 常数 | pi, e, tau, phi |
示例:
// 基础运算
"2 + 2" // 4
"10 - 3" // 7
"6 * 7" // 42
"20 / 4" // 5
// 浮点数精度
"0.1 + 0.2" // 0.3 (不是 0.30000000000000004)
// 复杂表达式
"(10 + 20) * 3" // 90
"2 + 3 * 4 - 5 / 5" // 13
// 科学函数
"sqrt(16)" // 4
"pow(2, 3)" // 8
"sin(pi / 2)" // 1
// 大数运算
"123456789 * 987654321" // 121932631112635269
"999999999999999999 + 1" // 1000000000000000000
本工具采用多层安全机制:
eval() - 使用 mathjs 安全解析器# 克隆仓库
git clone https://github.com/Cosmiumx/mcp-math-calculator.git
cd mcp-math-calculator
# 安装依赖
pnpm install
# 构建
pnpm build
# 运行测试
pnpm test
# 监听模式
pnpm watch
项目包含 37 个测试用例,覆盖:
欢迎贡献!请随时提交 Issue 或 Pull Request。
git checkout -b feature/AmazingFeature)git commit -m 'Add some AmazingFeature')git push origin feature/AmazingFeature)MIT License - 详见 LICENSE 文件
遇到问题?请在 GitHub Issues 中报告。
如果这个项目对你有帮助,请给它一个 ⭐️!
Made with ❤️ by Cosmiumx
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for MCP server for precise mathematical calculations from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/mcp-math-calculator)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Alternative and complementary servers in the same category

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.