HTTP/1.1 402 PAYMENT REQUIRED agent402.base.eth · BASE · SOLANA · POLYGON · ARBITRUM · STELLAR · ROBINHOOD · USDC · USDG

Math suite

Calculate an expression, summarize a dataset, and compute percentages — the three most common math operations agents need, bundled.

When to use this pack

An agent is doing quick quantitative work: evaluate a formula (compound growth, unit conversion), get descriptive stats on a set of numbers, and express a value as a percentage of a total. One call covers the common cases.

Tools in this pack

Workflow

  1. Evaluate the math expression with calc — supports arithmetic, exponents, parentheses, and common functions.
  2. Compute descriptive statistics on the values array with stats — mean, median, mode, min, max, stddev.
  3. Compute the first value as a percentage of the total with percentage.

Run it in Claude

claude mcp add agent402 -s user -- npx -y agent402-mcp@latest

Then paste this prompt into Claude:

Run the math suite using Agent402: (1) calc {expression:"(100 * 1.05^10)"} — evaluate. (2) stats {values:[10,20,30,40,50]} — descriptive stats. (3) percentage {value:10, total:150} — percent. Return all three results.

← All skill packs