Healthcare Document Intelligence MCP Server
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., "@Healthcare Document Intelligence MCP ServerSummarize the discharge summary for patient John Doe."
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.
Healthcare Document Intelligence RAG + MCP
Production-ready starter project for healthcare document intelligence using retrieval-augmented generation, medical document pipelines, PHI-aware preprocessing, a FastAPI service, and an MCP server for agent extensibility.
Highlights
Healthcare-focused ingestion for clinical notes, discharge summaries, lab reports, and policy documents
PHI redaction layer before indexing and prompt construction
Hybrid retrieval with deterministic local embeddings by default and optional OpenAI embeddings
Citation-grounded answers with document, section, and page metadata
FastAPI REST API with OpenAPI docs at
/docsMCP server exposing document search, patient timeline extraction, summarization, and evidence QA tools
Docker, Compose, tests, linting, and GitHub Actions CI
Offline sample dataset so reviewers can run the project without vendor keys
Related MCP server: FhirMCP
Architecture
documents
-> parser
-> PHI redactor
-> medical chunker
-> embedding model
-> vector index
-> retriever
-> grounded response
|-> FastAPI
|-> MCP toolsQuick Start
cd healthcare-document-intelligence-rag-mcp
python -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]"
cp .env.example .env
make seed
make test
make apiOpen:
http://127.0.0.1:8000/docsAsk a grounded question:
curl -X POST http://127.0.0.1:8000/query \
-H "Content-Type: application/json" \
-d '{"question":"What follow-up is recommended after discharge?","top_k":4}'MCP Server
Run the MCP server locally:
make mcpThe server exposes:
search_documentsanswer_questionsummarize_documentextract_patient_timelineredact_phi
Example Claude Desktop style configuration:
{
"mcpServers": {
"healthcare-document-intelligence": {
"command": "python",
"args": ["-m", "meddoc_intel.mcp.server"],
"cwd": "/absolute/path/to/healthcare-document-intelligence-rag-mcp"
}
}
}API
Core endpoints:
GET /healthPOST /documentsPOST /queryPOST /summariesPOST /redactGET /documents
See docs/API.md for examples.
Evaluation
Seed the sample index and run the retrieval smoke evaluation:
make seed
python scripts/evaluate_retrieval.pyThe evaluation uses expected-document recall for simple, reviewable regression checks. See docs/ML_PIPELINE.md.
Configuration
The default setup uses deterministic local embeddings, which are ideal for demos, CI, and reproducible tests.
Optional OpenAI support:
EMBEDDING_PROVIDER=openai
OPENAI_API_KEY=sk-...
OPENAI_EMBEDDING_MODEL=text-embedding-3-smallThis project is a developer portfolio and prototyping system. It is not medical advice, not a diagnostic device, and not a substitute for professional clinical judgment.
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
- AlicenseAqualityDmaintenanceEnables LLM-based agents to interact with FHIR healthcare data through natural language prompts, providing full CRUD operations on FHIR resources, document processing, and semantic search capabilities.1397MIT
- Alicense-qualityDmaintenanceEnables LLMs to securely interact with FHIR healthcare servers and HL7 terminology services. Provides comprehensive healthcare data operations with built-in PHI protection, audit logging, and SMART on FHIR authentication.MIT
- Alicense-qualityCmaintenanceEnables AI-powered medical information retrieval through FHIR clinical document search and GraphRAG-based exploration of medical entities and relationships. Combines vector search with knowledge graph queries for comprehensive healthcare data analysis.MIT
- Alicense-qualityBmaintenanceEnables privacy-first medical document analysis with multi-perspective AI review. Ingest documents, run consilium reviews, generate doctor letters, and search patient memory—all through natural language.Apache 2.0
Related MCP Connectors
Guardrailed FHIR access for AI agents: PHI redaction, audit trail, step-up auth, tenant isolation
Search your knowledge bases from any AI assistant using hybrid RAG.
Securely access and manage FHIR healthcare data stored in Medplum.
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/hpaamu/healthcare-document-intelligence-rag-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server