
the-momentum/fhir-mcp-server
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
the-momentum/fhir-mcp-server — это кандидат на MCP-сервер, импортированный из https://github.com/the-momentum/fhir-mcp-server.
Обзор
the-momentum/fhir-mcp-server — это кандидат на MCP-сервер, импортированный из https://github.com/the-momentum/fhir-mcp-server.
Обзор (машинный перевод)
Сервер FHIR MCP Сервер протокола Model Context Protocol (MCP) для ресурсов быстрой совместимости в здравоохранении (FHIR)
📋 Содержание
- 🔍 О компании
- 💡 Демо
- 🚀 Начало работы
- 📝 Использование
- 🔧 Конфигурация
- 🐳 Docker Setup
- 🛠️ Инструменты MCP
- 🗺️ Дорожная карта
- 👥 Участники
- 📄 Лицензия
🔍 О проекте
FHIR MCP Server реализует полноценный сервер Model Context Protocol (MCP), разработанный для обеспечения бесшовного взаимодействия между агентами на базе LLM и совместимостью с FHIR-сервером. Он предоставляет стандартизированный интерфейс, который позволяет полностью использовать CRUD с ресурсами FHIR с помощью комплексного набора инструментов — доступных у совместимых с MCP клиентами, такими как Claude Desktop, позволяя пользователям запрашивать и обрабатывать клинические данные с помощью запросов на естественном языке.
✨ Ключевые особенности
- ** 🚀 FastMCP Framework**: Построен на FastMCP для высокопроизводительных возможностей сервера MCP
- ** 🏥 Управление ресурсами FHIR**: Полноценная операционная система CRUD для всех основных ресурсов FHIR
- ** 📄 Интеллектуальная обработка документов**: ИИ-поддержка и обработка документов для различных форматов, включая TXT, CSV, JSON и PDF
Эта страница переведена автоматически. Технические детали смотрите в оригинале.
README
Показан фрагмент оригинального README. Открыть оригинал.
📋 Table of Contents
- 🔍 About
- 💡 Demo
- 🚀 Getting Started
- 📝 Usage
- 🔧 Configuration
- 🐳 Docker Setup
- 🛠️ MCP Tools
- 🗺️ Roadmap
- 👥 Contributors
- 📄 License
🔍 About The Project
FHIR MCP Server implements a complete Model Context Protocol (MCP) server, designed to facilitate seamless interaction between LLM-based agents and a FHIR-compliant backend. It provides a standardized interface that enables full CRUD operations on FHIR resources through a comprehensive suite of tools - accessible from MCP-compatible clients such as Claude Desktop, allowing users to query and manipulate clinical data using natural-language prompts.
✨ Key Features
- 🚀 FastMCP Framework: Built on FastMCP for high-performance MCP server capabilities
- 🏥 FHIR Resource Management: Full CRUD operations for all major FHIR resources
- 📄 Intelligent Document Processing: AI-powered document ingestion and chunking for multiple formats including TXT, CSV, JSON, and PDF
- 🔍 Semantic Search: Advanced document search using vector embeddings (via Pinecone)
- 🧠 RAG-Ready: Retrieval-Augmented Generation pipeline with context-aware document queries
- 🔐 Secure Authentication: OAuth2 token management for FHIR API integration
- 📊 LOINC Integration: Standardized medical terminology lookup and validation
- 🐳 Container Ready: Docker support for easy deployment and scaling
- 🔧 Configurable: Extensive
.env-based configuration options
🏗️ Architecture
The server is built with a modular architecture:
- MCP Tools: Dedicated tools for selected FHIR resource types, with others handled by a generic tool
- Fhir Server Client: Handles FHIR API communication and authentication (OAuth2 and more planned)
- RAG Services: Embedding-based document processing and semantic retrieval
- Vector Store: Pinecone integration for similarity-based search
- LOINC Client: Integration with LOINC API for terminology resolution and validation
Установка
docker run -i --rm --init --name fhir-mcp-server --mount // optional - volume for reload
"type=bind source=<your-project-path>/app target=/root_project/app // optional - volume for reload
"--mount type=bind source=<your-project-path>/config/.env target=/root_project/config/.env -e TRANSPORT_MODE=stdio // Set transport mode: stdio http or https
"mcp-server:latestКонфигурация
{
"mcpServers": {
"docker-mcp-server": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"--init",
"--name",
"fhir-mcp-server",
"--mount", // optional - volume for reload
"type=bind,source=<your-project-path>/app,target=/root_project/app", // optional - volume for reload
"--mount",
"type=bind,source=<your-project-path>/config/.env,target=/root_project/config/.env",
"-e", "TRANSPORT_MODE=stdio", // Set transport mode: stdio, http, or https
"mcp-server:latest"
]
}
}
}