mcp-server-calculator-0.2.0


توضیحات

A Model Context Protocol server for calculating
ویژگی مقدار
سیستم عامل -
نام فایل mcp-server-calculator-0.2.0
نام mcp-server-calculator
نسخه کتابخانه 0.2.0
نگهدارنده []
ایمیل نگهدارنده []
نویسنده -
ایمیل نویسنده He Jie <hejie6173@gmail.com>
آدرس صفحه اصلی -
آدرس اینترنتی https://pypi.org/project/mcp-server-calculator/
مجوز MIT
# Calculator MCP Server A Model Context Protocol server for calculating. This server enables LLMs to use calculator for precise numerical calculations. ### Available Tools - `calculate` - Calculates/evaluates the given expression. - `expression` (string, required): Expression to be calculated ## Installation ### Using uv (recommended) When using [`uv`](https://docs.astral.sh/uv/) no specific installation is needed. We will use [`uvx`](https://docs.astral.sh/uv/guides/tools/) to directly run *mcp-server-calculator*. ```bash curl -LsSf https://astral.sh/uv/install.sh | sh ``` ### Using PIP Alternatively you can install `mcp-server-calculator` via pip: ```bash pip install mcp-server-calculator ``` After installation, you can run it as a script using: ```bash python -m mcp_server_calculator ``` ## Configuration ### Using uv (recommended) Add this to your MCP client settings: ```json "mcpServers": { "calculator": { "command": "uvx", "args": ["mcp-server-calculator"] } } ``` ### Using PIP Alternatively add this to your MCP client settings: ```json "mcpServers": { "calculator": { "command": "python", "args": ["-m", "mcp_server_calculator"] } } ``` ## License mcp-server-calculator is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.


نیازمندی

مقدار نام
- mcp>=1.4.1


زبان مورد نیاز

مقدار نام
>=3.10 Python


نحوه نصب


نصب پکیج whl mcp-server-calculator-0.2.0:

    pip install mcp-server-calculator-0.2.0.whl


نصب پکیج tar.gz mcp-server-calculator-0.2.0:

    pip install mcp-server-calculator-0.2.0.tar.gz