MCP Server API
Technical reference for integrating health data using the Model Context Protocol.
Introduction
The trece MCP server adheres to the Model Context Protocol specification. It exposes patient health records, lab results, and biomarker data securely to MCP-compatible clients like Claude Desktop.
Tools
get_available_biomarkers
Retrieves a complete list of unique biomarkers available across all of the patient's historical lab results.
get_latest_lab_results
Fetches a list of the patient's most recent lab results, including IDs and dates.
show_patient_summary
Displays an interactive summary card containing the patient's health profile, recent biomarker stats, and risk assessment.
show_biomarker_dashboard
Renders an interactive dashboard grid for a specific lab result. Can be filtered to show specific biomarkers.
- resultId (string, optional) - Defaults to latest result.
- biomarkerIds (array<string>, optional) - Filter display by IDs.
show_biomarker_timeline
Renders an interactive historical chart for a specific biomarker.
- biomarkerId (string, required) - The UUID of the biomarker.
- biomarkerName (string, optional) - Display name override.
Resources
| URI / Name | Description | Type |
|---|---|---|
| trece-widget | HTML/CSS template for rendering interactive widgets. | Template |
| Available Biomarkers | Global list of all tracked biomarkers. | JSON |
| Latest Lab Results | Patient's historical lab result records. | JSON |
Changelog
v1.0.0
January 2026- Initial release of the MCP Server.
- Added support for biomarker and lab result queries.
- Implemented interactive widgets for compatible clients (ChatGPT).
- Added rich text fallbacks for text-only clients (Claude).
Support
Need help or have feature requests? Contact our developer support team.
Contact Support