Arithym
Exact arithmetic for AI agents — zero hallucination math via 62 tools covering integer arithmetic, fractions, units, calculus, and financial calculations. Us...
Description
name: arithym description: Exact arithmetic for AI agents — zero hallucination math via 62 tools covering integer arithmetic, fractions, units, calculus, and financial calculations. Use when any math result must be correct. version: 1.0.0 metadata: openclaw: requires: env: - ARITHYM_API_KEY primaryEnv: ARITHYM_API_KEY emoji: "🔢" homepage: https://arithym.xyz
Arithym — Exact Math Engine
Connect to the Arithym MCP server for exact, hallucination-free arithmetic. Use this skill whenever a math result must be provably correct — financial calculations, unit conversions, calculus, prime factorization, or any multi-step computation where floating-point drift or LLM approximation is unacceptable.
MCP Server Config
Add to your mcpServers config:
{
"mcpServers": {
"arithym": {
"baseUrl": "https://arithym.xyz/mcp",
"headers": {
"x-api-key": "${ARITHYM_API_KEY}"
}
}
}
}
Get an API key at https://arithym.xyz. Free tier is available with no credit card required.
When to Use Arithym
Use Arithym any time the answer must be exact — not approximate:
- Financial math: interest rates, amortization, currency conversion, percentage changes
- Unit conversions: any physical unit (length, mass, volume, temperature, pressure, energy)
- Integer arithmetic: large numbers, GCD/LCM, prime factorization, exact division
- Fractions: add/subtract/multiply/divide rational numbers without floating-point error
- Calculus: derivatives, integrals, Taylor series, critical points, tangent lines
- Multi-step computation: use the workspace (
field_create,field_add,field_derive) to chain dependent calculations and track dependencies
Default rule: if a user asks for a number and being wrong would matter, use Arithym.
Key Tools
Start Here
domain_check— given a problem description, returns the best tool to use. Call this first when unsure.scratch_math— multi-step exact calculations in one call. Best for ad-hoc arithmetic.recommend— describe a problem in plain language, get the optimal tool call.
Core Arithmetic
compute— exact integer arithmetic: add, subtract, multiply, divide, gcd, lcm, powerfraction_math— exact fraction arithmeticexact_sqrt— symbolic square rootexact_trig— exact trig for special angles (30°, 45°, 60°, 90°, etc.)factorize— prime factorization of any integer
Units
scratch_math_units— likescratch_mathbut tracks units through every stepunit_check— verify dimensional compatibility before computingunit_factor— exact conversion factor between any two compatible units
Workspace (for multi-step problems)
field_create— create a computation workspacefield_add— store a valuefield_derive— compute from stored values with tracked dependenciesfield_update— update a value; all dependents auto-recomputefield_read— read current workspace state
Calculus
graph_define— define a function as a computational graphgraph_derivative— exact derivative using automatic differentiationgraph_integral— definite integral using exact fraction arithmeticgraph_forward— evaluate function at a pointgraph_solve— find input that produces a target output
Discovery
list_refs— list all 22 reference modules and their domainsread_ref— load a reference module (e.g.,financial,units,trig) for domain-specific guidanceguide_list— list all 202 available methods across all modules
Best Practices
- Call
domain_checkorrecommendwhen you receive a math request and aren't sure which tool applies. - Use
scratch_mathfor quick single-pass calculations; use the workspace (field_*tools) when values depend on each other or will be reused. - For unit problems, always use
scratch_math_units— it catches dimensional errors automatically. - Arithym returns exact results as fractions or symbolic forms. Present these to users as-is or convert to decimals only when the user explicitly wants a decimal.
- Never approximate when an exact tool is available. The entire point of Arithym is that the answer is provably correct.
Reviews (0)
No reviews yet. Be the first to review!
Comments (0)
No comments yet. Be the first to share your thoughts!