MCP Catalogs
首页

math-mcp

by EthanHenrickson·133·综合分 48

一个提供数学、统计和三角函数的 MCP server,支持准确的数值计算。

ai-llmdeveloper-toolsother
13
Forks
1
活跃 Issue
3 个月前
最近提交
2 天前
收录于

概述

Math-MCP 是一个专注的 MCP server,通过提供可靠的数学运算来增强 LLM 的能力。它涵盖了基本的算术函数、统计计算和三角运算,并有清晰的参数定义。该服务器使用 JavaScript 实现,通过 MCP 配置进行简单安装。

试试问 AI

装完之后,这里有 3 个你可以让 AI 做的事:

:支持 LLM 应用程序中的准确财务计算
:提供需要统计函数的数据分析任务支持
:允许带有三角运算的工程计算

什么时候选它

当您的应用程序需要准确的数学计算和统计运算时,选择Math-MCP,因为LLM可能会错误地近似这些计算。

什么时候不要选它

如果您需要高级数学运算,如矩阵代数、微积分或超出其范围的复数运算,请不要选择Math-MCP。

此 server 暴露的工具

从 README 抽取出 12 个工具
  • addadd(firstNumber, secondNumber)

    Adds two numbers together

  • subtractsubtract(minuend, subtrahend)

    Subtracts the second number from the first number

  • multiplymultiply(firstNumber, secondNumber)

    Multiplies two numbers together

  • divisiondivision(numerator, denominator)

    Divides the first number by the second number

  • sumsum(numbers)

    Adds any number of numbers together

  • meanmean(numbers)

    Calculates the arithmetic mean of a list of numbers

  • medianmedian(numbers)

    Calculates the median of a list of numbers

  • sinsin(number)

    Calculates the sine of a number in radians

  • coscos(number)

    Calculates the cosine of a number in radians

  • roundround(number)

    Rounds a number to the nearest integer

  • minmin(numbers)

    Finds the minimum value from a list of numbers

  • maxmax(numbers)

    Finds the maximum value from a list of numbers

可对比工具

calculator-mcpnumerical-mcppython-mcp

安装

  1. 克隆仓库:git clone https://github.com/EthanHenrickson/math-mcp
  2. 添加到您的 MCP 配置中:
"math": {
  "command": "node",
  "args": ["路径\到\项目\math-mcp\build\index.js"]
}

路径\到\项目 替换为实际路径。

math-mcp 对比

GitHub →

最后更新于 · 由 README + GitHub 公开数据自动生成。