v0.2.0
Type-faithful calculator MCP server — second release. Install with uvx mcp-abacus.
New language functions
exp,log2,cbrtfloor,ceil,round,trunc— each taking an optionalndigitsasin,acos,atan- Optional-argument arity for trailing defaulted parameters
- Bare
piandeusable as reserved constants
calculate & solver
calculatereturns every output line of a multi-line program, not just the lastsolvergains a Brent parabolic minimiser (selectable viaalgorithm)solverrequiresmin_fixed_point_precisionin fixed-point mode (avoids silently flooring the unknown to integers)solversnaps drifted floating-point answers onto clean roundings
Exactness & diagnostics
- Fixed-point quantization error is stored and surfaced
analyzeshows a per-noderounding <residual> ≈ <approx>fragment (renamed fromerrorto avoid colliding with the failure channel)- Caller-supplied inexact-handling policy with abort-on-inexact, plus a human-readable abort message
MCP surface & metadata
- Server
instructions; every tool parameter described in itsinputSchema;help's section as a schema enum - Language reference exposed as MCP resources
- Documented the full set of mode aliases (incl.
decimal→ fixed-point); bidirectional tool cross-references - Trove classifiers,
rationalkeyword,glama.json
Full changelog: v0.1.0...v0.2.0