drio
Open app

四則演算 MCP サーバー

Source

Catalog onlyCatalog onlySTDIO

Overview

The Arithmetic MCP Server is a tool designed to perform basic arithmetic operations such as addition, subtraction, multiplication, and division.

To use the server, clone or download the repository, install the dependencies, compile TypeScript, and configure it in the Claude Desktop App settings.

  • Performs basic arithmetic operations: add, subtract, multiply, divide. - Handles errors for division by zero. - Easy integration with the Claude Desktop App.
  1. Performing quick calculations in applications.
  2. Integrating arithmetic functionalities into chatbots.
  3. Assisting users with basic math queries in educational tools.

Add to your AI client

Use these steps to connect 四則演算 MCP サーバー in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "arithmetic-mcp-server-yuheinakasaka": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-arithmetic-mcp-server-yuheinakasaka"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "arithmetic-mcp-server-yuheinakasaka": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-arithmetic-mcp-server-yuheinakasaka"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "arithmetic-mcp-server-yuheinakasaka": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-arithmetic-mcp-server-yuheinakasaka"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "arithmetic-mcp-server-yuheinakasaka": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-arithmetic-mcp-server-yuheinakasaka"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "arithmetic-mcp-server-yuheinakasaka": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-arithmetic-mcp-server-yuheinakasaka"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "arithmetic-mcp-server-yuheinakasaka": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-arithmetic-mcp-server-yuheinakasaka"
      ]
    }
  }
}

FAQ

What operations can this server perform?

The server can perform addition, subtraction, multiplication, and division.

Is there any error handling for division?

Yes, the server returns an error for division by zero.

How do I integrate it with the Claude Desktop App?

You need to edit the configuration file in the app to include the server settings.