Arithmetic MCP Server
算术运算 MCP 服务器
该 MCP 服务器提供执行四种基本算术运算的工具:加法、减法、乘法和除法。
功能
本服务器提供以下运算工具:
添加- 将两个数字相加
减法——减去两个数字
乘法——将两个数字相乘
除法——将两个数字相除(如果除以零则返回错误)
Related MCP server: FastMCP Dummy Server
如何安装
克隆或下载此存储库
安装依赖项:
npm install编译 TypeScript:
npm run build
如何在 Cline 上设置
要将此服务器与 Cline 一起使用,您需要编辑 Claude 桌面应用程序的配置文件:
在以下路径中创建或编辑配置文件:
~/Library/Application Support/Claude/claude_desktop_config.json添加以下内容(或者将其添加到现有的 mcpServers 对象中,如果已经存在):
{ "mcpServers": { "arithmetic": { "command": "node", "args": ["/Users/y_nakasaka/Documents/Cline/MCP/arithmetic-server/src/index.js"], "disabled": false, "autoApprove": [] } } }重启 Claude 桌面应用程序
使用示例
您可以使用以下提示调用 Cline 中的算术工具:
“将 5 加 3。”
“从 10 中减去 7。”
“将 6 乘以 8。”
“用 20 除以 4。”
技术细节
该服务器使用以下技术:
TypeScript
模型上下文协议 (MCP) SDK
Zod(用于验证)
Available Tools
4 toolsTool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool has a clearly distinct mathematical operation: addition, division, multiplication, and subtraction. There is no overlap in purpose, and an agent can easily distinguish between them based on their names alone.
All tool names follow a consistent pattern of simple, lowercase verbs that directly describe the arithmetic operation. There are no deviations in style or convention across the set.
With 4 tools covering the basic arithmetic operations, the count is well-scoped and appropriate for a server focused on simple calculations. Each tool earns its place without redundancy or gaps in this limited domain.
For a basic arithmetic server, the tool set is complete, covering all fundamental operations: addition, subtraction, multiplication, and division. There are no obvious gaps, and agents can perform essential calculations without dead ends.
Maintenance
Related MCP Connectors
This MCP server enables users to perform scientific computations regarding linear algebra and vect…
A Model Context Protocol server for Wix AI tools
MCP server for progressive tool usage at any scale (see https://klavis.ai)
Math MCP server for primality, factorization, Java templates, and integer multiplication.
Related MCP Servers
- FlicenseNot gradedqualityNot gradedmaintenanceA sample implementation of Model Context Protocol server demonstrating core functionality with simple arithmetic tools and greeting resources.-
- FlicenseNot gradedqualityNot gradedmaintenanceA minimal example server implementing the Model Context Protocol, providing addition and multiplication tools for learning and experimentation with MCP clients.1-
- FlicenseBqualityDmaintenanceA simple server that provides basic mathematical operations (sum and subtraction) through the Model Context Protocol.21-
- FlicenseNot gradedqualityDmaintenanceProvides basic mathematical operations (addition, subtraction, multiplication, division) through a Model Context Protocol server. Enables MCP-compatible clients like chatbots to perform calculations by sending structured math requests.-