Skip to content
Back to search

allunits-mcp

MCP server for unit conversion: 30 pairs computed locally with the exact factors published on allunits.org.

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/tusimply--allunits-mcp/badge.svg)](/listings/tusimply--allunits-mcp)

HTML

<a href="/listings/tusimply--allunits-mcp"><img src="/api/listings/tusimply--allunits-mcp/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

Install instructions from the README

As written by the repo's author. findsafeskills has not verified these steps.

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"] }
  }
}

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 52 lines
  1. # allunits-mcp
  2. Unit conversion for AI agents — 30 pairs, computed locally, no API key, no network.
  3. ## Why this one
  4. 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.
  5. ## Install
  6. Any MCP client (Claude Desktop, Cursor, Cline, Windsurf):
  7. ```json
  8. {
  9. "mcpServers": {
  10. "allunits": { "command": "npx", "args": ["-y", "allunits-mcp"] }
  11. }
  12. }
  13. ```
  14. Or clone and point at the file:
  15. ```json
  16. {
  17. "mcpServers": {
  18. "allunits": { "command": "node", "args": ["/absolute/path/to/allunits-api/mcp-server/server.mjs"] }
  19. }
  20. }
  21. ```
  22. ## Tools
  23. | Tool | Arguments | Returns |
  24. |---|---|---|
  25. | `convert_unit` | `from`, `to`, `value`, optional `decimals` | rounded result, `unrounded`, factor, offset, definition page |
  26. | `list_units` | optional `category` | the 30 pairs with slugs and pages |
  27. | `get_factor` | `from`, `to` | factor, offset, precision, formula — no conversion |
  28. Symbols and names both work: `km`, `kilometers`, `lb`, `pounds`, `°F`, `fahrenheit`. The reverse direction needs no second pair.
  29. ## Coverage
  30. length 7 · weight 4 · pressure 4 · volume 4 · data 3 · temperature 2 · speed 2 · time 2 · area 2
  31. ## Bulk
  32. For 100+ conversions per call, or a hard SLA, use the HTTP API: https://api.allunits.org/docs
  33. Free 100 requests/day without a key; keys from $9/month.
  34. ## Licence
  35. MIT for the server code. Conversion data is CC BY 4.0 — attribution: AllUnits.org — https://allunits.org/

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.