oig-leie-mcp

oig-leie-mcp

Screens individuals and entities against the OIG LEIE exclusion list, returning candidate matches that require human verification.

Category
访问服务器

README

oig-leie

A small, dependency-free Python client for screening against the public OIG LEIE (List of Excluded Individuals/Entities), the federal database of people and organizations excluded from Medicare, Medicaid, and all other federal healthcare programs.

What the LEIE is

The LEIE is published monthly by the U.S. Department of Health and Human Services, Office of Inspector General (OIG), as a downloadable CSV. Each row describes one excluded individual or entity. The official download page is:

https://oig.hhs.gov/exclusions/exclusions_list.asp

Why it matters

Screening against the LEIE is a mandatory part of healthcare credentialing and provider enrollment. Federal healthcare programs do not pay for items or services furnished, ordered, or prescribed by an excluded individual or entity, and employing or contracting with an excluded party can expose an organization to civil monetary penalties. Most compliance programs check the LEIE on hire and on a recurring basis (commonly monthly) for staff, contractors, and vendors.

The human-verification caveat (read this first)

A name match, or even an NPI match, against the LEIE is not a confirmed exclusion. OIG requires verifying a potential match using additional identifiers such as a Social Security Number, date of birth, or other identifying data before any adverse action is taken.

This library reflects that posture deliberately. Lookups return possible matches that a human must verify. The library never returns a definitive "excluded = true" verdict. Sources surface candidates. A human makes the decision.

Install

pip install oig-leie

Optional MCP server support:

pip install "oig-leie[mcp]"

The core library has no runtime dependencies.

Usage

First, download the monthly LEIE CSV from the official page above and save it locally (for example as leie.csv). Then load it and run lookups.

from oig_leie import LeieClient

client = LeieClient.from_csv("leie.csv")

# Individual lookup by last name (first name optional, matched as a prefix).
possible = client.check_individual("Sampleton", "Roberta")
for record in possible:
    print(record.display_name, record.excltype, record.excldate)

# Business / entity lookup (case-insensitive, partial match).
client.check_business("home health")

# NPI lookup (only digits are compared, so formatting does not matter).
client.check_npi("1234567893")

Every returned item is a frozen Exclusion dataclass holding the raw CSV fields (lastname, firstname, midname, busname, general, specialty, npi, upin, dob, address fields, excltype, excldate, reindate, waiverdate, and more). Remember: a returned record is a candidate to verify, not a confirmed exclusion.

You can also load from an open file object or from a string:

with open("leie.csv", encoding="utf-8-sig") as fh:
    client = LeieClient.from_fileobj(fh)

client = LeieClient.from_string(csv_text)

Refreshing the local file (optional)

A helper is provided for callers who want to fetch the monthly CSV programmatically. It performs a real network request, so it is never called by the test suite or during normal use. Pass the official monthly CSV URL.

from oig_leie import download

download("https://oig.hhs.gov/exclusions/downloadables/UPDATED.csv", "leie.csv")

MCP server

With the mcp extra installed, the package ships an optional Model Context Protocol server exposing a single check_exclusion tool. Point it at a local LEIE CSV via the OIG_LEIE_CSV environment variable.

OIG_LEIE_CSV=/path/to/leie.csv oig-leie-mcp

Example MCP client configuration:

{
  "mcpServers": {
    "oig-leie": {
      "command": "oig-leie-mcp",
      "env": { "OIG_LEIE_CSV": "/path/to/leie.csv" }
    }
  }
}

The check_exclusion tool accepts last_name, first_name, and npi, and returns candidate matches plus an explicit requires_human_verification flag and disclaimer. It does not confirm exclusion.

Development

python -m venv .venv
. .venv/bin/activate        # Windows: .venv\Scripts\activate
pip install -e ".[dev]"
pytest -v

The test suite uses a small synthetic fixture CSV with made-up names and makes no network calls.

License

MIT. Copyright (c) 2026 Giles-Evan Mboumi. See LICENSE.

Disclaimer

This project is not affiliated with or endorsed by the HHS Office of Inspector General. It is a convenience client over publicly published data. Always follow OIG guidance and your own compliance program when screening and verifying matches.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选