m

mcp-units

@sellisd/mcp-units
Hosted
0 Stars 2 次浏览 sellisd 更新于 2026-08-23

An MCP server that provides some common units conversions for cooking

MCP 服务配置

复制以下 JSON 到 OPClaw 或其他 MCP 客户端的配置文件中即可使用

{
  "mcpServers": {
    "mcp-units": {
      "args": [
        "mcp-units@0.3.3"
      ],
      "command": "uvx"
    }
  }
}

可用工具 (5 个)

该服务在 MCP 协议中暴露的工具,AI 可按需调用

tavily_search 14 个参数 需填 1 项

Search the web for current information on any topic. Use for news, facts, or data beyond your knowledge cutoff. Returns snippets and source URLs.

必填参数:query

tavily_extract 6 个参数 需填 1 项

Extract content from URLs. Returns raw page content in markdown or text format.

必填参数:urls

tavily_crawl 11 个参数 需填 1 项

Crawl a website starting from a URL. Extracts content from pages with configurable depth and breadth.

必填参数:url

tavily_map 8 个参数 需填 1 项

Map a website's structure. Returns a list of URLs found starting from the base URL.

必填参数:url

tavily_research 2 个参数 需填 1 项

Perform comprehensive research on a given topic or question. Use this tool when you need to gather information from multiple sources to answer a question or complete a task. Returns a detailed response based on the research findings.

必填参数:input

服务介绍

MCP Cooking Units Converter

smithery badge

<!- - mcp-name: io.github.sellisd/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.

相关 MCP 服务