Skip to main content
Glama

Ultimath MCP

Stop hallucinating numbers. An MCP server that runs every math expression through seven independent engines in parallel and returns all seven results side by side — so when they disagree, you know the answer is numerically unreliable.

The seven 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)

Binary point

Arbitrary-precision binary, exact integer mantissa

Exact symbolic

Exact arithmetic: decides a value instead of approximating it

Number theory

PARI/GP's independent implementation of the same functions

Six of them compute numerically. The seventh (calcium) is exact: it settles an equality rather than comparing digits, reaches poles the others can only approach (tan(pi/2) is uinf), and when the printed digits are just a truncation it also returns the closed form — sqrt(2)+1 comes back with Add(Sqrt(2), 1), in plain form and in LaTeX.

Tools

  • evaluate — evaluate an expression on all seven 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 ratio PHI).

  • 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 (2pi is an error). Expressions are purely mathematical — no type casts or constructors; write a complex number as 1+2i.

Related MCP server: mcp-abacus

Setup

  1. Get a free API key at https://ultimath.ai.

  2. 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)

Under the hood

Ultimath's engines build on FLINT/Arb, Calcium, PARI/GP, GMP/MPFR, MPFI, NTL 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

Install Server
A
license - permissive license
A
quality
A
maintenance

Maintenance

Maintainers
Response time
4dRelease cycle
2Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    A
    maintenance
    Pure-Python MCP server for type-faithful calculation — evaluate expressions under fixed-point, IEEE-754 double, or exact rational arithmetic, with every answer labelled with its precision (exact vs inexact).
    5
    1
    GPL 3.0
  • A
    license
    A
    quality
    C
    maintenance
    An MCP server that provides structural load and stability math (tipping, support reactions, beam checks) that language models often get wrong, enabling AI assistants to compute accurate engineering estimates.
    3
    MIT

View all related MCP servers

Related MCP Connectors

View all MCP Connectors

Latest Blog Posts

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