Command Palette

Search for a command to run...

UnylyUnyly
Browse all

Basic Calculator Server

FreeNot checked

A simple MCP server that provides basic calculator operations such as add, subtract, multiply, and divide.

GitHubEmbed

About

A simple MCP server that provides basic calculator operations such as add, subtract, multiply, and divide.

README

A simple Model Context Protocol (MCP) server that provides basic calculator functionality.

Features

  • Add: Add two numbers together
  • Subtract: Subtract second number from first number
  • Multiply: Multiply two numbers together
  • Divide: Divide first number by second number (with division by zero protection)

Installation

  1. Install dependencies:
npm install
  1. Build the project:
npm run build

Usage

Running the Server

npm start

The server runs on stdio and communicates using the MCP protocol.

Available Tools

  • add(a, b) - Returns the sum of a and b
  • subtract(a, b) - Returns a minus b
  • multiply(a, b) - Returns the product of a and b
  • divide(a, b) - Returns a divided by b

Example MCP Configuration

Add this to your MCP client configuration:

{
  "mcpServers": {
    "calculator": {
      "command": "node",
      "args": ["path/to/basic-mcp-calculator-server/dist/index.js"]
    }
  }
}

Development

npm run dev

This will build and start the server in one command.

License

MIT

from github.com/Yash-synergy/authentication_mcp

Installing Basic Calculator Server

This server has no published package — it is built from source. Open the repository and follow its README.

▸ github.com/Yash-synergy/authentication_mcp

FAQ

Is Basic Calculator Server MCP free?

Yes, Basic Calculator Server MCP is free — one-click install via Unyly at no cost.

Does Basic Calculator Server need an API key?

No, Basic Calculator Server runs without API keys or environment variables.

Is Basic Calculator Server hosted or self-hosted?

Self-hosted: the server runs locally on your machine via the install command above.

How do I install Basic Calculator Server in Claude Desktop, Claude Code or Cursor?

Open Basic Calculator Server on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Related MCPs

Compare Basic Calculator Server with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All development MCPs