Skip to main content
Glama
Arithmetic MCP Server

Arithmetic MCP Server

Operaciones aritméticas del servidor MCP

Este servidor MCP proporciona herramientas para realizar las cuatro operaciones aritméticas básicas: suma, resta, multiplicación y división.

función

Este servidor proporciona las siguientes herramientas aritméticas:

  1. sumar - Suma dos números

  2. restar - resta dos números

  3. multiplicar - multiplica dos números

  4. dividir - Divide dos números (devuelve un error si se divide por cero)

Related MCP server: FastMCP Dummy Server

Cómo instalar

  1. Clonar o descargar este repositorio

  2. Instalar las dependencias:

    npm install
  3. Compilar TypeScript:

    npm run build

Cómo configurar en Cline

Para utilizar este servidor con Cline, debe editar el archivo de configuración de la aplicación de escritorio Claude:

  1. Cree o edite el archivo de configuración en la siguiente ruta:

    ~/Library/Application Support/Claude/claude_desktop_config.json
  2. Agregue lo siguiente (o agréguelo dentro de un objeto mcpServers existente, si ya existe uno):

    {
      "mcpServers": {
        "arithmetic": {
          "command": "node",
          "args": ["/Users/y_nakasaka/Documents/Cline/MCP/arithmetic-server/src/index.js"],
          "disabled": false,
          "autoApprove": []
        }
      }
    }
  3. Reiniciar la aplicación de escritorio Claude

Ejemplo de uso

Puede invocar las herramientas aritméticas en Cline utilizando las indicaciones:

  • "Suma 5 y 3."

  • "Resta 7 de 10."

  • "Multiplica 6 y 8."

  • "Divide 20 entre 4."

Detalles técnicos

Este servidor utiliza las siguientes tecnologías:

  • Mecanografiado

  • SDK del Protocolo de Contexto de Modelo (MCP)

  • Zod (para validación)

Available Tools

4 tools
addD

Inputs: a (required), b (required).

divideD

Inputs: a (required), b (required).

multiplyD

Inputs: a (required), b (required).

subtractD

Inputs: a (required), b (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    C2.2/5.0

    Scored across 4 tools

    Disambiguation5/5

    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.

    Naming Consistency5/5

    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.

    Tool Count5/5

    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.

    Completeness5/5

    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

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      B
      quality
      D
      maintenance
      A simple server that provides basic mathematical operations (sum and subtraction) through the Model Context Protocol.
      2
      1
      -
    • F
      license
      Not graded
      quality
      D
      maintenance
      Provides 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.
      -