servers / alinche-math-mcp-server
alinche-math-mcp-server
communityunknownpythonread onlyhealthy
Add your description here
01Tools · 4
How to read this: tool names here are observed from a live tools/list handshake. The Risk label is a heuristic inferred from the tool name (write/destructive verbs), not from executing the tool — a conservative guess, not a verified capability. We never escalate risk from a description. Found one that's wrong? Tell us — we fix on report.
| Tool | Risk | Side effects | Approval |
|---|---|---|---|
| get_all_factors
获取一个数字的所有因子 (Divisors)。
对应 C++ 的 allFactor 函数。
利用预处理的最小质因子 (mpf) 快速分解,然后组合生成所有因子。
Args:
x: 目标整数 (必须在 1 到 N 之间)
Returns:
List[int]: 所有因子的列表,从小到大排序。
| read | false | unknown |
| is_prime
判断一个数字是否为质数。
基于预处理的欧拉筛结果。
Args:
number: 需要判断的整数。
Returns:
bool: 如果是质数返回 True,否则返回 False。
| read | false | unknown |
| calculate_lcm
计算两个数的最小公倍数 (LCM)。
对应 C++ 的 lcm 函数。
公式: LCM(a, b) = (a * b) / GCD(a, b)
Args:
a: 第一个整数
b: 第二个整数
Returns:
int: 最小公倍数
| read | false | unknown |
| calculate_gcd
计算两个数的最大公约数 (GCD)。
对应 C++ 的 gcd 函数。
Args:
a: 第一个整数
b: 第二个整数
Returns:
int: 最大公约数
| read | false | unknown |
02Install & source
uvx alinche-math-mcp-server
uvxpip install alinche-math-mcp-server
pip05Provenance & freshness
sourcesPyPI [p4]
last_checked2026-07-27 08:21Z
next_check2026-08-18 08:39Z
cadenceevery 48h
verifiedmetadata:passed handshake:failed metadata:passed handshake:failed metadata:passed metadata:passed handshake:failed metadata:passed handshake:failed metadata:passed
index_statusindex — 5 unique facts >= 5
06Badge
Add the “as seen on MCPExplorer” badge to your README.
[](https://mcpexplorer.com/servers/alinche-math-mcp-server)
Next step
This is one server. A loadout combines the right servers, governance, and proven plays for a whole job — assembled deliberately, not tool-dumped.
Explore loadouts →