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 claudeSwap --client claude for cursor, vscode, windsurf or another client. The CLI asks for any required settings.
claude mcp add --transport http calculator https://server.smithery.ai/cyanheads/calculator-mcp-server/mcpA hosted server: nothing to install. Run /mcp in Claude Code to sign in if it asks.
[mcp_servers.calculator]
url = "https://server.smithery.ai/cyanheads/calculator-mcp-server/mcp"Add to ~/.codex/config.toml.
{
"mcpServers": {
"calculator": {
"url": "https://server.smithery.ai/cyanheads/calculator-mcp-server/mcp"
}
}
}Add to ~/.cursor/mcp.json.
{
"servers": {
"calculator": {
"type": "http",
"url": "https://server.smithery.ai/cyanheads/calculator-mcp-server/mcp"
}
}
}Add to .vscode/mcp.json.
gemini mcp add --transport http calculator https://server.smithery.ai/cyanheads/calculator-mcp-server/mcpSaved to .gemini/settings.json.
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.
| Parameter | Type | Description |
|---|---|---|
scope | object | Variable assignments for the expression. Example: { "x": 5, "y": 3 } makes "x + y" evaluate to 8. |
variable | Variable to differentiate with respect to. Required when operation is "derivative". Empty string is treated as omitted. Example: "x". | |
operation | string | Operation 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 |
precision | Significant digits (1–16) for numeric results. Omit for full precision. Empty string is treated as omitted. Ignored for symbolic operations (simplify, derivative). | |
expression | string | One mathematical expression per call — neither `;` nor newlines separate statements. Inside matrices, `;` separates rows (e.g. `[1, 2; 3, 4]`). Supports arithmetic (+, -, *, /, ^, %), functions across |
numericType | string | Numeric 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.