Skip to content

MCP tools

Server name: PACS Comparator. Package: pacs-mcp. Transport: stdio.

Search a FHIR R4 server.

ParameterTypeDescription
resource_typestringFHIR resource type, for example ImagingStudy
paramsobject of stringsFHIR search parameters, for example {"patient": "123"}

Returns: up to 50 resources from the search set.

Find a patient’s report sentences closest to a query. Uses IRIS vector search.

ParameterTypeDescription
patient_idstringFHIR Patient.id
querystringFree text, Czech or English
topintegerNumber of results. Default 5.

Returns: [{resource, score}]. resource is a FHIR reference to the report. score is the cosine similarity.

SQL:

SELECT TOP ? Resource, VECTOR_COSINE(Embedding, EMBEDDING(?, 'minilm')) AS Score
FROM vec.ReportSentence WHERE PatientId = ? ORDER BY Score DESC

Needs IRIS. Without IRIS_HOST the tool returns report search needs IRIS. One query takes 5–17 s, because EMBEDDING() loads the model per call.

Read the case summary of a trigger and every resource it references.

ParameterTypeDescription
trigger_idstringTrigger ID

Returns: {composition, resources}. composition is Composition/summary-<trigger_id>. Without a summary the tool returns a text message.

  • A resource type must match ^[A-Z][A-Za-z]+$.
  • A resource ID must match ^[A-Za-z0-9.-]{1,64}$.
  • The server does not start without PACS_MCP_DATA set to synthetic or eu-data-zone.

How to run it: Use the MCP server.