Skip to main content

An MCP server for cooking unit conversions

Project description

MCP Cooking Units Converter

smithery badge

mcp-name: io.github.username/mcp-units

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.2.tar.gz (6.8 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.2-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mcp_units-0.3.2.tar.gz
  • Upload date:
  • Size: 6.8 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.2.tar.gz
Algorithm Hash digest
SHA256 f1e63674d72546389faf69e21270a0e31a16fe39800290db719972dca5e1fbdb
MD5 72d02dbcaaa0b1b0ea198af6da4f90be
BLAKE2b-256 a354d8350d2f0763d0c60756d496b298c89bd526e3aa3d6775dcf8fe03dc9a6a

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcp_units-0.3.2.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.2-py3-none-any.whl.

File metadata

  • Download URL: mcp_units-0.3.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 820e7c380caaad5536e17869c6e7bc02962852a63891b413f9789c2cc649002a
MD5 5f578ec8828815b893fe52dce36d2108
BLAKE2b-256 b28e6eedf02df8d33ec562c1b2a4cc063e41fd7c1d8e45a0864f9897cba9e89a

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcp_units-0.3.2-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