计算器 MCP
基于 Model Context Protocol (MCP) 的数值计算器,提供了简单的加减乘除、幂运算、平方根运算和整数阶乘运算。
工具列表
| name | description |
|---|---|
| add | 执行浮点数加法运算 |
| subtract | 执行浮点数减法运算 |
| multiply | 执行浮点数乘法运算 |
| divide | 执行浮点数除法运算 Args: b: 除数(必须非零) |
| power | 计算幂运算 |
| sqrt | 计算平方根 |
| factorial | 计算整数阶乘 |
inspector
npx @modelcontextprotocol/inspector uvx mcp_calculator_kel
MCP 服务器配置
{
"mcpServers": {
"mcp_calculator_kel": {
"command": "uvx",
"args": [
"mcp-calculator_102_@latest"
]
}
}
}
Metadata
Release files for mcp-calculator-102 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mcp_calculator_102-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for mcp_calculator_102-0.1.2-py3-none-any.whl |
Release files / mcp_calculator_102-0.1.2-py3-none-any.whl
| Download URL | mcp_calculator_102-0.1.2-py3-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c3cddd54d3df588afc1764f0ed0ba2b33e33b5601fc25c5ce3d1eea401722e80
|
|
BLAKE2b-256 checksum How to use checksums |
3462156d41572ba3425923edd7b04aa0fbd9b7768ab67a7b7fc5ce23c24dd0fc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.9
|
Security for mcp-calculator-102 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.