mcp-gnu-units

v0.1.1
mcp-gnu-units Checked 14 hours ago Published 1 month ago

Unit converter powered by the GNU units database — convert between 3000+ units of measurement, evaluate compound unit expressions, reduce quantities to SI…

PyPI (uvx) discovery passed

Requires uv (https://docs.astral.sh/uv/)

Run in a terminal
claude mcp add mcp-gnu-units -- uvx mcp-gnu-units==0.1.1
Add to claude_desktop_config.json
{
  "mcpServers": {
    "mcp-gnu-units": {
      "args": [
        "mcp-gnu-units==0.1.1"
      ],
      "command": "uvx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "mcp-gnu-units": {
      "args": [
        "mcp-gnu-units==0.1.1"
      ],
      "command": "uvx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "mcp-gnu-units": {
      "args": [
        "mcp-gnu-units==0.1.1"
      ],
      "command": "uvx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.mcp-gnu-units]
command = "uvx"
args = ["mcp-gnu-units==0.1.1"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: info, find_units, convert, convert_to_si, define_unit, list_prefixes.
  4. If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.

Machine-readable: install.md · manifest.json