Current collected state Current
Observed since 20 Oct, 19:01 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
adam 计算器 mcp 工具
adam-calculator-mcp 是一个功能完整的计算器 MCP 工具,提供多种数学运算功能,版本为 0.1.1。
>=3.10httpx>=0.28.1mcp[cli]>=1.21.0pip install adam-calculator-mcp
uvx adam-calculator-mcp
# 直接运行
adam-calculator-mcp
# 使用 uvx 运行
uvx adam-calculator-mcp
在 claude_desktop_config.json 中添加:
{
"mcpServers": {
"adam-calculator": {
"command": "adam-calculator-mcp",
"args": []
}
}
}
add(a, b) - 加法运算subtract(a, b) - 减法运算multiply(a, b) - 乘法运算divide(a, b) - 除法运算(支持除零检查)power(base, exponent) - 幂运算sqrt(value) - 平方根(支持负数检查)average(values) - 计算平均值stats(values) - 统计分析(返回完整统计信息)from adam_calculator_mcp import add, multiply, stats
# 基础运算
result = add(10, 5)
print(f"10 + 5 = {result}")
# 统计分析
data = [1, 2, 3, 4, 5]
statistics = stats(data)
print(f"统计数据: {statistics}")
安装后,你的 MCP 客户端可以自动发现并调用这些计算器工具。
所有函数都包含完善的错误处理:
MIT License
adam adam@example.com
# 构建包
uv build
# 发布到 PyPI (需要配置认证)
uv publish
# 测试发布
uv publish --dry-run
# 使用 pip 安装
pip install adam-calculator-mcp
# 使用 uvx 直接运行 (无需安装)
uvx adam-calculator-mcp
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.1.4 | 13 Nov 2025 | 2 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 19:01 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:a03ff08ef33a2b8937cb27ba1732b04e1cbb4f9c511240ce068f3ab8cf05a6f0