Mirobody
Lets your AI agent turn lab test names, units and symptoms into standard medical codes, offline.
1.4k stars on GitHubby Theta HealthLicense Apache-2.0Updated 18 days ago
How to install
This MCP is local: it runs on your computer.
It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Codeβ¦). Choose your app:
Paste in the terminal:
claude mcp add mirobody -- uvx --python 3.12 mirobody mcp
Ready! Now test it
Restart the app and paste one of these requests in the chat:
Standardize these test names: LDL cholesterol, θ‘ηΊ’θη½ and γγ’γ°γγγ³.
Which LOINC code matches HbA1c, and what unit should it use?
What it is
Mirobody is a self-hosted health record that collects lab reports, wearables and genetic files. Its MCP command lets your agent standardize names, readings, units and complaints into LOINC, UCUM and ICPC-3 codes on your own machine without an API key. It does not diagnose or prescribe.
What it can do
- Resolve lab test names to LOINC codes
- Standardize units to UCUM
- Map symptoms and diagnoses to ICPC-3
- Work offline from a bundled vocabulary
- Read whole reports (needs mirobody[parse] and a model key)
When to use
- βΊWhen you have lab results with different names across labs and want them matched to one code.
- βΊWhen you want your agent to clean up health data without sending it to a cloud service.
- βΊWhen you keep a health journal and want entries turned into coded readings.
What you need
Skills that pair well
MCP or skill?
The MCP gives the agent the hands. The skill teaches the right way to use them. Together, the result is better and uses fewer tokens.
mapping-loincHelps your agent map lab and vital sign names to LOINC codes using free public terminology services, and attach the right units for each result.querying-terminology-serviceHelps your agent check and look up medical codes such as SNOMED or LOINC on a FHIR terminology server that you already run and are licensed to use.csharp-proGuides your agent to write modern C# and .NET code with records, pattern matching, async patterns, solid design and thorough unit tests.Frequently asked questions
Is it open source?
Yes. The readme links to an open license and describes an open-source edition.
Does the MCP command need an API key?
No. The resolver works offline from the bundled vocabulary with no model or key.
Is it medical advice?
No. The readme says Mirobody does not diagnose or prescribe and its answers are not medical advice.
Can I keep everything local?
Yes. With Docker and 16 GB of memory it can run the app and models locally with llama.cpp.
What happens to names it cannot place?
They stay unresolved. For example, a category like blood lipids is not forced into one test.
Which languages work?
The example resolves English, Chinese, Japanese and German test names.
If it does not work
- βΊInstall uv first and use the --python 3.12 option shown in the command.
- βΊThe first run needs internet to download Python and the package.
- βΊFor full-app local models, allow 16 GB of memory and run it in a WSL 2 terminal on Windows.
5 new skills a week. 1 minute to read.