absolute
Absolute value.
Do arithmetic, trigonometry, statistics and percentages as actual computation rather than as token prediction — with named errors on the cases that have no answer.
LABSCO SUMMARY
Most calculator tools pick one variance formula and never mention it, which produces answers that are wrong by a factor nobody notices. Defaulting to the sample form and exposing the population form as a parameter is the correct handling of a real ambiguity. The same care shows in errors: dividing by zero raises rather than returning infinity or a plausible number, which matters more here than in a library because the caller is a model that will happily narrate whatever comes back. Percentage operations in three directions is a small thing that reflects how the question is actually asked.
A deterministic calculator exposed as tools: arithmetic and powers, trigonometry with degrees or radians, logarithms, descriptive statistics, percentage operations and a constants lookup.
Nothing to supply.
One command — npx @slbdn/cruncher-mcp
USE CASES
Run the calculation as a tool call rather than letting the model produce a number that looks right, with zero divisors and negative roots raising instead of returning something.
Get the mean, median, range and spread — choosing sample or population variance deliberately rather than inheriting whichever the tool assumed.
Use degrees by default or ask for radians explicitly, in both directions of the trig functions.
Compute what X percent of Y is, the change between two figures, or the base a figure is a percentage of.
Look it up from the defined set rather than recalling a value to the wrong number of digits.
Counted once with only startup setup. Other versions, modes or optional credentials may expose a different list.
absoluteAbsolute value.
acosArccosine. Result in degrees by default, or radians with unit param.
addAdds two numbers.
asinArcsine. Result in degrees by default, or radians with unit param.
atanArctangent. Result in degrees by default, or radians with unit param.
avgAverage (mean) of numbers.
convert_unitConvert between common units. Categories: length, weight, temperature, area, volume, time, speed, digital_storage.
cosineCosine. Angle in degrees by default, or radians with unit: "radians".
countCount elements.
divideDivides two numbers. Errors on zero divisor.
evaluate_expressionEvaluate a mathematical expression. PRIMARY tool for ALL math: +, -, *, /, %, ^. Functions: sqrt, sin, cos, tan, asin, acos, atan, log10, ln, log(x,base), abs, round, floor, ceil, min, max. Constants: pi, e, tau, phi, sqrt2, euler_mascheroni, c, g, G, h, k, R, NA, e_charge, m_e, m_p. Parentheses and scientific notation (1e6) supported. Use explicit operators: 2 * pi, not 2pi.
factorialFactorial of non-negative integer (n!). n > 170 overflows.
get_angle_modeGet current trig angle mode.
get_constantReturns a mathematical, physical, or chemical constant. See enum values.
logarithmBase-10 logarithm. Errors on non-positive input.
maxMaximum of numbers.
medianMedian of numbers.
minMinimum of numbers.
moduloRemainder of a / b. Errors on zero divisor.
multiplyMultiplies two numbers.
natural_logNatural logarithm (ln). Errors on non-positive input.
percentage_changePercentage change from A to B. e.g., 50→80 = +60%
percentage_ofWhat is X% of Y? e.g., 15% of 200 = 30
percentage_reverseX is Y% of what? e.g., 30 is 15% of 200
powerRaises a to the power of b.
rangeRange (max - min) of numbers.
set_angle_modeSet global trig angle mode. Individual calls with unit param override this.
sineSine. Angle in degrees by default, or radians with unit: "radians".
sqrtSquare root. Errors on negative input.
std_devSample standard deviation (n-1). Set population: true for population (n).
subtractSubtracts two numbers.
sumSum of numbers.
tangentTangent. Angle in degrees by default, or radians with unit: "radians".
varianceSample variance (n-1). Set population: true for population variance (n).
BEFORE YOU INSTALL
34 tools when we connected.
INSTALLATION
npx @slbdn/cruncher-mcp{
"mcpServers": {
"cruncher": {
"command": "npx",
"args": [
"-y",
"@slbdn/cruncher-mcp"
]
}
}
}Open Cursor Settings (gear icon) > Features > MCP Servers.
Click + Add New MCP Server.
Set Type to command, Name to cruncher, and Command to npx @slbdn/cruncher-mcp.