# tatsuju/opdstar-nhi-mcp [Health: Active]

**Category:** 🧬 Biology & Bioinformatics  
**Repository:** https://github.com/tatsuju/opdstar-nhi-mcp  
**GitHub Stars:** 1  
**npm Downloads (last month):** 1769  
**Views:** 5  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/tatsuju-opdstar-nhi-mcp

## Description
Taiwan's first public MCP server for National Health Insurance (NHI) data — 234 rejection codes, 1,497 ICD-10→procedure mappings across 20 specialties, audit indicators (008/014/027/P043), and semantic wiki search over 8,232 chunks of official NHI documentation. Powered by OPDSTAR. Install: npx @opdstar/nhi-mcp.

## Tools
Capabilities this server exposes over MCP:

- **lookup_rejection_code** — Look up a single Taiwan NHI rejection code (5-character format `NNNNL` — 4 digits + 1 uppercase letter A/B/C/..., e.g. '0317A', '0338A', '0114A'). Returns severity (low / medium / high), category (00 診療品質 · 01 病歷紀錄 · 02 基本診療 · 03 藥品特材 · 04 手術處置 · 05 檢查檢驗 · 06 論病例計酬 · 07 復健精神 · 08 其他 · 09 法令 — first two digits encode the category), and the official Chinese description from 健保署 專業審查不予支付理由代碼. Returns a not-found message (not an error) if the code does not exist. **Use when** an agent encounters a known rejection code in a notice or claim response and needs the human-readable explanation, or when triaging which category a code belongs to. **Typical follow-up**: call `get_drug_rules({rejection_code})` if the code is in category 03 (藥品特材) to surface the drug rule behind the rejection; call `search_audit_guidelines({query: <code>})` for codes in 04 / 05 to read the underlying audit-clause text; call `count_appeal_precedents_for_rejection_code({rejection_code})` to gauge whether disputes for this code are commonly successful. **Don't use** to enumerate codes by category — call `get_rejection_code_category({category})` instead. **Reference only** — the official 健保署 code list is authoritative. Curated by OPDSTAR (https://opdstar.com).
- **get_procedures_for_icd** — Given a Taiwan ICD-10 code and a medical specialty, return the NHI procedure codes plausibly applicable to that diagnosis within that specialty. Each result includes the procedure code, Chinese name, English name, nhi_points (payment points), and the official fee-schedule notes (`fee_schedule_notes`) with `effective_start`. Results are ordered by procedure code, capped at `limit` (default 10, max 20). Returns an empty list (not an error) when no curated mapping exists for the given (icd10, specialty) pair — this is common because the mapping is intentionally conservative. **Use when** an agent is drafting SOAP and needs a starting set of procedure codes for the diagnosis within the clinician's specialty context — e.g. dermatologist with `L30.9` (chronic eczema) needs candidate procedure codes. **Typical follow-up**: for each candidate code, call `lookup_fee_code({q: <code>})` to confirm current points and effective dates, and `lookup_audit_clauses_for_procedure({procedure_code})` to surface any audit-clause caveats. **Don't use** as a billing source of truth — the original NHI fee schedule has no ICD field, this is a curated, intentionally conservative mapping that prefers false negatives over false positives; for the canonical fee-schedule entry of a known code, call `lookup_fee_code`. **Reference only** — final code selection remains the clinician's responsibility. Curated by OPDSTAR (https://opdstar.com).
- **get_indicator** — Look up a single Taiwan NHI prescribing-pattern indicator. These are short codes (numeric, or 'P'-prefixed) that encode common over-prescribing patterns such as antibiotic-on-URI, multi-drug co-prescribing, or duration limits. Returns the indicator name, the threshold (e.g. '7-day URI episode'), and the compliance meaning. Returns a not-found message (not an error) if the code does not exist. **Use when** an agent needs the human-readable explanation for a specific indicator code referenced during a SOAP review or audit response — e.g. an audit notice cites an indicator and the agent needs to surface what it monitors. **Typical follow-up**: call `get_drug_rules({rejection_code})` with the indicator's downstream rejection code to read the formal payment rule, or `search_audit_guidelines({query})` to read related audit-clause text. **Don't use** for the official 分析審查不予支付指標 (percentage-cap audit) list — that's a different system — call `lookup_audit_indicator` instead. **Reference only** — thresholds and applicable lists reflect published guidance and may change with each NHI release; agents should re-read the indicator each session rather than caching values across sessions. Curated by OPDSTAR (https://opdstar.com).
- **search_nhi_wiki** — Search across Taiwan's official NHI knowledge base (健保署全球資訊網) for natural-language background questions. Covers 9 categories: audit (審查 — review rules / rejection grounds), drugs (藥品特材 — formulary, payment limits), fees (費用 — copay, premiums, contribution), plans (醫療計畫 — disease-management programs), services (醫療服務 — covered benefits), insurance (投保 — enrollment), forms (表單 — applications), records (紀錄 — documentation rules), admin (行政 — contracting, accreditation). Returns up to 10 ranked excerpts (most relevant first); each result includes a content snippet and chunk_type, plus title / source_url_nhi / category when the excerpt comes from a 健保署 web page (title, URL and category of that page) or from an official interpretation letter (subject and letter URL; letters carry no category). Excerpts from the review-clause and rejection-code corpora cite no page (title / source_url_nhi null) — use `search_audit_guidelines` / `lookup_rejection_code` for their canonical entries. The `category` filter applies to 健保署 web pages only, so interpretation letters are left out when it is set. Returns an empty list (not an error) when the query has no matches. **Use when** an agent needs broad NHI policy background not tied to a specific code — e.g. '慢性病連續處方箋天數上限' / 'how does balance billing work for orthodontics' / 'what are the rules for telemedicine reimbursement'. **Typical follow-up**: when an excerpt mentions a specific code (e.g. '0317A', '00101B'), call the appropriate code-specific tool (`lookup_rejection_code`, `lookup_fee_code`) for the canonical entry. **Don't use** when you already know a specific rejection code, procedure code, drug name, or audit-clause topic — those have dedicated tools that return structured fields rather than excerpts. **Reference only** — official 健保署 publications are authoritative; ranked excerpts may lag the latest revision and the snippet is not the full document. Curated by OPDSTAR (https://opdstar.com).
- **search_nhi_interpretations** — Search Taiwan's official NHI administrative interpretations (健保署行政函釋 / 函令) — the binding 公告 and 解釋函 issued by the National Health Insurance Administration that clarify how payment rules, drug-formulary provisions, special-material coverage, and review policy apply in practice. Each result returns the official document number (字號), issue date, 主旨 (subject), a content excerpt, and the source URL on the government law portal. Returns up to 10 ranked excerpts (most relevant first); returns an empty list (not an error) when nothing matches. **Use when** a question turns on an official ruling rather than a code definition — e.g. '函釋怎麼說人工水晶體的給付規定' / 'is there an interpretation on continuous-prescription day limits' — or when the user cites a 函釋 文號 directly (e.g. 健保審字第 1090017813 號). **Don't use** when you already have a specific rejection code, fee code, or drug name — those have dedicated lookup tools (`lookup_rejection_code`, `lookup_fee_code`, `lookup_drug`). **Reference only** — the official 健保署 / 衛福部 publication is authoritative; an excerpt may lag the latest revision and is not the full document, so open the source URL for the binding text. Curated by OPDSTAR (https://opdstar.com).
- **get_drug_rules** — Look up Taiwan NHI drug payment rules (藥品給付規定) — when a drug class is / isn't reimbursable, with severity and source citation. Filter by `specialty`, `rejection_code`, or `drug_category_query` (at least one required). **Use when** an agent is checking whether a drug choice will trigger a rejection before submission, or wants to read the rule behind a known rejection code. **Don't use** to identify a specific drug (brand / generic / strength) — call `lookup_drug` instead; for the underlying audit clauses, use `lookup_audit_clauses_for_procedure` or `lookup_audit_clauses_for_specialty`. **Reference only** — official 健保藥品給付規定 is authoritative; curated subset, not exhaustive. Curated by OPDSTAR (https://opdstar.com).
- **get_safe_phrases** — Preview which documentation scenarios have OPDSTAR-curated NHI-safe phrasing patterns for a given specialty (e.g. dermatology + 抗生素) — returns scenario name, high-risk wording to avoid, and the first sentence of the safe-phrasing example. Up to 5 scenarios per call. **Use when** an agent is helping draft SOAP wording and needs to flag risky phrasing before submission. **Don't use** to retrieve full ready-to-copy templates (full library is part of the paid OPDSTAR product — link the user to opdstar.com); for the underlying audit rule that motivates a safe phrase, call `search_audit_guidelines`. **Reference only** — phrasing patterns reflect curated review experience, not formal NHI directives. Curated by OPDSTAR (https://opdstar.com).
- **search_audit_guidelines** — Free-text search over Taiwan NHI 審查注意事項 rules — returns reason + suggestion summaries (first sentence only) for up to 10 rules matching a keyword (Traditional Chinese or English). **Use when** an agent is exploring whether any audit rule covers a topic (e.g. '抗生素', '檢查頻率', '慢性病處方') without knowing a specific code. **Don't use** for clauses tied to a known procedure code — call `lookup_audit_clauses_for_procedure` instead. Full SOAP example templates and detailed reasoning are part of the paid OPDSTAR product. **Reference only** — official 健保署 審查注意事項 is authoritative; results are previews. Curated by OPDSTAR (https://opdstar.com).
- **get_rejection_code_category** — Browse Taiwan NHI rejection codes by category (00-09) for discovery — returns code, severity, and short description, up to 50 per call. Categories: 00 診療品質 · 01 病歷紀錄 · 02 基本診療 · 03 藥品特材 · 04 手術處置 · 05 檢查檢驗 · 06 論病例計酬 · 07 復健精神 · 08 其他 · 09 法令. **Use when** an agent needs to enumerate all rejection codes within a workflow domain (e.g. all surgery-handling codes). **Don't use** to look up a known specific code — call `lookup_rejection_code` instead. **Reference only** — official 健保署 不予支付理由代碼 is authoritative. Curated by OPDSTAR (https://opdstar.com).
- **lookup_drug** — Look up the active Taiwan NHI drug catalog by generic name, brand name, NHI drug code, or alias — returns up to 10 matches with strength, dosage form, route, ATC code, therapeutic class, and brand list. **Use when** an agent needs to identify or disambiguate a drug before recommending dosage / formulation in a SOAP draft. **Don't use** to look up payment / reimbursement rules for the drug — call `get_drug_rules` instead; for an audit clause referencing the drug, call `search_audit_guidelines`. **Reference only** — official 健保署 藥品給付項目及支付標準 is authoritative; the catalog is a working snapshot. Curated by OPDSTAR (https://opdstar.com).
- **lookup_fee_code** — Look up the Taiwan NHI fee schedule (全民健康保險醫療服務給付項目及支付標準, current effective edition). Search by exact code (e.g. '00101B', 'P15001') or by Chinese / English name (e.g. '門診診察', 'ICU') — returns code, points, effective dates, and audit notes (truncated to 600 chars). Use `category` prefix to scope ('00' 門診診察費, '06' 尿液檢驗, '08' 血液檢驗, '96' 麻醉, 'P1' 論病例計酬). **Use when** an agent needs the canonical fee entry for a known procedure code, or wants to discover codes by name. **Don't use** for drugs (call `lookup_drug`) or for ICD-10 → procedure suggestions (call `get_procedures_for_icd`). The optional `icd` filter applies an OPDSTAR-curated mapping that is intentionally sparse (the original NHI data has no ICD field) — most codes will return no result with `icd` active. **Reference only** — official 健保署 支付標準 is authoritative. Curated by OPDSTAR (https://opdstar.com).
- **lookup_audit_clauses_for_procedure** — Find Taiwan NHI 審查注意事項 clauses that reference a specific procedure code (e.g. '00101B', '51017C') — each result indicates whether the clause carries an amount limit, frequency rule, or indication restriction (critical signals for rejection-risk assessment). Returns clause summary, specialty, and risk flags. **Use when** an agent has a candidate procedure code and needs to surface the audit context attached to it. **Don't use** for the procedure's fee-schedule entry (points / effective dates) — call `lookup_fee_code`; for browsing all clauses within a specialty, call `lookup_audit_clauses_for_specialty`. **Reference only** — clause summaries are first-sentence previews; official 健保署 審查注意事項 is the source of truth. Curated by OPDSTAR (https://opdstar.com).
- **lookup_audit_clauses_for_specialty** — Browse Taiwan NHI 審查注意事項 clauses for a specific medical specialty (dermatology, ophthalmology, ENT, TCM, dentistry, family medicine, etc.) — returns clause headlines with risk flags (amount_limit / frequency_rule / indication) and a short preview of the procedures each clause governs. **Use when** an agent needs section-wide audit context before assisting with claim coding for a specialty. **Don't use** for clauses tied to a known specific procedure code — call `lookup_audit_clauses_for_procedure` instead. **Reference only** — official 健保署 審查注意事項 (current edition) is authoritative; clause summaries are previews. Curated by OPDSTAR (https://opdstar.com).
- **lookup_major_illness** — Look up Taiwan NHI 重大傷病 (major illness) categories — official categories that grant copayment exemption and a more lenient claim-review process. Returns category name, ICD-10 code coverage, application requirement, and validity period. **Use when** an agent needs a category by code or by keyword (e.g. '癌症', '透析'). A call needs category_code or keyword; the full list is not served in one call. **Don't use** if you already have an ICD-10 code and want to know which categories it qualifies for — call `check_icd_for_major_illness_eligibility` instead. **Reference only** — final eligibility requires a formal application with supporting documentation per the official 重大傷病範圍及項目. Curated by OPDSTAR (https://opdstar.com).
- **check_icd_for_major_illness_eligibility** — Reverse-lookup: given a single ICD-10 code, return the Taiwan NHI 重大傷病 (major illness) categories the diagnosis may qualify for, including category name, the ICD pattern that matched, and copayment-exemption flag. **Use when** an agent has a diagnosis and needs to flag major-illness applicability before claim submission. **Don't use** to browse all categories — call `lookup_major_illness` instead (also use it for the category → applicable ICDs direction). **Reference only** — confirmed eligibility still requires a formal application with supporting documentation per the official 重大傷病範圍及項目. Curated by OPDSTAR (https://opdstar.com).
- **lookup_audit_indicator** — Look up Taiwan NHI 分析審查不予支付指標 (official threshold-based audit rules where claims exceeding a percentage are denied) — returns indicator code, category, threshold, applicable specialty, monitored procedure codes, and official action description. **Use when** an agent needs to know whether a procedure code is under a percentage-cap audit (e.g. '23401C' is monitored by indicator 001 眼科局部處置申報率, 30% threshold). Omit `indicator_code` to filter by category / specialty / procedure; at least one filter is required. **Don't use** for prescribing-pattern indicators — those live in `get_indicator`. **Reference only** — thresholds change with each official release. Curated by OPDSTAR (https://opdstar.com).
- **lookup_appeal_statistics_by_category** — Aggregate dispute-resolution statistics for Taiwan NHI claim disputes, broken down by category and (optionally) review stage — returns category counts and rough win-rate signals only, never individual case details, case numbers, or arguments. **Use when** an agent is helping a clinician understand the general dispute landscape (e.g. 'how often do fee-calculation disputes resolve in the claimant's favor at the first court tier?'). **Don't use** for code-specific signals — call `count_appeal_precedents_for_rejection_code` instead. **Reference only** — historical signal does not predict future outcomes; final decisions rest with the responsible review body. Curated by OPDSTAR (https://opdstar.com).
- **count_appeal_precedents_for_rejection_code** — Aggregate signal-only summary of how disputes involving a given Taiwan NHI rejection code (e.g. '0312A', '0114A') or procedure code (e.g. '86008C') historically resolve — returns rough volume bucket (none / few / several / many), claimant win-rate signal (rare / occasional / moderate / common), and which review stages have on-record outcomes. **Use when** an agent is helping triage whether contesting a specific code is worth pursuing. **Don't use** to fetch individual case details (none are exposed) — for the broader landscape across categories, call `lookup_appeal_statistics_by_category` instead. **Reference only** — historical signal does not predict future outcomes; final review decisions rest with the responsible authority. Curated by OPDSTAR (https://opdstar.com).
- **recent_nhi_amendments** — List recent amendments to Taiwan NHI rules and audit guidelines (健保署「醫療費用審查注意事項」近一年修正公告). Returns the publication / effective dates, the amendment title and type ('primary' = main regulation update, 'comparison' = side-by-side diff document), and direct links to the official DOCX / ODT / PDF announcement files plus the 健保署 listing page. **Use when** an agent needs to answer 'what NHI rule changes are coming?', 'when does the new 審查注意事項 take effect?', or wants to check whether a specific rule has been recently amended before quoting it. **Typical follow-up**: call `search_audit_guidelines({query})` to pull the post-amendment clause text, or `lookup_rejection_code({code})` to see how it ties into existing rejection codes. **Reference only** — official 健保署 announcements are authoritative. Curated by OPDSTAR (https://opdstar.com).
- **search_taiwan_drug** — Search Taiwan drugs across NHI and TFDA registries with unified cross-reference. Returns generic name (EN + 中文學名), all brand names + aliases, NHI 9碼 billing code, ATC code, dosage form, strength, route, therapeutic class, applicable specialties, compound-flag, and effective date. The query auto-detects four input shapes: (1) **NHI drug code** 9碼 (e.g. 'AC4537911', 'A04403412' — 1-2 letter prefix + 6-9 digits) → direct match; (2) **ATC code** prefix (e.g. 'J01CR02' or 'J01' for the antibacterials class) → class match; (3) **Generic name** EN or 中文 → ILIKE; (4) **Brand name / alias** → secondary fallback. **Use when** an agent has any drug identifier and needs the canonical record for billing / SOAP / appeal context. **Typical follow-up**: call `get_drug_rules({drug_category_query})` for NHI payment rules / prior-authorization on this drug, `lookup_icd10_cm` for the diagnosis side, or `count_appeal_precedents_for_rejection_code` if a rejection code is involved. **Out of scope**: drug-drug interactions, severity scoring, indication-specific dosing. **Reference only** — TFDA license / 健保 給付規定 are authoritative. Curated by OPDSTAR (https://opdstar.com).
- **lookup_icd10_cm** — Look up ICD-10-CM diagnosis codes with English / Traditional Chinese descriptions, category, and the OPDSTAR specialties each code is keyed against. **Use when** the agent encounters an ICD-10 code in a note, claim, or rejection notice and needs the canonical name, or wants to free-text search by EN / 中文 keyword to find candidate codes. **Typical follow-up**: chain into `get_procedures_for_icd({icd10, specialty})` to find the procedures commonly paired with the code, or `check_icd_for_major_illness_eligibility({icd10})` to check 重大傷病 coverage. **Scope note**: Currently backed by OPDSTAR's specialty-keyed Taiwan-relevant subset (the diagnoses doctors actually code on outpatient claims); the full CMS public-domain ICD-10-CM 2025 set will be merged in a later release. **Out of scope**: SNOMED CT cross-mapping, international procedure codes (ICD-10-PCS), drug interactions. **Reference only** — clinical coding decisions require physician judgment. Curated by OPDSTAR (https://opdstar.com).
- **lookup_preventive_service** — Look up Taiwan NHI preventive-care and screening services — adult health checks, the major cancer screenings (breast, cervical, colorectal, oral, lung LDCT), prenatal care, child preventive health, and child dental fluoride / pit-and-fissure sealant programs. Returns each service's target population, age / sex eligibility, subsidy frequency, and screening tool. **Use when** an agent needs to know who is eligible for a preventive service and how often it is subsidised (e.g. 'who can get a mammogram and how often', 'child fluoride coverage'). A call needs category or keyword; the full list is not served in one call. **Reference only** — eligibility and subsidy follow the official 衛生福利部 announcements; the screening provider confirms eligibility at the point of service. Curated by OPDSTAR (https://opdstar.com).
- **lookup_chronic_prescription_rule** — Look up Taiwan NHI chronic-disease continuous-prescription (慢性病連續處方箋) rules. Given an ICD-10 code or a disease name, returns whether the condition falls within the official chronic-disease scope and its dispensing limits — maximum days per dispense, maximum total medication days, and prescription validity. **Use when** an agent needs to know if a diagnosis qualifies for a continuous prescription and the applicable day limits. **Reference only** — the issuing physician must confirm the patient's condition is stable and that the same long-term medication applies, per the official 全民健康保險醫療辦法 慢性病範圍. Curated by OPDSTAR (https://opdstar.com).
- **lookup_point_value** — Look up Taiwan NHI floating point values (浮動點值) — the settled per-point payment amount by region and total-budget sector. Taiwan NHI reimburses on a points system under a global budget, so one claimed point is usually worth less than NT$1; this tool returns the actual settled rate. With no year, returns the latest settled value for each region × sector; with a year (and optional quarter), returns the quarterly time series. **Use when** an agent needs to estimate actual reimbursement — claimed points × point value ≈ amount paid. **Reference only** — official figures are published quarterly by 衛生福利部中央健康保險署. Curated by OPDSTAR (https://opdstar.com).
- **lookup_sampling_audit_rules** — Look up Taiwan NHI clinic-level 專業審查抽審指標 (per-region sampling-audit screening rules that decide WHICH CLINICS get selected for professional claim review) — returns mandatory-audit triggers (new-contract clinics, annual rotation, violations), weighted scoring indicators, growth-rate exemption-exclusion thresholds, and audit-exemption conditions, each with the official definition text and structured thresholds. **Region matters**: each NHI regional division sets its own thresholds — always pass `region` (at least one of region / rule_group / specialty is required); a region not yet covered returns empty results, not 'no rules'. **Use when** a clinic asks why it might be sampled for audit, how new-clinic mandatory review works, or what growth/volume patterns remove audit exemption. **Don't use** for per-claim percentage-cap denial rules — those live in `lookup_audit_indicator`. **Reference only** — thresholds are revised quarterly by regional joint-management meetings. Curated by OPDSTAR (https://opdstar.com).
- **lookup_special_material** — Look up Taiwan NHI 特殊材料給付規定 (special-material payment rules) — returns the official rule text verbatim, quantity limits, whether prior authorisation applies, the procedure codes the material is claimed alongside, and the effective-date window. **Use when** a claim involves an implant, catheter, stapler, lens, stent or similar device and the agent needs the conditions under which it is reimbursed, or needs to check which materials pair with a given procedure code. **Version matters**: a material code can carry several historical rule versions and a superseded rule reads exactly like a live one — the default `current: true` returns only the rule in force; pass `current: false` deliberately when tracing history. **Don't use** for the procedure's own payment conditions — that is `lookup_fee_code`. **Reference only** — claiming decisions require physician judgement. Curated by OPDSTAR (https://opdstar.com).
- **lookup_p4p_program** — Look up Taiwan NHI 論質計酬 / 照護品質提升方案 (pay-for-performance and care-management programmes) — returns enrolment criteria, exclusion and closure criteria, required follow-up cadence, required lab tests and care team, the fee codes each programme is claimed with, and per-visit payment. **Use when** a patient's diagnosis might make them eligible for a care programme, when an agent needs to know what enrolling commits the clinic to, or which fee codes a programme unlocks. Call with NO arguments to list every programme first. **ICD matching is bidirectional**: stored targets mix three-character prefixes with full codes, so 'E11' and 'E11.9' both match the diabetes programme. **Scope note**: criteria are summarised from the programme documents, not quoted verbatim — treat them as a guide to eligibility and follow `source_url` for the contractual wording. **Don't use** for ordinary per-claim payment rules — that is `lookup_fee_code`. **Reference only** — enrolment decisions require physician judgement. Curated by OPDSTAR (https://opdstar.com).

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "opdstar-nhi-mcp": {
    "command": "npx",
    "args": ["-y","@opdstar/nhi-mcp"]
  }
}
```

## Documentation

## What tatsuju/opdstar-nhi-mcp does

Taiwan National Health Insurance billing data is exposed through MCP tools for use by healthcare professionals and agent developers. The server covers rejection codes, fee-schedule entries, audit rules, prescribing indicators, drugs, special materials, major-illness categories, preventive services, chronic-prescription limits, pay-for-performance programmes, sampling audits, and appeal statistics.

It also supports diagnosis and procedure research. Agents can look up ICD-10-CM descriptions, map an ICD-10 code to conservatively curated procedure candidates for a specialty, inspect procedure audit clauses, and check the current fee entry, points, and effective dates. Drug workflows distinguish between identifying a drug and checking its NHI reimbursement rule.

Results are reference material, not clinical or legal decisions. Official National Health Insurance Administration publications remain authoritative, and several datasets are curated subsets, previews, snapshots, or aggregate signals.

## How it works

The package communicates through the Model Context Protocol and exposes 27 tools. A client can call structured lookups for known codes or use search tools for broader questions. `search_nhi_wiki` searches nine categories of official NHI knowledge-base content, while `search_nhi_interpretations` finds administrative rulings with document numbers, dates, excerpts, and source links.

Search and lookup results generally return structured fields such as descriptions, categories, severity, thresholds, source URLs, payment points, effective dates, risk flags, or eligibility conditions. Empty results and unknown codes are returned as normal responses rather than errors in the relevant tools. Some tools are deliberately conservative: ICD-10-to-procedure mappings favor false negatives, and audit and safe-phrasing searches may return previews rather than complete source text.

Useful chains include looking up an ICD-10 diagnosis, retrieving specialty-specific procedure candidates, then checking each fee code and its audit clauses. A rejection-code lookup can be followed by drug-rule, audit-guideline, or appeal-precedent queries depending on the code category.

## Setup and configuration

The local package requires Node.js 18 or newer. Run it directly with:

```bash
npx @opdstar/nhi-mcp
```

It can also be installed globally with `npm install -g @opdstar/nhi-mcp`. For Claude Desktop, add the package as a stdio server in `claude_desktop_config.json`:

```json
{
  "mcpServers": {
    "opdstar-nhi": {
      "command": "npx",
      "args": ["-y", "@opdstar/nhi-mcp"]
    }
  }
}
```

Restart the client after changing the configuration. Cursor uses the same command and arguments in `.cursor/mcp.json` or the global Cursor MCP configuration. A hosted option is available through `POST https://opdstar.com/api/mcp` with `Content-Type: application/json`.

## Tools and capabilities

- Resolve individual NHI rejection codes or browse codes by category.
- Search prescribing-pattern and percentage-based audit indicators.
- Find audit clauses by procedure or specialty, including amount, frequency, and indication risk flags.
- Search official NHI wiki content and administrative interpretations.
- Check drug identities, NHI payment rules, special-material rules, and cross-referenced Taiwan drug records.
- Look up fee codes, points, effective dates, floating point values, and ICD-10-CM descriptions.
- Map diagnoses to curated specialty procedures and check major-illness eligibility.
- Review preventive-care eligibility, chronic-prescription limits, P4P programmes, and regional sampling-audit rules.
- Inspect aggregate appeal signals by category or rejection/procedure code.
- Preview NHI-safe documentation phrasing scenarios without retrieving the paid full templates.

## Limitations and notes

The server focuses on Taiwan NHI billing intelligence. It does not provide SNOMED CT, LOINC, FHIR R4 generation, RxNorm, drug-interaction data, diagnosis suggestions, or clinical decision support. Its ICD-10 data is a Taiwan-relevant specialty-keyed subset, and its ICD-to-procedure mapping is intentionally sparse. Drug, audit, wiki, and appeal results can be snapshots, summaries, excerpts, or historical signals; users should follow the returned official source links and verify the applicable release before making a claim or care decision.

_Full upstream README: https://allmcps.com/mcp/tatsuju-opdstar-nhi-mcp/readme_

