YuheiNakasaka/arithmetic-mcp-server
If you are the rightful owner of arithmetic-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
This MCP server provides tools for performing basic arithmetic operations: addition, subtraction, multiplication, and division.
The 四則演算 MCP Server is designed to facilitate basic arithmetic operations through a Model Context Protocol (MCP) interface. It supports addition, subtraction, multiplication, and division, making it a versatile tool for applications requiring mathematical computations. The server is implemented using TypeScript and leverages the MCP SDK for seamless integration with other systems. It also uses Zod for input validation, ensuring that operations are performed on valid data. This server is particularly useful in environments where arithmetic operations need to be automated or integrated into larger workflows.
Features
- add - Performs addition of two numbers.
- subtract - Performs subtraction of two numbers.
- multiply - Performs multiplication of two numbers.
- divide - Performs division of two numbers, with error handling for division by zero.
Usages
usage with Claude Desktop
{ "mcpServers": { "arithmetic": { "command": "node", "args": ["/Users/y_nakasaka/Documents/Cline/MCP/arithmetic-server/src/index.js"], "disabled": false, "autoApprove": [] } } }