
Mettler Toledo Balance
io.github.K-Dense-AI由 GitHub 账号 K-Dense-AI 发布v0.1.3更新于 Oct 27, 2026
MCP server for Mettler Toledo laboratory balances (MT-SICS): weigh, tare, zero, log drift, adjust.
概览
本地 MCP 服务器,通过 MT-SICS 驱动梅特勒-托利多实验室天平,让助手称量、去皮、清零、记录漂移并执行校准。
- 可以做什么
- 读取当前净重、去皮值、内部温度和防风门位置,并记录连续称重序列及统计摘要,用于监测漂移或蒸发。
- 执行去皮、清除去皮、预设去皮值、清零,并在天平显示屏上显示或恢复重量显示。
- 开合电动防风门,并使用内置参考砝码执行内部校准。
- 查看连接信息与原始命令日志,断电后重新连接,并将天平复位到开机状态。
- 适用场景
- 适用于实验室中通过串口、USB 或以太网连接梅特勒-托利多天平的场景,希望助手读取重量、去皮容器、监测漂移或蒸发,或在实验流程中执行校准。
- 运行要求
- 以 Python 包形式本地运行(uvx labmcp-mettler-toledo),通过 stdio 通信,仅限桌面环境。需要天平设置为 MT-SICS 模式,并通过 LABMCP_ADDRESS 提供串口或 TCP 地址。可用 LABMCP_SIMULATE 启用内置模拟器,无需硬件。未声明身份验证。
安装
在 SourceWeft 中
- 打开 控制台中的 Mettler Toledo Balance,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Mettler Toledo Balance — MCP Server
Let an AI agent weigh samples, tare containers, log drift and evaporation, run internal adjustments and drive the draft shield on Mettler Toledo balances through the open MT-SICS interface command set.
Try it without hardware
Connect your balance
- Balance setup: in the balance menu, set the interface (RS232/USB/Ethernet) to MT-SICS (sometimes called "Host" or "Dialog"). Factory settings are 9600 baud, 8 data bits, no parity, 1 stop bit, Xon/Xoff.
- Find the port:
uvx labmcp ports - Test the connection:
Non-default settings go in the address:
serial://COM4?baudrate=19200&xonxoff=false.
Add to your MCP client
Claude Code
Claude Desktop / Cursor / Windsurf (claude_desktop_config.json, .cursor/mcp.json, …)
Add --read-only to allow weighing but block taring, zeroing and door movement. For other clients, generate the snippet with uvx labmcp config mettler-toledo --address /dev/ttyUSB0 --client vscode (also cursor, codex, claude-code).
Tools
get_connection_info, get_command_log and reconnect are built into every LabMCP server.
Safety limits
Override at launch: --limit max_series_duration_s=3600. Whatever the limit says, a single series is capped at one hour (the tool's time limit).
Example prompts
- "Tare the balance, then tell me when the reading is stable after I add the sample."
- "Log the weight every 10 s for 5 minutes and tell me the evaporation rate in mg/min."
- "Weigh out ~250 mg: tell me how much more to add, reading every few seconds, until I'm within ±2 mg."
- "Run an internal adjustment and confirm it succeeded before we start the calibration curve."
Notes
read_weight(stable=True)sendsS, which waits for stability. If the balance cannot settle (draughts, vibration), it returnsS I. The server reports this as an error, so retry or usestable=false.- Weights are in the balance's unit 1 (normally grams). Units shown on the display (unit 2) don't affect the interface.
- Draft-shield (
WS) and temperature (M28) commands exist only on balances with that hardware; other balances answerES/L, which the server reports clearly. run_internal_adjustmentwaits for the finalC3 Awithout blocking the connection:reset_balanceaborts a running adjustment, and other commands are refused until it ends (their replies would be mixed up with the result).- Before each command the server discards anything the balance sent unasked (e.g. a print-key transmission) and checks that the reply belongs to the command, so one late reply cannot shift every later reply by one.
show_messageaccepts printable ASCII only, andset_tare_presetonly a unit symbol: a line break would otherwise reach the balance as a second MT-SICS command.
Hardware verification
来源:servers/chemistry/mettler-toledo-balance/README.md,提交 46545ea
工具
0版本历史
2- v0.1.3最新Sep 27, 2026
- v0.1.1Sep 26, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分