# Mirobody MCP server

> Map lab results to LOINC codes and UCUM units, and symptoms and diagnoses to ICPC-3, offline with no API key.

- Listing: https://mcp.tc/i/mirobody
- Connect: this is a local (stdio) server; install it on your machine (see Install). The listing link is a page, not an MCP endpoint.
- Type: local (stdio)
- Auth: no API key needed
- Category: [AI & Machine Learning](https://mcp.tc/c/ai-ml)
- Vendor: Theta Health
- Homepage: <https://mirobody.ai>
- Repository: <https://github.com/thetahealth/mirobody>
- Package: pypi `mirobody`

## About

Mirobody standardizes health data. It resolves lab test names in several languages to LOINC codes and UCUM units, and maps symptoms and diagnoses to ICPC-3. The wider open-source project builds a self-hosted health record from lab reports, wearables and genetic files, and traces each number to its source.

It runs locally as a PyPI package started with uvx over stdio. The resolver works offline from a bundled vocabulary after the first download, and no API key is needed. The full self-hosted app needs Docker or PostgreSQL, plus a model API key unless local models on llama.cpp are used.

## What it can do

- Resolve lab test names to LOINC codes
- Normalize lab units to UCUM
- Map symptoms and diagnoses to ICPC-3
- Handle test names in English, Chinese, Japanese and German
- Work offline from a bundled vocabulary
- Open a self-hosted health record to an AI agent over MCP

## Example prompts

- "Resolve 'LDL cholesterol' and 'hemoglobin' to LOINC codes."
- "What UCUM unit should I use for this glucose result in mg/dL?"
- "Map the diagnosis 'type 2 diabetes' to an ICPC-3 code."
- "Standardize these lab names from three different reports."

## Install

### Claude Code

1. Run this in a terminal, in your project folder:

```bash
claude mcp add --transport stdio mirobody -- uvx --python 3.12 mirobody mcp
```

2. Start Claude Code and type `/mcp`. **mirobody** should show as connected.

Add `--scope user` to make it available in every project.

### Claude Desktop

1. Open **Settings → Developer → Edit Config**. It opens `claude_desktop_config.json`. Add:

`claude_desktop_config.json`:

```json
{
  "mcpServers": {
    "mirobody": {
      "command": "uvx",
      "args": [
        "--python",
        "3.12",
        "mirobody",
        "mcp"
      ]
    }
  }
}
```

2. Save the file and restart Claude Desktop.

Needs uv (Python) on your computer. The file lives in `~/Library/Application Support/Claude/` on macOS and `%APPDATA%\Claude\` on Windows.

### Cursor

[Add to Cursor](<https://cursor.com/install-mcp?name=mirobody&config=eyJjb21tYW5kIjoidXZ4IiwiYXJncyI6WyItLXB5dGhvbiIsIjMuMTIiLCJtaXJvYm9keSIsIm1jcCJdfQ%3D%3D>) (opens Cursor)

Or add it by hand to `~/.cursor/mcp.json` (all projects) or `.cursor/mcp.json` (this project):

`mcp.json`:

```json
{
  "mcpServers": {
    "mirobody": {
      "command": "uvx",
      "args": [
        "--python",
        "3.12",
        "mirobody",
        "mcp"
      ]
    }
  }
}
```

Needs uv (Python) on your computer.

### VS Code

[Install in VS Code](<https://vscode.dev/redirect/mcp/install?name=mirobody&config=%7B%22type%22%3A%22stdio%22%2C%22command%22%3A%22uvx%22%2C%22args%22%3A%5B%22--python%22%2C%223.12%22%2C%22mirobody%22%2C%22mcp%22%5D%7D>) (opens VS Code)

Or from a terminal:

```bash
code --add-mcp '{"name":"mirobody","type":"stdio","command":"uvx","args":["--python","3.12","mirobody","mcp"]}'
```

Or commit it to the repo in `.vscode/mcp.json`:

`.vscode/mcp.json`:

```json
{
  "servers": {
    "mirobody": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "--python",
        "3.12",
        "mirobody",
        "mcp"
      ]
    }
  }
}
```

Needs uv (Python) on your computer.

### Devin Desktop

1. Add it to `~/.config/devin/mcp_config.json` (macOS and Linux) or `%APPDATA%\devin\mcp_config.json` (Windows):

`mcp_config.json`:

```json
{
  "mcpServers": {
    "mirobody": {
      "command": "uvx",
      "args": [
        "--python",
        "3.12",
        "mirobody",
        "mcp"
      ]
    }
  }
}
```

2. Refresh the MCP server list in Cascade.

Devin Desktop is the new name for Windsurf.

### Codex

```bash
codex mcp add mirobody -- uvx --python 3.12 mirobody mcp
```

Or edit `~/.codex/config.toml` directly:

`config.toml`:

```toml
[mcp_servers.mirobody]
command = "uvx"
args = ["--python", "3.12", "mirobody", "mcp"]
```

Needs uv (Python) on your computer.

### Gemini CLI

```bash
gemini mcp add mirobody uvx -- --python 3.12 mirobody mcp
```

This adds it to the current project. Add `-s user` to use it everywhere.

### Any client

Most clients that start local servers accept this shape:

```json
{
  "mcpServers": {
    "mirobody": {
      "command": "uvx",
      "args": [
        "--python",
        "3.12",
        "mirobody",
        "mcp"
      ]
    }
  }
}
```

Zed puts servers under `context_servers` in its settings, with the same `command`, `args` and `env` fields.

Needs uv (Python) on your computer.

## Recent changes

- 2026-11-10 11:22 UTC: New version 1.6.1 (was 1.6.0), read from PyPI. Source: automatic check.
- 2026-11-07 11:30 UTC: New version 1.6.0 (was 1.5.10), read from PyPI. Source: automatic check.
- 2026-11-01 14:25 UTC: New version 1.5.10 (was 1.5.9), read from PyPI. Source: automatic check.
- 2026-10-27 11:40 UTC: Tracking started: version 1.5.9. Source: automatic check.

More on the History tab, with descriptions before and after for the newest entries: https://mcp.tc/i/mirobody#history (Atom feed: https://mcp.tc/i/mirobody/history.xml). It records what mcp.tc's anonymous checks saw, every 3 hours where the tool list can be read without sign-in; it is not a security review.

## Details

- Server version: 1.6.1
- Last checked: 2026-10-27
- Listed: 2026-10-27
- Updated: 2026-10-27

---
Source: https://mcp.tc/i/mirobody (mcp.tc is an independent directory, not affiliated with this server's publisher). Corrections: https://mcp.tc/report
