a207-report-mcp
Aggregates pediatric CKD patient data from multiple modules to generate unified timeline reports with structured sections, markdown summary, and overall status. Enables clinicians to obtain a comprehensive patient snapshot.
README
a207-report-mcp(M9 · 患者报告聚合)
儿童 CKD 患者报告聚合 MCP。对应 PCP 契约 patient_report 输出位。Batch C 交付包(与 M4 随访配对)。
工具清单
| 工具 | 类型 | 权限 | 说明 |
|---|---|---|---|
generate_patient_report |
读 | 全 caller | 聚合 M2(LIS)/M3(评估)/M4(随访)/M8(风险) 输出,生成统一时间线报告(结构化章节 + markdown 文案 + 整体状态) |
设计原则
- 零跨包 import:M9 不反向查询任何 a207-* 包。各上游数据由编排层(router / PCP)显式传入:
demographics:{age_years, sex, ckd_stage, dialysis_mode}lab_summary:来自 M2(LIS)最新化验nutrition_assessment:来自 M3(评估)PRNT 目标 / 摄入达成率 / PEWfollowup_summary:来自 M4(随访)记录 / 计划 / 依从性pew_history:来自 M3get_pew_history(ADR-007:存储归属 M3)risk_level:来自 M8(风险规则)等级(L0-L3)
- M9 只做结构化聚合与文案生成,是 Batch C 的"聚合 facade"。
整体状态推导
overall_status 由以下信号合成(任一触发即升级):
- 风险等级 L1/high → critical(紧急);L2/L3/medium → caution(需关注);L0/low/none → 基线 stable
- PEW 历史趋势 worsening(来自 M3,ADR-007)→ 至少 caution
- 营养摄入达成率 energy_pct < 50% → 至少 caution
输出 summary_markdown 含七节:基本信息 / 最新化验 / 营养评估 / 随访与依从 / PEW 历史 / 风险等级 / 综合结论。
验证
python -m py_compile src/a207_report_mcp/*.py
python tests/test_tools.py # 全部断言应全过
已知缺口(非阻断)
- 报告为"快照聚合",不含历史版本管理;多时间点对比由调用方多次调用拼装。
- 不消费 M10 通知能力(提醒外发在 Batch D)。
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.