MCP ExplorerExplorer

Mcp Units

@sellisdon a year ago
1 MIT
FreeCommunity
AI Systems
An MCP server for conversion of units related to cooking

Overview

What is Mcp Units

mcp-units is an MCP server designed specifically for converting cooking-related units, providing tools for volume, weight, and temperature conversions.

Use cases

Use cases for mcp-units include converting recipe measurements, assisting chefs in professional kitchens, and helping home cooks accurately follow recipes from different regions.

How to use

To use mcp-units, you can install it via Smithery or manually by cloning the repository and installing the package. Once installed, run the server using the provided command, and utilize the conversion tools for various cooking measurements.

Key features

Key features of mcp-units include volume conversion (ml, l, cup, tbsp, tsp), weight conversion (g, kg, oz, lb), and temperature conversion (Celsius, Fahrenheit).

Where to use

mcp-units can be used in culinary applications, cooking education, recipe development, and any context where precise unit conversions are necessary for cooking.

Content

MCP Cooking Units Converter

smithery badge

An MCP (Model Context Protocol) server that provides cooking unit conversion tools.

Installation

Installing via Smithery

To install Cooking Units Converter for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @sellisd/mcp-units --client claude

Manual Installation

  1. Clone the repository:
git clone [email protected]:sellisd/mcp-units.git
cd mcp-units
  1. Install:
uv pip install .  # For normal use
# OR
uv pip install -e .  # For development

Usage

Available Tools

The server provides the following conversion tools:

  1. Volume Conversion

    • Convert between: ml, l, cup, tbsp, tsp
    • Example: 240ml → 1 cup
  2. Weight Conversion

    • Convert between: g, kg, oz, lb
    • Example: 454g → 1 lb
  3. Temperature Conversion

    • Convert between: Celsius ©, Fahrenheit (F)
    • Example: 180°C → 356°F

Running the Server

uvx --with . python -m mcp_units.server

Using 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:

  1. Install an MCP-compatible VSCode extension (e.g., Roo)

  2. Configure the extension to use this server in .roo/mcp.json:

    {
      "mcpServers": {
        "units": {
          "command": "uvx",
          "args": [
            "--with",
            ".",
            "python",
            "-m",
            "mcp_units.server"
          ],
          "disabled": false
        }
      }
    }

License

This project is licensed under the MIT License.

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers