Sartorius Balance — Claude Code MCP server: weighing via SBI protocol
Sartorius Balance — an MCP server for Sartorius laboratory balances over SBI protocol. The agent weighs samples, tares containers, logs drift and runs internal adjustments.
Apache-2.0 ★ 32 updated 2026-09-26
claude mcp add --env LABMCP_ADDRESS=<LABMCP_ADDRESS> --env LABMCP_SIMULATE=<LABMCP_SIMULATE> --env LABMCP_READ_ONLY=<LABMCP_READ_ONLY> --env LABMCP_LIMITS=<LABMCP_LIMITS> --transport stdio sartorius-balance -- uvx labmcp-sartoriusWhat Sartorius Balance does
The server connects to Sartorius balances (Cubis MSE, Cubis II MCA, Secura, Quintix, Practum, Entris II and older CP/CPA series with --option legacy=true) via RS-232, USB or Ethernet and sends ASCII commands over the SBI protocol. The agent can read current weight, wait for a stable value, zero or tare the balance, record a weight series to track evaporation or moisture uptake, adapt the filter for draughty or vibrating benches, lock the keypad and run internal adjustment with the built-in weight on isoCAL models.
The server uses factory interface settings: 9600 baud, 8 data bits, odd parity, 1 stop bit. The balance must be set to SBI protocol with manual output, no stability check and auto print off. Without Python and the uvx package the server will not start. The --read-only flag allows weighing only and blocks taring, zeroing and adjustment. The max_series_duration_s limit caps logging series length at 600 seconds by default; override it at launch.
What it helps with
- weigh samples and wait for stable readings
- tare containers and zero the balance
- log a series of readings to calculate evaporation or drift rate
- switch the balance filter to handle draughts or vibration
- run internal adjustment with the built-in weight
Example prompts for the agent
- Log the weight every 10 seconds for 5 minutes and calculate the evaporation rate in mg/min
- Set the balance filter to handle drafts and lock the keypad
How to install Sartorius Balance
Platform CLI
claude mcp add --env LABMCP_ADDRESS=<LABMCP_ADDRESS> --env LABMCP_SIMULATE=<LABMCP_SIMULATE> --env LABMCP_READ_ONLY=<LABMCP_READ_ONLY> --env LABMCP_LIMITS=<LABMCP_LIMITS> --transport stdio sartorius-balance -- uvx labmcp-sartoriusReplace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from labmcp-sartorius <command>
Platform CLI
codex mcp add sartorius-balance --env LABMCP_ADDRESS=<LABMCP_ADDRESS> --env LABMCP_SIMULATE=<LABMCP_SIMULATE> --env LABMCP_READ_ONLY=<LABMCP_READ_ONLY> --env LABMCP_LIMITS=<LABMCP_LIMITS> -- uvx labmcp-sartoriusReplace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from labmcp-sartorius <command>
Config file
{
"mcpServers": {
"sartorius-balance": {
"command": "uvx",
"args": [
"labmcp-sartorius"
],
"env": {
"LABMCP_ADDRESS": "<LABMCP_ADDRESS>",
"LABMCP_SIMULATE": "<LABMCP_SIMULATE>",
"LABMCP_READ_ONLY": "<LABMCP_READ_ONLY>",
"LABMCP_LIMITS": "<LABMCP_LIMITS>"
}
}
}
}Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from labmcp-sartorius <command>
Config file
{
"servers": {
"sartorius-balance": {
"type": "stdio",
"command": "uvx",
"args": [
"labmcp-sartorius"
],
"env": {
"LABMCP_ADDRESS": "<LABMCP_ADDRESS>",
"LABMCP_SIMULATE": "<LABMCP_SIMULATE>",
"LABMCP_READ_ONLY": "<LABMCP_READ_ONLY>",
"LABMCP_LIMITS": "<LABMCP_LIMITS>"
}
}
}
}Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from labmcp-sartorius <command>
Platform CLI
gemini mcp add -e LABMCP_ADDRESS=<LABMCP_ADDRESS> -e LABMCP_SIMULATE=<LABMCP_SIMULATE> -e LABMCP_READ_ONLY=<LABMCP_READ_ONLY> -e LABMCP_LIMITS=<LABMCP_LIMITS> sartorius-balance uvx labmcp-sartoriusReplace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from labmcp-sartorius <command>
Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about Sartorius Balance
How do I install Sartorius Balance in Claude Code?
Run claude mcp add labmcp-sartorius -- uvx labmcp-sartorius. To connect to real hardware, add the --address flag with the port: /dev/ttyUSB0 on Linux, /dev/tty.usbmodem14201 on macOS, COM4 on Windows or tcp://192.168.1.61:49155 for Ethernet.
What does Sartorius Balance do?
It is an MCP server for controlling Sartorius laboratory balances over the SBI ASCII protocol. The agent can weigh, tare, log measurement series, adjust the filter and run internal calibration.
Which Sartorius balances does this server support?
Cubis MSE, Cubis II MCA, Secura, Quintix, Practum, Entris II. Older CP and CPA models work with --option legacy=true. Other SBI balances are likely compatible.