mcp-units
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
<!- - 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
- 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.