四則演算 MCP サーバー

四則演算 MCP サーバー

By YuheiNakasaka GitHub

-

mathgpt math-solver
Overview

What is Arithmetic MCP Server?

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

How to use Arithmetic MCP Server?

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

Key features of Arithmetic MCP Server?

  • Performs basic arithmetic operations: add, subtract, multiply, divide.
  • Handles errors for division by zero.
  • Easy integration with the Claude Desktop App.

Use cases of Arithmetic MCP Server?

  1. Performing quick calculations in applications.
  2. Integrating arithmetic functionalities into chatbots.
  3. Assisting users with basic math queries in educational tools.

FAQ from Arithmetic MCP Server?

  • 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.

Content

四則演算 MCP サーバー

このMCPサーバーは、基本的な四則演算(足し算、引き算、掛け算、割り算)を実行するためのツールを提供します。

機能

このサーバーは以下の四則演算ツールを提供します:

  1. add - 2つの数値を足し算します
  2. subtract - 2つの数値を引き算します
  3. multiply - 2つの数値を掛け算します
  4. divide - 2つの数値を割り算します(ゼロ除算の場合はエラーを返します)

インストール方法

  1. このリポジトリをクローンまたはダウンロードします
  2. 依存パッケージをインストールします:
    npm install
    
  3. TypeScriptをコンパイルします:
    npm run build
    

Clineでの設定方法

Clineでこのサーバーを使用するには、Claude Desktop Appの設定ファイルを編集する必要があります:

  1. 以下のパスに設定ファイルを作成または編集します:

    ~/Library/Application Support/Claude/claude_desktop_config.json
    
  2. 以下の内容を追加します(既存のmcpServersオブジェクトがある場合は、その中に追加します):

    {
      "mcpServers": {
        "arithmetic": {
          "command": "node",
          "args": ["/Users/y_nakasaka/Documents/Cline/MCP/arithmetic-server/src/index.js"],
          "disabled": false,
          "autoApprove": []
        }
      }
    }
    
  3. Claude Desktop Appを再起動します

使用例

Clineで以下のようなプロンプトを使用することで、四則演算ツールを呼び出すことができます:

  • 「5と3を足し算してください」
  • 「10から7を引いてください」
  • 「6と8を掛け算してください」
  • 「20を4で割ってください」

技術的な詳細

このサーバーは以下の技術を使用しています:

  • TypeScript
  • Model Context Protocol (MCP) SDK
  • Zod(バリデーション用)
No tools information available.

-

mathgpt math-solver
View Details
StatSource
StatSource by jamie7893

Statsource is a standalone MCP server designed to simplify data analysis. Whether you're pulling data from a PostgreSQL database or a CSV file, Statsource delivers actionable insights with ease

mathgpt math-solver
View Details

Mirror of

mathgpt math-solver
View Details

created from MCP server demo

mathgpt math-solver
View Details

-

mathgpt math-solver
View Details

created from MCP server demo

mathgpt math-solver
View Details