Content is loading…
Exact math evaluation with big numbers, fractions, units, matrices, and complex numbers.
math_eval#math#calculator#evaluate#units#big numbersEvaluates mathematical expressions with high precision using mathjs syntax. Provide a string in the expression field and an optional number for precision. Returns exact results for arithmetic, unit conversions, fractions, and complex numbers, bypassing unreliable LLM mental math.
| Name | Type | Required | Description |
|---|---|---|---|
expression | string | required | The math expression to evaluate (mathjs syntax). E.g. "sqrt(3^2 + 4^2)", "5 km / 12 minutes in km/h", "det([1,2;3,4])". Use "minutes" for the minute unit. |
precision | number | optional | Significant digits for the formatted result. Default 14. |
{
"expression": "12345678901234567890 * 98765432109876543210"
}{
"expression": "5 km / 12 minutes in km/h"
}curl -X POST https://toolsy.my/api/mcp \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "math_eval",
"arguments": {
"expression": "12345678901234567890 * 98765432109876543210"
}
}
}'Generate a free API key or set up an OAuth connector for Claude.ai.