声明AI代理--MCP服务器
TypeScript MCP服务器为Claims AI代理提供CMS计费规则。通过模型上下文协议公开结构化的每代码资格、修饰符、拒绝触发器和硬停止。
配套回购: po-adk-python --在推理时查询此服务器的Python代理。
堆栈
- TypeScript
- Node.js
- 模型上下文协议(MCP)
- ChromaDB(RAG付款人政策)
CMS规则覆盖范围
typescript/rules/cms_rules.json --v1.1.0,19个代码:
- 医疗保险年度健康访问(G0438、G0439)
- 办公室访问(99213、99214、99215)
- 预防医学(993959399397)
- 免疫接种(90471、90472)
- 行为健康筛查(96127)
- 药物滥用筛查(99408)
- 抑郁症筛查(G0444)
- 访问复杂性(G2211)
- 还有更多
每个代码都包括资格规则、所需的修改器、具有严重级别的拒绝触发器、硬停止、特定于付款人的注释和通常计费的配套代码。
设置
git clone https://github.com/evantofu/po-community-mcp
cd po-community-mcp/typescript
npm install跑步
npm run start服务器启动于 http://localhost:5000/mcp 默认情况下。
项目结构
po-community-mcp/
├── typescript/
│ ├── index.ts # MCP server entry point
│ ├── fhir-client.ts # FHIR client utilities
│ ├── fhir-context.ts # FHIR context handling
│ ├── ingest.ts # PDF ingestion pipeline
│ ├── chunker.ts # Document chunking
│ ├── tools/
│ │ ├── PatientAgeTool.ts # Patient age lookup
│ │ ├── PatientIdTool.ts # Patient ID lookup
│ │ └── PayerRequirementsTool.ts # CMS rules lookup
│ ├── rules/
│ │ └── cms_rules.json # CMS billing rules database
│ ├── pdfs/ # Payer policy PDFs for RAG
│ └── vectordb/ # ChromaDB vector store
└── dotnet/ # Alternative .NET implementation