Hosted MCP server · #122 most used on Smithery

calculator-mcp-server

cyanheads/calculator-mcp-server

Evaluate, simplify, and differentiate mathematical expressions.

Uses
4.4k
Tools
1
Runs
Hosted
Listed
7mo ago

Get started

Add it to your agent

npx -y @smithery/cli@latest install cyanheads/calculator-mcp-server --client claude

Swap --client claude for cursor, vscode, windsurf or another client. The CLI asks for any required settings.

What it can do

1 tool

calculate6 paramsEvaluate math expressions, simplify algebraic expressions, or compute symbolic derivatives. One expression per call. Supports arithmetic,…

Evaluate math expressions, simplify algebraic expressions, or compute symbolic derivatives. One expression per call. Supports arithmetic, trigonometry, statistics, matrices, complex numbers, units, and combinatorics.

ParameterTypeDescription
scopeobjectVariable assignments for the expression. Example: { "x": 5, "y": 3 } makes "x + y" evaluate to 8.
variableVariable to differentiate with respect to. Required when operation is "derivative". Empty string is treated as omitted. Example: "x".
operationstringOperation to perform. "evaluate" computes a numeric result (default). "simplify" reduces an algebraic expression symbolically (e.g., "2x + 3x" -> "5 * x"). Supports algebraic and trigonometric identit
precisionSignificant digits (1–16) for numeric results. Omit for full precision. Empty string is treated as omitted. Ignored for symbolic operations (simplify, derivative).
expressionstringOne mathematical expression per call — neither `;` nor newlines separate statements. Inside matrices, `;` separates rows (e.g. `[1, 2; 3, 4]`). Supports arithmetic (+, -, *, /, ^, %), functions across
numericTypestringNumeric type for evaluate. "number" (default): 64-bit IEEE 754 float — fastest, standard precision. "BigNumber": arbitrary-precision decimal — use when intermediate values overflow 64-bit float (e.g.

Readable data

Resources

  • Calculator HelpAvailable functions, operators, constants, and syntax reference.