Jarroba Tools · Calculation

io.github.InvaratoPublished by GitHub account Invaratov0.3.0Updated Oct 29, 2026

Maths a model gets wrong: units with dimensional checking, equations, sheets. 5 tools, local.

The publisher's own server: calc.engineer

VerifiedSTDIODesktop onlyDeveloper ToolsData & Analytics

Overview

AI-generated overview

Local MCP server with five calculation tools for unit-aware arithmetic, equation solving, calculation sheets, symbolic derivatives and worked steps.

What you can do
  • Evaluate arithmetic with units and dimensional checking, including conversions and matrix determinants
  • Solve single equations or linear systems, reporting exactness, search interval and hidden complex roots
  • Run multi-line calculation sheets where variables carry down, units travel with values and errors stay on their own line
  • Compute exact symbolic derivatives that keep units, at higher orders and evaluated at a point
  • Show verified worked steps for linear and quadratic equations, derivatives and Gaussian elimination
When to use it
Useful when an assistant must do maths where a wrong answer would look plausible: unit conversions, dimensional checks, equations with several roots, or derivations a person will read. It is a small, local, offline alternative to trusting the model's own arithmetic.
Requirements
Runs locally over stdio, typically via npx with the npm package @jarroba/mcp-calc. Needs Node.js and no API key or account. The optional environment variable JARROBA_MCP_DOMAINS selects which tool domains are published.
Before you install
No network access and nothing is uploaded, so no credentials are involved. It deliberately does not simplify symbolically and does not do integrals, limits or inequalities, and steps are limited to equations of degree two or lower; results should be checked against those stated limits. Currency rates in sheets are supplied by the caller.

Installation

In SourceWeft

  1. Open Jarroba Tools · Calculation in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

@jarroba/mcp-calc

An MCP server for the maths a language model gets wrong — and, above all, for the ones it gets wrong silently.

bash
claude mcp add jarroba-calc -- npx -y @jarroba/mcp-calc
jsonc
// Claude Desktop, Cursor, Cline, VS Code…{ "mcpServers": { "jarroba-calc": { "command": "npx", "args": ["-y", "@jarroba/mcp-calc"] } } }

5 tools · ~1.6k tokens of context · stdio, runs on your machine · nothing is uploaded, no API key.

Why this exists

A model that gets 17 * 23 wrong is not the problem: that one is easy to catch. The problem is the answer that looks right.

  • 5 km + 300 m. Not a hard sum — but is the answer 305, 5.3, or 5300? A dimensional slip produces a number, not an error, and the number travels into the next formula.
  • x^3 - 1 = 0. «x = 1» is true, and it is also only a third of the answer. A tool that stops there and says nothing teaches the caller that there was nothing else.
  • 9.8 m/s^2 * t^2 / 2. Here m, s and t are all names of units and perfectly ordinary variable names. Read them wrong and you get a plausible quantity in the wrong dimension.

So every tool here reports how sure it is, not just what it found: exact or approximate, over which interval it searched, how many complex roots it is not showing, and which names it read as units. The one thing none of them will do is fill a gap with something plausible.

The tools

calc_evalArithmetic with units and dimensional checking: 100 km/h to m/s, 5 km + 300 m, 70 kg to lbs, det([[1,2],[3,4]]). Adding metres to kilos is an error, not a silent number. Flags results that are not finite (NaN, ±∞), and says which names it read as units
calc_solveOne equation (x^2 - 5x + 6 = 0, sin(x) = 0.5) or a linear system, one equation per line. Says whether the answer is exact or approximate, over which interval it searched, the degree of the polynomial and how many complex roots are not shown. Never invents a root it did not find
calc_sheetA multi-line calculation sheet with the result of every line. Variables carry downwards, units travel with the value, # starts a comment, ans is the previous result, and an error stays on its own line instead of killing the sheet. Declare currencies with # @moneda USD = 1.08 EUR — you supply the rate, so the sheet still computes the same thing next year. Optional Markdown table out
calc_deriveExact symbolic derivatives that keep the units: d/dx (3 m * x) is 3 m, not 3. Higher orders, and can evaluate the result at a point. Refuses to answer «0» when the variable is not in the expression, because a correct zero for the wrong question is the worst answer there is
calc_stepsThe worked steps, verified: a linear or quadratic equation, a derivative (naming the rule), or Gaussian elimination row by row. When it cannot explain a case it returns covered: false instead of writing a plausible derivation — which is the point, if a person is going to read it

What it will not do

  • No symbolic simplification. It was the obvious sixth tool and it was dropped after measuring: the engine leaves (x+1)^2 - (x-1)^2 untouched (it is 4x) and does not know sin²+cos²=1. A tool that hands back your own input under the label "simplified" is worse than no tool, because the caller cannot tell «already simplest» from «I could not do it».
  • No integrals, no limits, no inequalities. Not supported, and said so here rather than discovered at the wrong moment.
  • Steps beyond degree 2 for equations. calc_solve still answers exactly; what is missing is the explanation, and calc_steps says which cases it covers in every response.

Where it comes from

The engine is the same code that runs the calculator at jarroba.com/tools — pure TypeScript, ~200 unit tests, no server. This package is the whole catalogue filtered down to the calculation domain; if you want the other 95 tools (logs, tests, SQL, SPARQL, diagrams…), install @jarroba/mcp instead. You can also widen this one without switching packages: JARROBA_MCP_DOMAINS=calc,core.

MIT. Nothing here talks to the network. Source: github.com/Invarato/jarroba-mcp.

Source: mcp/packages/calc/README.md at commit b94171a

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

9
  1. v0.3.0LatestOct 29, 2026
  2. v0.2.0Oct 23, 2026
  3. v0.1.11Oct 21, 2026
  4. v0.1.10Oct 18, 2026
  5. v0.1.9Oct 9, 2026
  6. v0.1.7Oct 2, 2026
  7. v0.1.6Sep 29, 2026
  8. v0.1.5Sep 26, 2026
  9. v0.1.4Sep 16, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts

Other Calc integrations