An MCP server for cooking unit conversions
Project description
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 claude
Manual Installation
- Clone the repository:
git clone git@github.com:sellisd/mcp-units.git
cd mcp-units
- Install:
uv pip install . # For normal use
# OR
uv pip install -e . # For development
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.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:
-
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.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mcp_units-0.3.1.tar.gz.
File metadata
- Download URL: mcp_units-0.3.1.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e9bbfefb6df5a5cacdfa284b0e7e4d2acc4f2485867abcf2378ce3afe2b103c8
|
|
| MD5 |
a23f21e5ee9dcb31c4fa467f17b18d4b
|
|
| BLAKE2b-256 |
2cc411e417f6fccc0a1f75b7833f0e8e255b175c5f951d13b2e5072da0c0c6a2
|
Provenance
The following attestation bundles were made for mcp_units-0.3.1.tar.gz:
Publisher:
publish-to-pypi.yml on sellisd/mcp-units
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mcp_units-0.3.1.tar.gz -
Subject digest:
e9bbfefb6df5a5cacdfa284b0e7e4d2acc4f2485867abcf2378ce3afe2b103c8 - Sigstore transparency entry: 564053299
- Sigstore integration time:
-
Permalink:
sellisd/mcp-units@1b85d6bab5a0be3acb7792910066245effe78d39 -
Branch / Tag:
refs/tags/0.3.1 - Owner: https://github.com/sellisd
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@1b85d6bab5a0be3acb7792910066245effe78d39 -
Trigger Event:
push
-
Statement type:
File details
Details for the file mcp_units-0.3.1-py3-none-any.whl.
File metadata
- Download URL: mcp_units-0.3.1-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c978c615ac92534599d1c077c907aee56f0bbda31787335af5cfbe5a37767081
|
|
| MD5 |
9d2d8374f795f1c0d6ee1aa2a7acd644
|
|
| BLAKE2b-256 |
450338a2608e94243946235d3ed7a622a89bb3ef6686a74d8733add81596b161
|
Provenance
The following attestation bundles were made for mcp_units-0.3.1-py3-none-any.whl:
Publisher:
publish-to-pypi.yml on sellisd/mcp-units
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mcp_units-0.3.1-py3-none-any.whl -
Subject digest:
c978c615ac92534599d1c077c907aee56f0bbda31787335af5cfbe5a37767081 - Sigstore transparency entry: 564053319
- Sigstore integration time:
-
Permalink:
sellisd/mcp-units@1b85d6bab5a0be3acb7792910066245effe78d39 -
Branch / Tag:
refs/tags/0.3.1 - Owner: https://github.com/sellisd
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@1b85d6bab5a0be3acb7792910066245effe78d39 -
Trigger Event:
push
-
Statement type: