Arithym
Exact arithmetic engine for AI agents. 62 tools across 22 domains — integer math, fractions, calculus, unit conversion, finance, statistics, chemistry, physics, and more. Every result is deterministic and verifiable. No floating-point drift, no hallucinated answers. One tool call replaces multi-step chain-of-thought reasoning. Free tier available at arithym.xyz.
https://arithym--arithym.run.tools
How to connect
-
Smithery (hosted)
1. Open https://smithery.ai/servers/Arithym/Arithym 2. Click Connect and complete OAuth in your MCP client (Claude, Cursor, VS Code, etc.) 3. MCP endpoint: https://arithym--arithym.run.tools
Tools (50)
-
helpArithym — precision math engine for AI agents. Eliminates math hallucination.
-
domain_check★ CALL THIS FIRST — your computation steering wheel. Exact routing, zero guesswork.
-
discoverSearch all 202 exact-math methods by keyword. Returns matching methods with ready-to-use call syntax.
-
list_refsList all 22 reference modules with domain-specific rules, formulas, and pitfalls.
-
read_refLoad a reference module's rules, tables, and guidance on demand. Example: read_ref('calculus')
-
guide_callUniversal dispatcher — call any of 202 exact-math methods across 22 domain modules.
-
guide_listList available modules and their methods. No args = all 22 modules. With name = methods in that module.
-
factorizeExact prime factorization of any integer. Handles arbitrarily large numbers.
-
computeExact integer arithmetic: add, subtract, multiply, divide, gcd, lcm, power. No floating point.
-
exact_sqrtExact symbolic square root via the computation layer. No decimal approximation.
-
rational_sqrtExact symbolic square root of any rational number (integers, fractions, decimals).
-
exact_trigExact trig for special angles, IEEE 754 for others (clearly flagged).
-
compareCompare two integers: exact GCD, LCM, shared factors, and similarity.
-
verifyCross-verify an integer's properties: factorization roundtrip, divisor count, consistency checks.
-
projectClassify a value's mathematical domain and structural properties.
-
routeShow domain path between two values.
-
landmarksList reference values in a domain: integer, rational, radical, trig, complex, or all.
-
recommendDescribe a problem in natural language, get the optimal tool call. Use when unsure which of the 202 methods to use.
-
field_createCreate or reset the computation workspace. Only needed when building a persistent model with multiple related values.
-
field_addStore a single raw value (urchin) in the workspace. Use for constants, rates, and single inputs.
-
field_readRead workspace state or compare two stored urchins (GCD, LCM, ratio, divisibility).
-
field_gcdExact GCD of 3+ values in one call. Takes raw numbers — no workspace needed.
-
field_lcmExact LCM of 3+ values in one call. Takes raw numbers — no workspace needed.
-
field_latticeFull divisibility lattice from a set of values. All pairwise GCDs and LCMs.
-
field_ratiosAll pairwise exact ratios for a set of values. For comparing proportions across a dataset.
-
field_deriveCompute from workspace urchins with tracked dependencies and auto-cascade.
-
field_updateUpdate an urchin's value — all dependents auto-recompute through the full dependency graph.
-
field_sensitivity_allCompute sensitivity gradients for ALL tunable inputs against all outputs.
-
field_optimizeIterative gradient-based optimization on the urchin field.
-
field_linksView dependency graph between workspace urchins. Shows what derives from what.
-
field_querySearch workspace by structural properties: dimension, similarity, domain, tag, or all.
-
field_clusterAuto-group workspace urchins by similarity. Only useful with 5+ stored urchins.
-
field_snapshotSave, restore, list, or delete named workspace states. For branching scenarios and what-if analysis.
-
field_exportExport workspace + snapshots to JSON. For persisting a model across sessions.
-
field_importImport workspace state from a previous JSON export. For resuming work on a saved model.
-
field_diffCompare two workspace snapshots. Shows added, removed, and modified urchins.
-
field_noteAnnotate workspace urchins, pairs, or the field itself.
-
field_notesRead annotations from the workspace log. Optional filter by target.
-
field_clear_notesClear annotations. No args = all. With target = matching only.
-
scratch_math★ SCRATCH PAD — Multi-step exact calculations in one call.
-
scratch_math_unitsscratch_math with dimensional analysis — tracks units through every step.
-
slideExact addition and subtraction for raw values. Use for leaf inputs, not for combining urchins.
-
fraction_mathExact fraction arithmetic — add, subtract, multiply, divide.
-
graph_defineDefine a complete computational graph in one call.
-
graph_observeRead full computational graph state — all inputs, intermediates, and outputs with values and lineage.
-
graph_forwardForward pass: update inputs, cascade through graph, return all outputs.
-
graph_sensitivityCompute exact gradients: how much each output changes per unit change in an input.
-
graph_solveInverse solve: find the input value that produces a target output via bisection search.
-
graph_what_ifRun multiple scenarios against the graph and compare outcomes.
-
graph_learnIterative gradient-based adjustment toward target outputs using exact-fraction gradients.