数论函数服务

提供数论函数和因数分解算法的MCP服务器。

  • by daedalus
  • Python
  • 本地部署
  • 更新于
在 GitHub 查看 daedalus/mcp-number-theory

使用说明

mcp数论

MCP服务器公开数论函数和因式分解算法。

安装

pip install mcp-number-theory

用法

from mcp_number_theory import number_theory as nt

# Compute GCD
result = nt.gcd(48, 18)  # Returns 6

# Factorize
from mcp_number_theory import algos
p, q = algos.fermat(1234567890123456789)

MCP服务器

该软件包提供了一个公开数论函数的MCP服务器。运行方式:

mcp-number-theory

mcp名称:io.github.daedalus/mcp-编号-理论