Skip to main content

An MCP server for cooking unit conversions

Project description

MCP Cooking Units Converter

smithery badge

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 claude

Manual Installation

  1. Clone the repository:
git clone git@github.com: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 (C), 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
        }
      }
    }
    

Contact

For questions, issues, or contributions, please visit the GitHub repository.

License

This project is licensed under the MIT License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcp_units-0.3.3.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcp_units-0.3.3-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

Details for the file mcp_units-0.3.3.tar.gz.

File metadata

  • Download URL: mcp_units-0.3.3.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mcp_units-0.3.3.tar.gz
Algorithm Hash digest
SHA256 ff9fc51a75a2bf43c9e8520c01ea87c29aa98511bf2c7bf205fea79c14d124e5
MD5 126a8792e89fe71629d90390d2bce86f
BLAKE2b-256 5d89f7c155d1748c8928476e6461a7ad267491f557df9afcfdce0407a505cfe5

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcp_units-0.3.3.tar.gz:

Publisher: publish-to-pypi.yml on sellisd/mcp-units

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mcp_units-0.3.3-py3-none-any.whl.

File metadata

  • Download URL: mcp_units-0.3.3-py3-none-any.whl
  • Upload date:
  • Size: 8.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mcp_units-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a8088192e07d6a42f2802db7146f3d72f10598e5d9c3f41dd8b9c2a756815ad6
MD5 e5a0536e9f2ca237998634e3d645a14c
BLAKE2b-256 50e18078cfd36dc861fda124e3ea13f39473fe02aa8ce1251bd2b760f3479431

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcp_units-0.3.3-py3-none-any.whl:

Publisher: publish-to-pypi.yml on sellisd/mcp-units

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page