Healthcare Data Quality MCP Server
Enables MCP-compatible AI clients to validate healthcare claims data quality by running completeness, integrity, and temporal checks on CSV files via five callable tools, including profiling and full scans.
README
Healthcare Data Quality MCP Server
An MCP (Model Context Protocol) server that exposes healthcare data quality validation as tools any MCP-compatible AI client — Claude Desktop, Claude Code, or Cowork — can call directly in conversation.
This wraps the rule logic from the Healthcare Data Quality & Governance Agent skill — all four quality dimensions (completeness, integrity, consistency, temporal accuracy) across five CMS/claims-adjacent data types — as callable tools, so instead of pasting data into a chat and asking for a report, an AI assistant can run the checks itself against a real file.
The rule logic and severity scoring live here as tested, versioned code. Turning the structured findings into the CDO-facing governance report (plain-English explanations, executive summary, PDF) stays a job for the skill/prompt layer, which consumes this server's JSON output.
Supported data types
inpatient, outpatient, carrier, pharmacy, ehr, population_health
— see rules/schema.py for the exact required fields and identifiers
per type.
What it does
profile_dataset— row/column counts, columns detected, sample rows, and a best-guess data type (confirm before running checks)check_completeness— flags required fields that are null, blank, or placeholder values, with severity scoring (Critical / High / Medium / Note)check_integrity— flags duplicate claim IDs, malformed provider NPIs, invalid ICD-9/ICD-10 diagnosis code formats, invalid beneficiary IDs, and payment amount anomaliescheck_consistency— flags mixed date formats and CMS code-set violations (gender, race, state FIPS, claim type, chronic condition flags)check_temporal— flags illogical date sequences (discharge before admission, service after death), future-dated records, implausible ages, and length-of-stay anomaliesrun_full_quality_scan— runs all four dimensions and returns a severity-scored, prioritised summary with AI readiness signals
Every dimension tool (except profile_dataset) takes filename and
data_type.
Setup
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
Run it standalone (no MCP client needed)
python3 -c "
import rules, json
df = rules.load_csv('sample_data/claims.csv')
print(json.dumps(rules.run_full_scan(df, 'outpatient'), indent=2))
"
Other sample files: inpatient_sample.csv, carrier_sample.csv,
pharmacy_sample.csv, ehr_sample.csv, population_health_sample.csv
— each paired with its matching data type.
Connect it to Claude Desktop
- Open your Claude Desktop config file (
claude_desktop_config.json). - Add an entry like the one in
claude_desktop_config.example.json, updating the path to the absolute path ofserver.pyon your machine. - Restart Claude Desktop.
- Ask Claude something like: "Run a full quality scan on claims.csv as outpatient claims data" — Claude will call the tool, run the checks, and summarize the findings.
Notes on the SDK
This was built against mcp==2.0.0, which uses mcp.server.MCPServer as
the high-level server class. Some older tutorials reference
mcp.server.fastmcp.FastMCP under the same name — the @mcp.tool()
decorator API is identical either way; only the import path and class
name differ by SDK version.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。