Connector guide3-minute read10 MCP toolsEN · DE · IT

Cómo conectar FHIR R4 a Gemini — via MCP

Any HL7 FHIR R4 server: search and read Patients, Observations, Conditions, Encounters, MedicationRequests, DiagnosticReports and any other resource type, plus the server's own capability statement. Bearer-token auth.

HCBy HelpCode teamActualizado 3 min read Código abierto en GitHub

Sin tarjeta de crédito · 7 días de prueba · Alternativa self-host disponible

FHIR R4

FHIR R4

Any HL7 FHIR R4 server: search and read Patients, Observations, Conditions, Encounters, MedicationRequests, DiagnosticReports and any other resource type, plus the server's own capability statement. Bearer-token auth.

herramientas

10

Región

INTL

Categoría

Healthcare

Autenticación

Bearer Token

Env vars requeridas

FHIR_BASE_URLFHIR_ACCESS_TOKEN
Instalar con un clic en Cloud

7 días de prueba gratis · Sin tarjeta de crédito

  • Prueba gratis de 7 días
    Sin tarjeta de crédito
  • GDPR & SOC 2 ready
    Datos en la UE, registros de auditoría
  • Código abierto en GitHub
    Open source · AGPL-3.0
  • Funciona con ChatGPT, Claude, Gemini
    Cualquier cliente compatible con MCP

Sáltate la instalación. Funcionando en menos de 2 minutos.

Inicia una prueba gratuita en cloud.anythingmcp.com, añade FHIR R4 con un clic y apunta tu cliente de IA (Claude, ChatGPT, Copilot o Cursor) al endpoint MCP generado. Sin Docker, sin git clone, sin experiencia de desarrollo.

Empezar prueba gratis

Summary

Any HL7 FHIR R4 server: search and read Patients, Observations, Conditions, Encounters, MedicationRequests, DiagnosticReports and any other resource type, plus the server's own capability statement. Bearer-token auth.

Prueba a pedir

Prompts de ejemplo para FHIR R4

Haz clic en un prompt para copiarlo. Pégalo en Claude, ChatGPT, Cursor, Gemini, Copilot u OpenClaw para ejecutarlo contra este conector.

FHIR R4 · live vía MCP
Compartir
Opus 4.7

Claude es IA y puede equivocarse. Verifica siempre las respuestas.

💡 ¿Sin instalación? Usa cloud.anythingmcp.com directamente. Inicia sesión, pulsa Connectors → FHIR R4, pega tus credenciales, genera una MCP API key — listo. Sin Docker, sin git clone, sin servidor local.

FHIR R4 + Gemini

Any HL7 FHIR R4 server: search and read Patients, Observations, Conditions, Encounters, MedicationRequests, DiagnosticReports and any other resource type, plus the server's own capability statement. Bearer-token auth.

Requisitos previos

Las instrucciones de configuración completas están incluidas en el conector (visibles en el store al seleccionarlo). Las variables de entorno requeridas:

FHIR_BASE_URL, FHIR_ACCESS_TOKEN

Paso 1 — Obtener credenciales

This is a generic FHIR R4 client, not a vendor connector. Point it at any R4 server — a hospital's HAPI instance, a national test server, a vendor's sandbox — and it speaks the standard.

  1. Set FHIR_BASE_URL to the server's base, the URL that answers /metadata. No trailing slash.
  2. Set FHIR_ACCESS_TOKEN to a bearer token. Most real deployments use SMART on FHIR, whose authorisation flow issues short-lived tokens; obtain one and paste it here, or use a long-lived service token if the server offers one. A server that needs no auth still needs a placeholder here — put anything.

…(continued in the in-app connector instructions)

Paso 2 — Instalar el adapter

curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d

Paso 3 — Añadir el conector en Gemini

Gemini CLI lee servidores MCP desde ~/.gemini/settings.json (o %APPDATA%\gemini\settings.json en Windows). Añade:

