CLARA MCP Server
Generates structured radiology reports using OpenAI's language model, with fallback to a templated TAM prompt if the API key is not provided.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@CLARA MCP Serveranalyze this chest X-ray for signs of pneumonia"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
CLARA — MCP Server (backend)
Backend pentru CLARA, sistem hibrid de diagnosticare radiologică pulmonară. Expune un model ViT-B/16 fine-tuned pe CheXpert (14 patologii), explicabilitate LRP-ViT, segmentare promptabilă LRP-to-SAM2, RAG clinic, generare de raport și 4 agent skills MCP, totul cu securitate agentică în 4 straturi.
⚠️ Instrument de augmentare, nu de înlocuire a radiologului. Output asistat de AI, de validat de medic.
Stack
Componentă | Tehnologie |
API + MCP | FastAPI + fastmcp (REST și MCP coexistente) |
Pipeline asincron | Celery + Redis (progres prin SSE) |
Bază de date | PostgreSQL + pgvector (audit log + index RAG) |
CV | PyTorch 2.3 + transformers + peft |
Orchestrare | Docker Compose |
Frontend | Next.js (separat: |
Related MCP server: MedVision MCP
Structura proiectului
clara-mcp-server/
├── app/
│ ├── main.py # FastAPI: montează REST + MCP
│ ├── config.py # setări (pydantic-settings)
│ ├── api/ # POST /analyze, GET /stream/{job_id}, scheme
│ ├── cv_engine/ # model, preprocess, LRP-ViT, LRP-to-SAM2, inference
│ ├── rag/ # embedder, knowledge base, retriever, TAM
│ ├── mcp/ # server fastmcp + cele 4 skills
│ ├── security/ # sanitize, prompt guard, guardrails, audit log
│ ├── tasks/ # Celery app + pipeline asincron
│ ├── db/ # SQLAlchemy engine + modele ORM
│ └── llm/ # generare raport radiologic
├── weights/ # vit_lora_chexpert.pt (montat ca volum)
├── scripts/init_db.sql # pgvector + tabele
├── demo/ # imagine demo pentru apărare
├── tests/test_e2e.py
├── Dockerfile
├── docker-compose.yml
└── requirements.txtPornire rapidă (docker compose up)
cp .env.example .env # completează OPENAI_API_KEY (opțional)
# pune modelul în weights/vit_lora_chexpert.pt (deja copiat dacă ai folosit scriptul)
docker compose up --buildServicii disponibile după pornire:
API + docs OpenAPI: http://localhost:8000/docs
Endpoint MCP: http://localhost:8000/mcp
Postgres:
localhost:5432, Redis:localhost:6379
API REST (rezumat)
Metodă | Rută | Descriere |
|
| Trimite o radiografie, creează un job asincron |
|
| Progres în timp real (SSE) + rezultat final |
|
| Status model + dependențe |
Cele 4 agent skills (MCP)
ExecuteVisionInference — clasificare ViT + LRP + LRP-to-SAM2
QueryClinicalKnowledge — RAG ierarhic pe baza de cunoștințe clinică
SynthesizeMedicalReport — raport radiologic via LLM
EscalateToHumanExpert — decizie conservatoare de escalare
Securitate agentică (4 straturi)
Sanitizare PII la ingestie (Presidio / regex fallback)
Izolarea contextului în prompt (delimitare XML, context = date, nu comenzi)
Validarea output-ului (Guardrails / heuristici anti-halucinație și anti-injecție)
Audit log imutabil cu lanț de hash-uri (Postgres)
Note pentru demonstrația live
SAM2 are fallback clasic (GrabCut) dacă pachetul Meta nu e instalat.
BiomedCLIP are fallback la
sentence-transformersdacă nu se încarcă.Fără
OPENAI_API_KEY, raportul revine la promptul structurat TAM (rulează oricum).
Status implementare: Pas 6/7 — backend complet (CV + REST/SSE + Celery + MCP + RAG + securitate) + integrare frontend (api.ts, SSE, /audit/recent, lrp_map_b64 + report în pipeline). Urmează test e2e + screenshot-uri.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityDmaintenanceEnterprise-grade MCP server with multi-agent system that enables AI-powered business transformation across finance, healthcare, retail, manufacturing, and technology domains through specialized agents for data analysis, API execution, and report generation.1
- Alicense-qualityDmaintenanceProvides AI-powered medical image analysis tools for LLM agents, enabling tasks such as X-ray classification, interactive segmentation, and visual question answering. It supports multi-step diagnostic reasoning and clinical workflows through a suite of specialized medical AI models.MIT
- Alicense-qualityCmaintenanceMCP server for context-aware memory and retrieval with hybrid search, dual-phase memory, and boundary-first security.3MIT
- AlicenseAqualityDmaintenanceA fully modular RAG system with MCP protocol integration, enabling hybrid retrieval, multimodal support, and dual-mode transport for connecting to AI assistants like GitHub Copilot and Claude Desktop.51MIT
Related MCP Connectors
OCR, transcription, file extraction, and image generation for AI agents via MCP.
Physician-reviewed medical opinions and prescriptions for AI agents.
Guardrailed FHIR access for AI agents: PHI redaction, audit trail, step-up auth, tenant isolation
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ctitoveanu/clara-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server