Ultimath
Ultimath MCP
Stop hallucinating numbers. An MCP server that runs every math expression through four independent numeric engines in parallel and returns all four results side by side — so when they disagree, you know the answer is numerically unreliable.
The four engines:
Engine | What it does |
Multiprecision | High-precision arbitrary-digit arithmetic |
Exact decimal | Exact base-10 arithmetic |
IEEE-754 double | Standard hardware floating point |
Interval | Rigorous lower/upper bounds (guaranteed enclosure) |
Tools
evaluate— evaluate an expression on all four engines and compare. Supports arithmetic, trig (sin,cos,tan), exp/log (exp,ln,log), roots and powers (sqrt,x^y), factorial, complex numbers (3+2i), alternate bases (0xFF,0b1010), and constants (pi,e, golden ratioPHI).list_functions— list every function the engines expose (name, arity, category, description). Optionally filter by category.
Multiplication must be explicit: write
2*pi,2*sin(x),(a+b)*(c+d). Adjacency is not a product (2piis an error). Expressions are purely mathematical — no type casts or constructors; write a complex number as1+2i.
Related MCP server: math-logic-mcp
Setup
Get a free API key at https://ultimath.ai.
Add the server to your MCP client config (example for Claude Desktop):
{
"mcpServers": {
"ultimath": {
"command": "npx",
"args": ["-y", "ultimath-mcp"],
"env": {
"ULTIMATH_API_KEY": "your_api_key_here"
}
}
}
}That's it — npx fetches and runs the server on demand.
Requirements
Node.js ≥ 18
An Ultimath API key (
ULTIMATH_API_KEY)
Links
Website: https://ultimath.ai
Under the hood
Ultimath's engines build on FLINT/Arb, GMP/MPFR and Boost — full credits at https://ultimath.ai/credits.
Privacy
Ultimath stores only a hash of your API key and basic usage metrics to run and secure the service; expressions are evaluated, not retained for training. Full policy: https://ultimath.ai/privacy/
License
MIT
Maintenance
Tools
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Flupke68/ultimath-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server