{
  "mcpServers": {
    "anythingmcp": {
      "httpUrl": "https://cloud.anythingmcp.com/mcp",
      "headers": { "Authorization": "Bearer YOUR_MCP_API_KEY" }
    }
  }
}
  1. Obtén tu MCP API key desde AnythingMCP → Perfil → MCP API Keys → Nueva Key.
  2. Guarda el archivo y reinicia gemini.
  3. Ejecuta /mcp en la Gemini CLI — FHIR R4 debería aparecer como disponible.
  4. Vertex AI Studio: pasa https://cloud.anythingmcp.com/mcp al array tools de tu petición con el mismo header Bearer.

Herramientas disponibles

ToolWhat it does
fhir_get_capability_statementRead the server's CapabilityStatement: which resource types it holds, which interactions and search parameters each supports, and its FHIR v
fhir_searchSearch any resource type with FHIR's standard parameters
fhir_read_resourceRead one resource instance by type and id, returning the full resource rather than a Bundle entry
fhir_search_patientsSearch Patients by name, identifier, birth date or family name
fhir_get_patient_observationsRead the Observations recorded for one patient — vital signs, laboratory results, measurements — optionally narrowed to one LOINC code or ca
fhir_get_patient_conditionsRead the Conditions recorded for one patient — the problem list — with their clinical and verification status
fhir_get_patient_encountersRead the Encounters for one patient — admissions, visits and consultations — with their class, period and the practitioners involved
fhir_get_patient_medicationsRead the MedicationRequests for one patient — what has been prescribed, in what dosage, by whom and with what status
fhir_get_patient_reportsRead the DiagnosticReports for one patient — laboratory panels, imaging reports and pathology — with their category, status and conclusions
fhir_get_patient_everythingRun the $everything operation on one patient: every resource the server associates with them, in one Bundle

FAQ

¿Gemini 1.5 Pro o 2.x soportan MCP? Sí — Gemini CLI ≥ 0.4 y la API de tools de Vertex AI aceptan conectores MCP httpUrl con header Bearer.

Siguientes pasos

¿Te ha sido útil esta guía?

Your FHIR R4 agent is one click away.

Install the connector, paste the key, prompt Gemini. Free for 7 days, no credit card.

Guías relacionadas

connectors

Cómo conectar FHIR R4 a ChatGPT — via MCP

Any HL7 FHIR R4 server: search and read Patients, Observations, Conditions, Encounters, MedicationRequests, DiagnosticReports and any other resource type, plus the server's own capability statement. Bearer-token auth.

connectors

Cómo conectar FHIR R4 a Claude — via MCP

Any HL7 FHIR R4 server: search and read Patients, Observations, Conditions, Encounters, MedicationRequests, DiagnosticReports and any other resource type, plus the server's own capability statement. Bearer-token auth.

connectors

Cómo conectar FHIR R4 a Cursor — via MCP

Any HL7 FHIR R4 server: search and read Patients, Observations, Conditions, Encounters, MedicationRequests, DiagnosticReports and any other resource type, plus the server's own capability statement. Bearer-token auth.

connectors

FHIR R4 a MCP — Pilota FHIR R4 desde cualquier agente IA

Any HL7 FHIR R4 server: search and read Patients, Observations, Conditions, Encounters, MedicationRequests, DiagnosticReports and any other resource type, plus the server's own capability statement. Bearer-token auth.

connectors

Cómo conectar AFAS Profit a Gemini — via MCP

AFAS Profit — Dutch ERP and HR: read any published GetConnector, list what is available, and inspect a connector's metadata. Token auth with AFAS's base64-wrapped XML token.

connectors

Cómo conectar Aruba Fatturazione Elettronica a Gemini — via MCP

Aruba Fatturazione Elettronica: send and track Italian e-invoices through the Sistema di Interscambio, read received invoices and their SDI notifications. Token auth against Aruba's B2B gateway.