Skip to main content
MCP server CX Codex

Calculator — Claude Code MCP server: arithmetic in prompts

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

no license 2,021 installs updated 2025-09-08

Install into Claude Code · Platform CLI: remote server All methods and platforms ↓
claude mcp add --transport http calculator-mcp-test https://calculator-mcp-test--aitutor3.run.tools
Open on GitHub

What Calculator 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.

What it helps with

  • 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 for the agent

  • Add 234 and 567
  • Divide 1024 by 8
  • Multiply revenue by 1.15

How to install Calculator

Platform CLI: remote server

claude mcp add --transport http calculator-mcp-test https://calculator-mcp-test--aitutor3.run.tools

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about Calculator

How do I install Calculator in Claude Code?

Run claude mcp add --transport http calculator-mcp-test https://calculator-mcp-test--aitutor3.run.tools or claude mcp add --transport http calculator https://calculator-mcp-test--aitutor3.run.tools. The server is then available to the agent.

What does Calculator do?

Gives the agent four arithmetic tools: addition, subtraction, multiplication and division. The agent calls them directly, without generating code for calculations.

Which operations does Calculator support?

Addition (add), subtraction (sub), multiplication (mul) and floating-point division (div). Each takes two numbers and returns the result.

Similar MCP servers

All MCP servers for Agent setup: memory, context, orchestration →

Project sponsors

Companies that keep this analytics open