Skip to main content
Glama
allunits-mcp

allunits-mcp

by tusimply

allunits-mcp

Unit conversion for AI agents — 30 pairs, computed locally, no API key, no network.

Why this one

Every result carries the exact factor, the offset, the display precision and the page that documents the definition. When an agent says a marathon is 26.219 mi, it can also show where 0.6213711922 comes from.

Related MCP server: mcp-gnu-units

Install

Any MCP client (Claude Desktop, Cursor, Cline, Windsurf):

{
  "mcpServers": {
    "allunits": { "command": "npx", "args": ["-y", "allunits-mcp"] }
  }
}

Or clone and point at the file:

{
  "mcpServers": {
    "allunits": { "command": "node", "args": ["/absolute/path/to/allunits-api/mcp-server/server.mjs"] }
  }
}

Tools

Tool

Arguments

Returns

convert_unit

from, to, value, optional decimals

rounded result, unrounded, factor, offset, definition page

list_units

optional category

the 30 pairs with slugs and pages

get_factor

from, to

factor, offset, precision, formula — no conversion

Symbols and names both work: km, kilometers, lb, pounds, °F, fahrenheit. The reverse direction needs no second pair.

Coverage

length 7 · weight 4 · pressure 4 · volume 4 · data 3 · temperature 2 · speed 2 · time 2 · area 2

Bulk

For 100+ conversions per call, or a hard SLA, use the HTTP API: https://api.allunits.org/docs Free 100 requests/day without a key; keys from $9/month.

Licence

MIT for the server code. Conversion data is CC BY 4.0 — attribution: AllUnits.org — https://allunits.org/

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Verified unit conversion and dimensional analysis for AI agents. 190+ units, 31 domain formulas (clinical, physics, aerospace, SRE), physical constants with uncertainty propagation. Refuses invalid conversions structurally: the tool that won't convert mg to mL and knows the difference between torque and energy.
      AGPL 3.0
    • A
      license
      A
      quality
      B
      maintenance
      Unit converter for AI agents, powered by the GNU units database — convert 3000+ units of measurement, evaluate compound unit expressions, reduce to SI base units, dimensional analysis. Offline, deterministic.
      6
      1
      GPL 3.0
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI agents to convert between measurement units across length, weight, temperature, volume, speed, and data storage, with formulas included. Supports pay-per-call access via x402 micropayments without API keys or signup.
      MIT
    • A
      license
      B
      quality
      B
      maintenance
      Enables AI agents to perform accurate local computations including arbitrary-precision math, date handling, unit conversion, subnet calculations, encoding, hashing, and text analysis, all without network calls or API keys.
      27
      MIT