tusimply avatar

AllUnits Unit Conversion

tusimply/allunits-mcp

Exact published unit conversions for 30 pairs, computed locally with no API key.

CCM score
57 of 100
tools
3
transport
STDIO
last updated
Nov 20, 2026
View on GitHub

Own this MCP server? Claim it

What it does

  • Converts values with convert_unit, returning the rounded result, the unrounded value, the factor, the offset, and a definition page
  • Lists the pairs with list_units, filtered by category, and inspects a pair's factor, offset, precision, and formula with get_factor without converting
  • Covers length, weight, pressure, volume, data, temperature, speed, time, and area; no network access or API key is needed
  • Designed for agents and analysts who need conversions to show their documented source, not just a number

Tools

3 tools

Public tool metadata for what this MCP can expose to an agent.

convert_unitConverts a value between two units, returning the rounded result, the unrounded value, the factor, the offset and the definition page.

Converts a value between two units, returning the rounded result, the unrounded value, the factor, the offset and the definition page.

No parameter schema in public metadata yet.

list_unitsLists the 30 unit pairs with their slugs and definition pages, optionally filtered by category.

Lists the 30 unit pairs with their slugs and definition pages, optionally filtered by category.

No parameter schema in public metadata yet.

get_factorReturns the factor, offset, precision and formula for a unit pair without performing a conversion.

Returns the factor, offset, precision and formula for a unit pair without performing a conversion.

No parameter schema in public metadata yet.

Readme

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.

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

ToolArgumentsReturns
convert_unitfrom, to, value, optional decimalsrounded result, unrounded, factor, offset, definition page
list_unitsoptional categorythe 30 pairs with slugs and pages
get_factorfrom, tofactor, offset, precision, formula — no conversion

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

Coverage


View the full README on GitHub

Details

Repository
github.com/tusimply/allunits-mcp
Website
api.allunits.org/docs
Category
Developer Tools
Package
allunits-mcp
Transport
STDIO
Registry
MCP registry, active

Similar to AllUnits Unit Conversion

More Developer Tools