by thetahealth
Your Data, Your AI — Health, Finance & More. Open Source, Privacy-First.
# Add to your Claude Code skills
git clone https://github.com/thetahealth/mirobodyGuides for using mcp servers skills like mirobody.
Last scanned: 5/2/2026
{
"issues": [],
"status": "PASSED",
"scannedAt": "2026-05-02T06:08:56.426Z",
"semgrepRan": false,
"npmAuditRan": true,
"pipAuditRan": false
}mirobody is an open-source mcp servers skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by thetahealth. Your Data, Your AI — Health, Finance & More. Open Source, Privacy-First. It has 1,048 GitHub stars.
Yes. mirobody passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
Clone the repository with "git clone https://github.com/thetahealth/mirobody" and add it to your Claude Code skills directory (see the Installation section above).
mirobody is primarily written in Python. It is open-source under thetahealth on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other MCP Servers skills you can browse and compare side by side. Open the MCP Servers category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh mirobody against similar tools.
No comments yet. Be the first to share your thoughts!
Top skills in this category by stars
Your Data, Your AI — Health, Finance & More. Open Source, Privacy-First.
Self-hosted data platform that bridges your personal data with the latest AI capabilities
AI Engine:
Health Data:
Forget about complex JSON schemas, manual bindings, or router configurations. In Mirobody, your Python code is the only definition required.
MCP_PUBLIC_URL to expose your MCP server over HTTPS for ChatGPT Apps and other remote integrations.Mirobody is built for Personal Intelligence, not just local storage. We believe the next frontier of AI is not knowing more about the world, but knowing more about you.
skills/ directory - Mirobody will automatically discover and expose them.Mirobody provides three agent types for different use cases:
| Agent | Description | Use Case |
|---|---|---|
| DeepAgent | Single-model tool orchestration | Complex queries requiring data retrieval and analysis |
| MixAgent | Two-phase model fusion | Cost/quality balance with specialized models (experimental) |
| BaseAgent | Direct LLM conversation | Simple Q&A without tool calls |
Inspired by LangChain DeepAgents, DeepAgent is our primary agent for tool-assisted conversations. Key features:
ALLOWED_TOOLS / DISALLOWED_TOOLS/uploads, /library, /memories, /charts) lets the agent read uploaded documents (PDF, image, Excel, …) across any provider```vis-chart data blocks (pure-data JSON, no styling) that the frontend renders — no tool call, no PNG round-trip.ChartService MCP tools (generate_*_chart), the standard "LLM + MCP tool" path: the model calls a tool, ChartService renders a PNG (Node @antv/gpt-vis-ssr), stores it under /charts, and the stream emits an image event. This is filtered out of DeepAgent/MixAgent on purpose (see _CHART_SERVICE_TOOLS in mirobody/pub/agents/deep_agent.py)./charts virtual-FS scope and its static-served storage volume (mirobody_charts → /charts) back the PNG path; a fork can also point its own chart-image tool there.A two-phase model fusion architecture that separates tool orchestration from response generation:
This architecture optimizes for both cost and quality by using expensive models only where necessary. MixAgent is currently experimental.
A lightweight agent for direct LLM conversations, driven by the provider's own tool-calling loop. Ideal for:
📁 Secure File Operations: File tools (
ls,read_file,write_file,edit_file,glob,grep) are backed by PostgreSQL for data persistence and auditability. Seemirobody/pub/tools/file_read_service.pyandfile_write_service.pyfor implementation details.🧪 Sandbox Code Execution: The
executetool runs shell commands in isolated E2B cloud sandboxes for data analysis and computation. RequiresE2B_API_KEYconfiguration. See CONFIG for setup details.👉 See CONFIG for detailed agent configuration guide.
| Module | Path | Description |
|---|---|---|
| Chat Service | mirobody/chat/ |
Session management, conversation history, streaming adapters (HTTP/WebSocket), memory integration |
| Agent Implementations | mirobody/pub/agents/ |
DeepAgent (LangChain), MixAgent (two-phase fusion), BaseAgent |
| LLM Clients | mirobody/utils/llm/ |
Multi-provider adapter (OpenAI, Gemini, Azure OpenAI, DashScope, any OpenAI-compatible), HIPAA-compliant routing |
| MCP Server | mirobody/mcp/ |
JSON-RPC 2.0 tool/resource server, local + HTTP remote access |
| Tools | mirobody/pub/tools/ |
Built-in tools: file ops, charts (BaseAgent), code execution (E2B sandbox), memory |
| Embeddings | mirobody/utils/embedding.py |
Provider-agnostic 1024-dim embeddings (Gemini / Qwen), pgvector semantic search |
| Prompt Templates | prompts/ |
Jinja2 system prompts with dynamic context injection (user timezone, tools, health profile) |
| Skills | skills/ |
Claude Agent Skills (SKILL.md + metadata.json), auto-discovery |
| Module | Path | Description |
|---|---|---|
| FHIR Mapping | mirobody/pulse/core/fhir_mapping.py |
In-memory cache of indicator → FHIR code, optional auto-registration of new codes |
| Indicator Registry | mirobody/pulse/core/indicators_info.py |
400+StandardIndicator enum, multi-source (Vital, Apple Health, Garmin, Whoop, Renpho) |
| Unit Conversion | mirobody/pulse/core/units.py |
Bidirectional conversion: kg/lbs, °C/°F, mg·dL⁻¹/mmol·L⁻¹, mmHg/kPa, etc. |
| Indicator Search | mirobody/indicator/ |
Embedding-based free-text → indicator code, concep |