mcpField
M
Mcp Server Calculator

Mcp Server Calculator

Local
github.com/wyzzheScience & Education0Updated 75w ago

About Mcp Server Calculator

Mcp Server Calculator is a lightweight MCP server for basic arithmetic. It is intended for MCP clients that need addition, subtraction, multiplication or division.

Key features

  1. 01Addition
  2. 02Subtraction
  3. 03Multiplication
  4. 04Division

Use cases

  1. 01Calculate a sum through an MCP client
  2. 02Subtract values in a calculation workflow
  3. 03Multiply numeric inputs
  4. 04Divide values

MCP support

It exposes a calculator toolset to MCP clients, with basic addition, subtraction, multiplication and division operations.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"calculator-wyzzhe": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/wyzzhe/test-go-mcp-server:v1.0.1"
]
}
}
}
Run commanddocker run -i --rm ghcr.io/wyzzhe/test-go-mcp-server:v1.0.1

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
ocighcr.io/wyzzhe/test-go-mcp-server:v1.0.1

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

Calculator MCP Server

The Calculator MCP Server is a Model Context Protocol (MCP) server that specifically designed to perform basic arithmetic operations, including addition, subtraction, multiplication, and division.

Installation

Usage with VS Code
{
  "mcp": {
    "servers": {
      "github": {
        "command": "docker",
        "args": [
          "run",
          "-i",
          "--rm",
          "ghcr.io/wyzzhe/test-go-mcp-server:v1.0.1"
        ]
      }
    }
  }
}
Usage with Claude Desktop
{
  "mcpServers": {
    "github": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/wyzzhe/test-go-mcp-server:v1.0.1"
      ]
    }
  }
}

Tool Configuration

Available Toolsets

The following sets of tools are available (all are on by default):

ToolsetDescription
calculatorperform basic arithmetic operations(addition, subtraction, multiplication, and division)

Vscode Example

这是一个示例图片

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.