trece | no dejes tu salud a la suerte.

trece

BETA
Back to MCP

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

Visibility: Public

get_available_biomarkers

Retrieves a complete list of unique biomarkers available across all of the patient's historical lab results.

Inputs:None
Returns:JSON Array (Biomarker Metadata)

get_latest_lab_results

Fetches a list of the patient's most recent lab results, including IDs and dates.

Inputs:
limit (number, optional, default: 5)

show_patient_summary

Widget Content

Displays an interactive summary card containing the patient's health profile, recent biomarker stats, and risk assessment.

show_biomarker_dashboard

Widget Content

Renders an interactive dashboard grid for a specific lab result. Can be filtered to show specific biomarkers.

Inputs:
  • resultId (string, optional) - Defaults to latest result.
  • biomarkerIds (array<string>, optional) - Filter display by IDs.

show_biomarker_timeline

Widget Content

Renders an interactive historical chart for a specific biomarker.

Inputs:
  • biomarkerId (string, required) - The UUID of the biomarker.
  • biomarkerName (string, optional) - Display name override.

Resources

URI / NameDescriptionType
trece-widgetHTML/CSS template for rendering interactive widgets.
Template
Available BiomarkersGlobal list of all tracked biomarkers.
JSON
Latest Lab ResultsPatient'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