add
Add two numbers
Hand arithmetic to a tool call instead of the model: add, sub, mul, div, mod and sqrt, each over plain numbers.
LABSCO SUMMARY
Each operation is its own call over numeric arguments, so a multi-step figure leaves a trace with the steps named: this number came out of mul, that one out of div. The scope is those operations and nothing else — no expressions, no precedence, no variables — so anything compound has to be sequenced by the caller, one call per step.
A six-tool arithmetic server — a separate call per operation, each taking bare numeric arguments rather than an expression.
Nothing to supply: no account, no key, and no service behind it — the arithmetic happens in the server.
One command — npx -y @wrtnlabs/calculator-mcp@latest
USE CASES
Do each step as its own call — the line total, the running sum, the deduction — so the figure at the end has the arithmetic behind it on record.
Take the whole part with div and the leftover with mod, instead of asking the model to hold both in one answer.
Send the single number through sqrt rather than letting an estimate stand in for the root.
Counted once with only startup setup. Other versions, modes or optional credentials may expose a different list.
addAdd two numbers
divDivide two numbers
modMod two numbers
mulMultiply two numbers
sqrtSquare root of a number
subSubtract two numbers
BEFORE YOU INSTALL
6 tools when we connected.
npx on PATH
CONTEXT COST
Rated by the size of the 6 tool definitions that ride along on every turn, not by how many there are
INSTALLATION
Add the block to your client, or run the command directly.
{
"mcpServers": {
"calculator-mcp": {
"command": "npx",
"args": [
"-y",
"@wrtnlabs/calculator-mcp@latest"
]
}
}
}npx -y @wrtnlabs/calculator-mcp@latest