cd /news/ai-agents/if-your-app-uses-an-llm-for-anything… · home › topics › ai-agents › article
[ARTICLE · art-176659] src=dev.to ↗ pub= topic=ai-agents verified=true sentiment=↑ positive

If your app uses an LLM for anything numeric, take the math away from it

A developer building MaliMoney, a voice AI for personal finance, replaced LLM-computed math with a public MCP server of deterministic calculator tools, after the model's arithmetic on questions like retirement projections proved wrong often enough to be dangerous while still sounding confident. The server is listed in the official MCP Registry as com.malimoney/calculators and is exposed over streamable HTTP without authentication, addable to Claude Code via a single command. The developer notes the trade-off that each new question type requires a new tool, slowing shipping compared with letting the model answer directly, and asks how to detect in production when a model skips the tool and does the math itself.

recommendation

Route numeric and financial calculations to deterministic MCP tools instead of letting the model compute them, and add monitoring to catch cases where the model skips the tool.

more in playbook: Designing agent systems
by read1 min views3 publishedNov 26, 2026

I run a personal-finance app where people ask an AI about their money. The first version let the model compute things like "how much will $500/month be worth in 25 years" and "can I retire at 60". It was wrong often enough to be dangerous, and it never sounded unsure.

What fixed it:

The MCP server is public with no auth at https://malimoney.com/v1/mcp (streamable HTTP; listed in the official MCP Registry as com.malimoney/calculators). To add it to Claude Code:

claude mcp add --transport http malimoney https://malimoney.com/v1/mcp

Or list the tools with curl:

curl -s -X POST https://malimoney.com/v1/mcp -H 'Content-Type: application/json' -H 'Accept: application/json, text/event-stream' -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

The cost is that every new question type needs a new tool, so we ship slower than "just ask the model". For money, I'd make that trade every time. Has anyone found a good way to tell, in production, when a model skipped the tool and did the math itself?

I'm building MaliMoney, a voice AI you talk to about your bank accounts. You can try it on sample accounts with no signup at https://malimoney.com/.

── more in #ai-agents 4 stories · sorted by recency
── more on @malimoney 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/if-your-app-uses-an-…] indexed:0 read:1min 2026-11-26 · —