# Calculator

Calculator — an MCP server for addition, subtraction, multiplication and division via four tools. The agent runs calculations directly, without generating code.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · 2021 installs
- Author: AITutor3
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://smithery.ai/server/AITutor3/calculator-mcp-test
- Updated: 2025-09-08
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/calculator

## What it does

The server gives the agent four tools: `add`, `sub`, `mul` and `div`. The agent calls them when it needs to compute a sum, difference, product or quotient. Results come back as floating-point numbers.

Runs on a remote endpoint, `https://calculator-mcp-test--aitutor3.run.tools` — installs with a single command, no local dependencies. Calling a tool requires no code: the agent gets the result and uses it in the next step.

Useful when you need to verify a calculation in a conversation or prompt chain without opening a terminal or REPL.

## Requirements
- Remote server: `https://calculator-mcp-test--aitutor3.run.tools`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http calculator-mcp-test https://calculator-mcp-test--aitutor3.run.tools
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add calculator --url https://calculator-mcp-test--aitutor3.run.tools
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "calculator": {
            "url": "https://calculator-mcp-test--aitutor3.run.tools"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "calculator": {
            "type": "http",
            "url": "https://calculator-mcp-test--aitutor3.run.tools"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http calculator https://calculator-mcp-test--aitutor3.run.tools
```

## When to use it
- compute sums or differences in a prompt
- divide one value by another without code
- multiply parameters and inject the result
- check agent arithmetic on the fly

## Example prompts
- Add 234 and 567
- Divide 1024 by 8
- Multiply revenue by 1.15

## Similar
- [calculator-mcp-server](https://affpapa.org/en/nevibecode/mcp/calculator-mcp-server.md) — MCP server · 4412 installs
- [onehq-comissions-calculator](https://affpapa.org/en/nevibecode/mcp/onehq-comissions-calculator.md) — MCP server · 1274 installs
- [Music Royalties Calculator](https://affpapa.org/en/nevibecode/mcp/music-royalties-calculator.md) — MCP server · 186 installs
- [amazon-fba-calculator](https://affpapa.org/en/nevibecode/skills/amazon-fba-calculator.md) — skill · 1300 installs
- [calculator-design](https://affpapa.org/en/nevibecode/skills/calculator-design.md) — skill · 286 installs
- [tinyfn](https://affpapa.org/en/nevibecode/mcp/alex-jacobs08-tinyfn.md) — MCP server · 517 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
