
Oig Corporate Integrity
io.github.pipeworx-iov0.1.0更新於 Oct 8, 2026
HHS-OIG Corporate Integrity Agreements — does this healthcare company have
概覽
查詢某家醫療企業或個人是否簽有 HHS-OIG 企業誠信協議,以及該協議規定了哪些義務。
- 功能
- 針對 HHS-OIG 企業誠信協議名冊提供三個工具。oig_cia_check 會把實體名稱與目前的 CIA 名冊比對,比對成功時即時抓取該實體的詳細頁面,回傳生效日期、期限、和解金額與協議 PDF 連結。oig_cia_obligations 會即時抓取協議 PDF 並擷取文字,回報六類義務中哪些確實出現,並附上簡短摘錄。oig_cia_list 可依狀態(Effective、Suspended、Closed、Refused)瀏覽已內建的名冊。
- 適用情境
- 適合合規、盡職調查或醫療產業研究情境,用來確認某個機構或個人是否處於企業誠信協議之下、自何時開始,以及須履行哪些義務。CIA 與排除名單是兩種不同狀態,因此它是排除名單查詢的補充,而非替代。
- 執行需求
- 可作為遠端 streamable HTTP 端點連線至閘道網址,也可透過 npx 以本機 stdio 方式執行,需要 Node.js。首次呼叫不需帳號、API 金鑰或環境變數。即時抓取詳細頁面與 PDF 需要能連線至閘道及 oig.hhs.gov 的網路。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Oig Corporate Integrity,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
其他 MCP 客戶端
把它新增到你客戶端的 mcpServers 設定中。
{
"mcpServers": {
"oig-corporate-integrity": {
"type": "http",
"url": "https://gateway.pipeworx.io/oig-corporate-integrity/mcp"
}
}
}README
@pipeworx/oig-corporate-integrity
HHS-OIG Corporate Integrity Agreements — does this healthcare company or
individual have a Corporate Integrity Agreement (CIA), since when, what
obligations does it impose, and what is its current status? A CIA is a
different condition from an exclusion (see the leie and
ny-omig-exclusions packs): an entity under a CIA is still participating in
Medicare/Medicaid, under binding compliance obligations OIG negotiated
instead of seeking exclusion.
Part of Pipeworx — an MCP gateway connecting AI agents to 1721+ live data sources. This is an independent, unofficial integration — not affiliated with, endorsed by, or published by the upstream provider.
Tools
oig_cia_check(name, limit?)— checks an entity against the current HHS-OIG CIA roster. An exact name match is the strongest signal; a normalized-name or token match is returned as a labelled candidate, since CIA entity names are frequently compound (a company plus named co-signers, e.g. "SNAP Diagnostics, LLC and Gil Raviv"). For the best match, fetches the entity's own detail page live to return the effective date, term/duration, settlement amount and the agreement PDF URL — none of that is baked, so it is never stale. Returnsfound: falsewith the list's as-of date and total agreement count when no match exists.oig_cia_obligations(name?, document_url?)— resolves the entity (same matching asoig_cia_check) or takes adocument_urldirectly, fetches the agreement PDF live from oig.hhs.gov, extracts its text, and reports which of six obligation categories (Board Resolution, Independent Review Organization/IRO reviews, Compliance Officer/Committee, Annual or Implementation reporting, a disclosure program, excluded-persons screening) actually appear in the text, each with a short excerpt. Not every CIA includes every category — a sole-individual CIA typically has no Board Resolution clause — and some older, fully closed agreements have no PDF posted at all, reported asfound: false, not an error.oig_cia_list(status?, limit?, offset?)— browses the baked CIA list by status (Effective/Suspended/Closed/Refused). Fast (no live fetch), but carries only what the list card shows — calloig_cia_checkon a specific entity for effective date, term and the agreement document.
Auth
Keyless.
Data sources
- https://oig.hhs.gov/compliance/corporate-integrity-agreements/browse-cias/ — the paginated, filterable CIA roster (339 agreements as captured, 20 per page). No JSON/REST endpoint and no bulk CSV/Excel export exist.
- Each agreement's own detail page
(
/compliance/corporate-integrity-agreements/browse-cias/<slug>/) — effective date, term, settlement amount, category/tags, and the agreement PDF's URL. Fetched live, per call, never baked. - The agreement PDF itself (
oig.hhs.gov/documents/cias/<id>/<file>.pdf) — text PDFs, extracted withshared/src/pdf-text.ts.
Why only the LIST is baked
Root CLAUDE.md's standing rule for this shape: a baked table never sits in
gateway module scope. scripts/bake-index.mjs crawls all 17 pages of the
browse list and bakes only the entity name, detail-page path, the status
badge/date shown on the list card, location and report type — into
src/oig-cia-index-data.ts, registered in
workers/gateway/src/pack-baked-indexes.json, uploaded to KV at deploy, and
injected as args._bakedIndex (fleet #2754 pattern, same as
south-dakota-code / ny-omig-exclusions / usgs-mineral-commodities). A
missing or malformed injection throws loudly rather than answering "no CIA
found" — see src/index.test.ts.
Per-entity detail (effective date, term, settlement amount, the agreement
PDF URL and its text) is deliberately not baked — it is fetched live
from that one entity's own detail page and PDF on every oig_cia_check /
oig_cia_obligations call. Most callers never ask about most of the 339
rows, so pre-crawling all of them would be wasted work; fetching live also
means a newly-closed or newly-suspended agreement is visible immediately
instead of waiting for the next bake.
Re-run node mcps/oig-corporate-integrity/scripts/bake-index.mjs
periodically to refresh the list and recommit. OIG's own page carries no
static freshness banner ("As of today") — data_as_of on every response is
simply the bake script's own capture date.
Transport/parse failures throw loud
A non-200 from a detail page or PDF, or a 200 whose content no longer
matches the shape this pack parses, is reported as a thrown error naming the
upstream status — never silently reshaped into found: false, which for a
compliance screening tool would be indistinguishable from "no CIA on file".
See src/index.test.ts for the stubbed-fetch contract tests.
Reachability
Verified live 2026-10-07 from both a laptop fetch and a throwaway
wrangler dev --remote Worker on the prod Cloudflare account: identical
200 responses and byte lengths from the Cloudflare edge on the browse
list, a detail page and an agreement PDF (92,934 / 44,393 / 696,577 bytes
respectively). This host has no robots.txt at all (404).
Quick Start
Add to your MCP client (Claude Desktop, Cursor, Windsurf, etc.):
What this endpoint actually serves
tools/list at https://gateway.pipeworx.io/oig-corporate-integrity/mcp returns the tools in the table
above plus the shared Pipeworx meta-tools — ask_pipeworx,
discover_tools, search_within, remember/recall and the rest of the
gateway-wide set. So the tool count you see is larger than this table: a
single-pack endpoint currently lists roughly 30 shared tools alongside the
pack's own. The connection's initialize response states its exact scope, and
is the authoritative answer for a given day.
This is deliberate, not multiplexing by accident. The meta-tools are what let a
scoped connection answer a question this pack does not cover — via
ask_pipeworx, which routes across the whole catalog — without you adding a
second MCP server. There is currently no way to mount a pack endpoint without
them; if the extra schemas cost you more context than the routing is worth,
connect to the full gateway once rather than to several pack endpoints.
Or connect to the full Pipeworx gateway to get every pack's tools listed directly, instead of just this one's:
Both URLs reach the same gateway and the same 1721+ data sources. The
only difference is which pack's tools are listed directly; ask_pipeworx
reaches all of them from either one.
No MCP client? Call it over HTTP
No account needed for the first calls. Inspect any tool: GET https://gateway.pipeworx.io/v1/tools/oig_cia_check. Find one: POST https://gateway.pipeworx.io/v1/tools/search_packs with {"query":"..."}.
Standalone (no gateway account)
This package also runs as a local stdio MCP server — no Pipeworx account, no gateway round-trip:
Or run it directly to confirm it starts:
It speaks MCP over stdin/stdout and answers initialize/tools/list/tools/call
for only this pack's tools — none of the shared meta-tools the gateway
connection above adds. Same source, same tools, no ask_pipeworx routing.
Using with ask_pipeworx
Instead of calling tools directly, you can ask questions in plain English — this works on the pack endpoint above as well as on the full gateway:
The gateway picks the right tool and fills the arguments automatically.
More
License
MIT
來源:README.md,提交 67c89ba
工具
0版本歷史
1- v0.1.0最新Oct 8, 2026
