By fryanpan
Structured rare disease differential diagnosis using Claude with live HPO and PubMed lookup. A single agent works the case end-to-end with full tool access — extracting clinical features, mapping them to Human Phenotype Ontology terms, looking up candidate diseases by phenotype, and querying PubMed for similar published cases. Produces a grounded top-5 differential suitable for both patient review and sharing with a physician.
Admin access level
Server config contains admin-level keywords
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
A Claude Code plugin that runs a structured rare-disease diagnostic consultation. Claude does a guided interview about your symptoms, looks them up in two free medical databases (HPO and PubMed), and produces a ranked top-5 list of possible diagnoses with citations you can verify.
This plugin runs a single Claude session end-to-end on a rare-disease case, with access to two open public medical databases:
Claude does a structured interview to gather your symptoms, history, and what's already been tried or ruled out, looks up which rare diseases match your symptoms, searches PubMed for similar published case reports, and produces a top-5 list with concrete citations.
In a Claude Code session, paste this and press enter:
Please install the
rare-disease-consultplugin fromhttps://github.com/fryanpan/rare-disease-consult-plugin. Follow the instructions in itsAGENT_INSTALL.mdfile.
Claude handles the safety disclaimer, prerequisite checks, clone, and registration. After restart, run /rare-disease-consult:consult.
Currently Claude Code only — Cowork support is planned. For the manual install or first-run troubleshooting, see Installation below.
There are four phases:
On a benchmark of 371 cases the model couldn't have memorized — published after Claude's training data was frozen, with safeguards against looking up the answer at runtime — this workflow scored about 76% Top-1 / 84% Top-5 (vs ~26% for a general physician at first visit). The improvement is statistically significant vs Claude without tools (47.7%) and Claude with thinking but no tools (54.9%).
One important caveat: agent runs vary run-to-run. A 25-case re-run under identical conditions agreed with itself on only 72% of cases. Read the tools number as "mid-to-high 70s," not as a precise 76%.
See Benchmark provenance below for the full methodology.
This plugin helps with one step in a long medical journey — not the whole journey. If your symptoms have been hard to pin down, a structured differential from this tool can give you something concrete to walk into a doctor's office with. That's the use case. It isn't more than that.
Even when the tool surfaces a plausible-looking differential, several failure modes can hurt you:
npx claudepluginhub fryanpan/rare-disease-consult-plugin --plugin rare-disease-consultSentry issue events delivered to subscribed Claude Code sessions as channel notifications
Notion comment webhooks as Claude Code channel notifications
Point-and-comment real-time feedback for Claude Code agents. Wraps an MCP server, slash commands, an auto-approve hook, and a live review surface (markdown + widget) in one plugin.
GitHub CI, review, and deploy events as Claude Code channel notifications
Permanent coding companion for Claude Code — survives any update. MCP-based terminal pet with ASCII art, stats, reactions, and personality.
Upstash Context7 MCP server for up-to-date documentation lookup. Pull version-specific documentation and code examples directly from source repositories into your LLM context.
Comprehensive skill pack with 66 specialized skills for full-stack developers: 12 language experts (Python, TypeScript, Go, Rust, C++, Swift, Kotlin, C#, PHP, Java, SQL, JavaScript), 10 backend frameworks, 6 frontend/mobile, plus infrastructure, DevOps, security, and testing. Features progressive disclosure architecture for 50% faster loading.
Production-grade vibe coding suite. Structured workflows from discovery to deployment: start, build, ship, fix, refactor.
Memory compression system for Claude Code - persist context across sessions