Calculator MCP Server
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
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 no specific installation is needed. We will
use uvx to directly run *mcp-server-calculator*.
Using PIP
Alternatively you can install mcp-server-calculator via pip:
After installation, you can run it as a script using:
Configuration
Using uv (recommended)
Add this to your MCP client settings:
Using PIP
Alternatively add this to your MCP client settings:
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.