mcp-units
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-units convert 240 ml to cups"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP Cooking Units Converter
MCP Cooking Units Converter is a Python package and MCP server for converting cooking measurements (volume, weight, temperature) between common units. It is designed for integration with MCP-compatible tools and VSCode extensions.
Installation
Installing via Smithery
To install Cooking Units Converter for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @sellisd/mcp-units --client claudeManual Installation
Clone the repository:
git clone git@github.com:sellisd/mcp-units.git
cd mcp-unitsInstall:
uv pip install . # For normal use
# OR
uv pip install -e . # For developmentRelated MCP server: cook-mcp
Usage
Available Tools
The server provides the following conversion tools:
Volume Conversion
Convert between: ml, l, cup, tbsp, tsp
Example: 240ml → 1 cup
Weight Conversion
Convert between: g, kg, oz, lb
Example: 454g → 1 lb
Temperature Conversion
Convert between: Celsius (C), Fahrenheit (F)
Example: 180°C → 356°F
Running the Server
uvx --with . python -m mcp_units.serverUsing with VSCode Extensions
This MCP server can be integrated with VSCode extensions that support the Model Context Protocol. Here's how to set it up:
Install an MCP-compatible VSCode extension (e.g., Roo)
Configure the extension to use this server in
.roo/mcp.json:{ "mcpServers": { "units": { "command": "uvx", "args": [ "--with", ".", "python", "-m", "mcp_units.server" ], "disabled": false } } }
Contact
For questions, issues, or contributions, please visit the GitHub repository.
License
This project is licensed under the MIT License.
Available Tools
3 toolsconvert_temperatureA
Convert between Celsius (C) and Fahrenheit (F) temperatures
Inputs: value (required), from_unit (required), to_unit (required).
convert_volumeA
Convert between volume units (ml, l, cup, tbsp, tsp)
Inputs: value (required), from_unit (required), to_unit (required).
convert_weightA
Convert between weight units (g, kg, oz, lb)
Inputs: value (required), from_unit (required), to_unit (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool handles a distinct type of unit conversion (temperature, volume, weight) with no overlap, making them easily distinguishable.
All tools follow the consistent 'convert_<unit_type>' pattern, using snake_case throughout.
Three tools is a reasonable count for a focused unit conversion server, covering common categories but not over- or under-scoped.
The server covers temperature, volume, and weight, but misses other common unit types like length, area, or pressure, leaving notable gaps for a general 'units' server.
Maintenance
Related MCP Connectors
A MCP server for the Frankfurter API for currency exchange rates.
An MCP server that measures MCP client behaviour and converts EBCDIC to ASCII, which nobody needs.
Related MCP Servers
- AlicenseBqualityDmaintenanceAn MCP server that enables AI-powered recipe generation and transformation using natural language, supporting dietary restrictions, allergies, and nutritional goals.2MIT
- AlicenseAqualityDmaintenanceMCP server that provides cooking recipe lookup, classification, and weekly meal planning based on dietary restrictions and allergies.5MIT
- AlicenseAqualityDmaintenanceAn MCP server that provides deterministic unit conversions backed by Pint, enabling exact unit conversions, compatibility checks, and parsing of quantities for LLMs.5MIT
- FlicenseNot gradedqualityDmaintenanceMCP server for cooking and recipe management powered by Spoonacular API. Enables natural-language recipe search, ingredient-based discovery, nutrition breakdowns, and ingredient substitutions.-