Mcp Units

io.github.sellisd由 GitHub 账号 sellisd 发布v0.3.3更新于 Oct 24, 2026

An MCP server that provides some common units conversions for cooking

已验证STDIO仅桌面位置与生活

概览

AI 生成的概览

一个本地 MCP 服务器,让助手在常见单位之间换算烹饪用的体积、重量和温度。

可以做什么
在 ml、l、cup、tbsp、tsp 之间换算体积,例如 240 ml 换算为 1 cup。在 g、kg、oz、lb 之间换算重量,例如 454 g 换算为 1 lb。在摄氏度与华氏度之间换算温度,例如 180°C 换算为 356°F。
适用场景
适合在阅读或调整混用公制与英制单位的食谱时使用,也适合让助手快速、一致地完成烹饪计量换算,而不必自行计算。
运行要求
作为本地 Python 进程运行,从 PyPI 包 mcp-units 安装,通常用 uvx 或 uv pip 启动。未声明需要账号、API 密钥或环境变量。仅限桌面使用,不是可在网页中执行的服务器。
安装前请注意
换算仅限所列的烹饪单位和温标,超出范围的结果不应假定有效。输入中未显示需要凭据、付费或写入数据的操作。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Mcp Units,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

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:

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

Manual Installation

  1. Clone the repository:
bash
git clone [email protected]:sellisd/mcp-units.gitcd mcp-units
  1. Install:
bash
uv pip install .  # For normal use# ORuv 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

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

    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.

来源:README.md,提交 eaa0a76

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.3.3最新Sep 16, 2026

评分

已满足适用检查项的 40%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。