MCP.so
登录

MCP Calculator Server

@abdulrehmankhalid786

基本信息

分类

其他

许可证

MIT license

传输方式

stdio

作者

abdulrehmankhalid786

关于 MCP Calculator Server

暂无概览

#mcp-calculator#math-server#calculator

MCP Calculator Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "mcp-calculator-server": {
      "command": "python",
      "args": [
        "server.py"
      ]
    }
  }
}

MCP Calculator Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is MCP Calculator Server?

MCP Calculator Server is a tool that exposes basic mathematical operations as callable functions via the Machine Communication Protocol (MCP). It targets developers integrating calculator capabilities into MCP-compatible clients.

How to use MCP Calculator Server?

Clone the repository, install dependencies with pip install -r requirements.txt, then run python server.py. The server listens for MCP requests over standard input/output.

Key features of MCP Calculator Server

  • Addition, subtraction, multiplication, and division
  • Power, square root, cube root, and factorial
  • Natural logarithm and remainder
  • Trigonometric functions: sine, cosine, tangent
  • Exposes 13 callable tools via MCP

Use cases of MCP Calculator Server

  • Embedding arithmetic operations into an MCP-based application
  • Providing math capabilities to a language model or agent over stdin/stdout
  • Rapid prototyping of MCP servers for educational or utility purposes

常见问题

1

What Python version is required?

Python 3.8 or higher is needed.

2

What dependencies are needed?

The `mcp` package and its dependencies are required.

3

How do I start the server?

Run the command `python server.py` after installing dependencies.

4

How does the server communicate?

It uses standard input/output for MCP requests, no network configuration required.

5

What operations are available?

The server provides add, subtract, multiply, divide, power, sqrt, cbrt, factorial, log, remainder, sin, cos, and tan.

评论

其他 分类下的更多 MCP 服务器