mcp-unit-converter
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
mcp-unit-converter
A small Model Context Protocol (MCP) server that lets Claude convert length, weight, and temperature units accurately instead of guessing.
Tools
Tool | What it does | Units |
| Convert a length | mm, cm, m, km, in, ft, yd, mi |
| Convert a weight | mg, g, kg, oz, lb |
| Convert a temperature | c, f, k |
| Show all supported units | - |
Related MCP server: Unit Converter MCP Server
Installation
Requires Python 3.10+.
git clone https://github.com/sfo007/mcp-unit-converter.git
cd mcp-unit-converter
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install -e ".[dev]"Run the tests
pytestTry it with the MCP Inspector
npx @modelcontextprotocol/inspector mcp-unit-converterConnect to Claude Desktop
Open Settings > Developer > Edit Config and add this to claude_desktop_config.json
(see claude_desktop_config.example.json):
{
"mcpServers": {
"unit-converter": {
"command": "/ABSOLUTE/PATH/TO/mcp-unit-converter/.venv/bin/mcp-unit-converter"
}
}
}On Windows, use .venv\\Scripts\\mcp-unit-converter.exe as the command path.
Restart Claude Desktop afterwards.
Connect to Claude Code
claude mcp add unit-converter -- /ABSOLUTE/PATH/TO/mcp-unit-converter/.venv/bin/mcp-unit-converterExample prompts
"Convert 10 km to miles."
"What is 100 Celsius in Fahrenheit?"
"How many pounds is 72 kg?"
Project layout
src/unit_converter/converter.py # pure conversion logic
src/unit_converter/server.py # MCP tool definitions
tests/test_converter.py # unit testsAdding a new unit
Add one line to the LENGTH or WEIGHT dict in converter.py (size relative to the base unit), then add a test.
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
60+ units, live FX, timezones, and date arithmetic for AI agents.
Everyday calculators and converters for AI assistants: units, dates, percentages, text, JSON.
Baking unit conversion (cups/grams/temp/recipe scaling). convert_amount, convert_temperature
Remote MCP for JSON repair, hashing, formatting, IDs, dates, units, and other small tools.
Related MCP Servers
- AlicenseAqualityDmaintenanceProvides precise conversions between different units of measurement including temperature, length, weight, and volume.169MIT
- FlicenseNot gradedqualityDmaintenanceProvides unit conversion tools (celsius/fahrenheit, kilometers/miles) via MCP, along with resources and prompts for conversion explanations and API usage.1-
- AlicenseNot gradedqualityCmaintenanceEnables unit conversion for length, weight, temperature, and currency using simple tools, with a free tier and paid upgrade for higher usage.4 npmMIT
- AlicenseNot gradedqualityDmaintenanceEnables Claude to access real-time weather data via MCP, including forecasts and alerts for US locations.79 npmGPL 3.0