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(用于验证)
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityDmaintenanceA sample implementation of Model Context Protocol server demonstrating core functionality with simple arithmetic tools and greeting resources.
- Flicense-quality-maintenanceA 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
- Flicense-qualityDmaintenanceProvides 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.
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
Educational MCP server with 17 math/stats tools, visualizations, and persistent workspace
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/YuheiNakasaka/arithmetic-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server