Nhi MCP
MCP server by tatsuju Verified · npm:@opdstar
Nhi MCP gives AI assistants access to Taiwan National Health Insurance billing reference data. It covers rejection codes, audit clauses, drug payment rules and fee schedule lookups. It is built for Taiwan healthcare professionals and AI agent developers.
Install Nhi MCP
Built from the published package, never by AI.
claude mcp add nhi-mcp -- npx -y @opdstar/nhi-mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"nhi-mcp": {
"args": [
"-y",
"@opdstar/nhi-mcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"nhi-mcp": {
"args": [
"-y",
"@opdstar/nhi-mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"nhi-mcp": {
"args": [
"-y",
"@opdstar/nhi-mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add nhi-mcp -- npx -y @opdstar/nhi-mcp{
"mcpServers": {
"nhi-mcp": {
"args": [
"-y",
"@opdstar/nhi-mcp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add nhi-mcp npx -y @opdstar/nhi-mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the nhi-mcp block.
About
Nhi MCP is an MCP server that gives AI assistants access to Taiwan National Health Insurance (NHI) billing reference data. The source lists rejection codes, audit indicators, audit clauses, the drug catalog and drug payment rules, the fee schedule, major-illness coverage, and aggregate dispute-resolution signals. The package is published on npm as @opdstar/nhi-mcp and is curated and maintained by OPDSTAR.
The server runs locally through npx or npm, and a hosted JSON-RPC 2.0 endpoint is also described. Users ask questions in natural language, and the assistant calls tools such as lookup_rejection_code or get_indicator to pull NHI data. The source says it is aimed at Taiwan healthcare professionals and AI agent developers. Its scope is Taiwan NHI billing rules only.
Written from the project's README and checked against it.
Tools it gives your assistant
lookup_rejection_codeLooks up a 5-character NHI rejection code with its severity and category.get_procedures_for_icdReturns NHI procedure codes that apply to an ICD-10 code and specialty.get_indicatorLooks up an NHI audit indicator with its threshold and related rejection codes.search_nhi_wikiSearches the NHI official wiki by query, with an optional category filter.get_drug_rulesLooks up NHI drug payment rules by specialty, rejection code or drug category.search_audit_guidelinesSearches audit guideline rules and returns reason and suggestion summaries.get_rejection_code_categoryLists all NHI rejection codes in one category from 00 to 09.lookup_drugSearches the NHI drug catalog by generic name, brand name or NHI drug code.lookup_fee_codeLooks up NHI fee schedule entries by code or name, with points and dates.lookup_audit_clauses_for_procedureFinds audit clauses that cite a specific NHI procedure code, with risk flags.
What you need
- Node.js 18 or later for the local npm option
- An MCP-compatible client such as Claude Desktop or Cursor
Try asking
- What does NHI rejection code 0317A mean?
- 慢性病連續處方箋最長可以開多久?
- 中耳炎 H66.9 耳鼻喉科能申報哪些處置?
Good to know
- get_safe_phrases is preview only. The full phrase library is a paid OPDSTAR feature.
- The icd filter in lookup_fee_code only matches codes already enriched with ICD-10 mapping.
- Scope is Taiwan NHI billing rules only. Drug interaction databases and clinical decision support are out of scope.
- The listing in the Anthropic MCP Directory is described as under review.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Nhi MCP
All alternatives →Standardizes lab test names to LOINC codes and units to UCUM, and symptoms and diagnoses to ICPC-3, offline and with no API key. Built for people who want their health records on their own machine and queryable by an AI agent over MCP.
RuView is a WiFi sensing platform and MCP server that uses low-cost ESP32 sensors to detect people, breathing and heart rate. It is for developers and operators who want room sensing without cameras or wearables.
ToolUniverse is an MCP server that gives AI assistants access to more than 2,700 scientific tools for life science, research and literature. It is aimed at AI scientists, researchers and developers building research systems.
Mirobody is a self-hosted engine that turns lab reports, wearable data and genetic files into a single health record. Its built-in MCP server lets an AI assistant query that record and trace each number back to its source file. It is for people who want their health data on their own machine.
ScanSci PDF gets academic papers for AI agents. Give it a DOI, arXiv ID, article link, reference list or research question, and it searches candidate sources and tries to fetch accessible full texts. It is for students, researchers and labs.
Searches CNKI and Web of Science through an MCP server, returning records with impact factors. It can also open a paper in the user's signed-in browser and read its full text. Built for researchers who want AI answers on science topics backed by the source article.
Compare with Mirobody, Ruview or tooluniverse
Nhi MCP: common questions
Does it cover international coding standards?
No. The README says SNOMED CT, LOINC, FHIR R4 and RxNorm are out of scope.
Can it be used without installing anything?
The README describes a hosted endpoint at opdstar.com/api/mcp as a one-click option with no install. A local npm package is also available.
Does it return details of individual appeal cases?
No. The source says dispute-resolution signals are aggregated by category or rejection code, with no individual case details.
How do I install Nhi MCP?
In Claude Code run claude mcp add nhi-mcp -- npx -y @opdstar/nhi-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Nhi MCP the official server?
Nhi MCP is published by npm:@opdstar from its verified domain in the official MCP Registry.
Is Nhi MCP free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Nhi MCP safe to use?
It scores 79 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Nhi MCP?
Similar MCP servers: Mirobody, Ruview, tooluniverse, Mirobody.
Does Nhi MCP work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
