What do you want to do?
3 use cases
-
Extract drugs and conditions from clinical notes on your own machine
Install OpenMed and run clinical NER on text without a cloud API.
- REPO
maziyarpanahi/openmed - Claude Code
- Codex
- Cursor
- Research
- Intermediate
View prompt
Install maziyarpanahi/openmed and write a script that runs pharma_detection_superclinical over the notes in <folder> with BatchProcessor and writes drug and condition entities to a CSV. Use synthetic notes only for testing.
- REPO
-
Run a local REST API that de-identifies clinical text
Start the OpenMed REST service and call its PII extract and de-identify endpoints from your app.
- REPO
maziyarpanahi/openmed - Research
- Intermediate
View prompt
Start the maziyarpanahi/openmed REST service on port 8080 and write a client that sends <synthetic notes> to /pii/deidentify and saves the redacted text. Show me 3 before and after examples.
- REPO
-
Have your coding agent build a de-identification pipeline with OpenMed skills
Install OpenMed's Agent Skills and ask Claude Code or Codex for an on-device pipeline.
View prompt
Using the maziyarpanahi/openmed Agent Skills, build a local pipeline that de-identifies <synthetic note> and extracts medication entities, then show the output and the models it used.
What people are building with Openmed
-
Hands-onHacker News
Tried the OpenMed Privacy Filter on a Mac while building a privacy layer for frontier models
Building a proof of concept that keeps sensitive details such as tax, health and financial data out of prompts sent to frontier models, the author tried OpenMed Privacy Filter on a Mac but found it would not run on their Linux server.
By Frankied3030 on Hacker News
-
Built withGitHub
Built a free medical record PII removal tool on OpenMed models that deploys to a cloud free tier
The repo wraps OpenMed PII SuperClinical Small 44M, one of the PII models OpenMed released on January 13, into a clone and run tool for de-identifying medical records, with deploy steps for AWS, GCP and Azure free tiers, as a no cost alternative to paid medical PII services.
Openmed on GitHubTry it: Run a local REST API that de-identifies clinical text
By @goker on GitHub
Real builds shared on X, Hacker News, Reddit, DEV and GitHub, summed up by Deduped from each post and its links; each card links to the original post. See what people are building with other repos
Quick start with Openmed
- Check you have what it needs: Python 3.10+ and pip; Optional: Apple Silicon for MLX, Android with ONNX Runtime Mobile, or a browser with WebGPU; Model downloads from the Hugging Face Hub, or local model folders for offline use.
- Open maziyarpanahi/openmed on GitHub and read the README and license.
- Run
pip install --upgrade "openmed[hf]"(oropenmed[mlx]on Apple Silicon) - Call analyze_text with a model such as pharma_detection_superclinical or disease_detection_superclinical
- Print each entity's label and text
- For many notes, use BatchProcessor with group_entities=True
These steps come from our top use case, Extract drugs and conditions from clinical notes on your own machine, which also has a copy-paste agent prompt.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for maziyarpanahi/openmed
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeAbout this repo
- Who it is forHealth tech developers and researchers who need to extract entities or remove PII from clinical notes without sending data to a cloud API.
- Why it is hot5.7k stars, talked about in 3 AI sources we track
- LanguagePython
- Sourcegithub.com/maziyarpanahi/openmed ยท Back to Hot repos
Requirements
- Python 3.10+ and pip
- Optional: Apple Silicon for MLX, Android with ONNX Runtime Mobile, or a browser with WebGPU
- Model downloads from the Hugging Face Hub, or local model folders for offline use
Add this badge to your README
Maintain Openmed? Show readers where to find these use cases.
Markdown
[](https://dedupedai.com/use-cases/maziyarpanahi-openmed/?utm_source=github&utm_medium=badge&utm_campaign=maziyarpanahi-openmed)
HTML
<a href="https://dedupedai.com/use-cases/maziyarpanahi-openmed/?utm_source=github&utm_medium=badge&utm_campaign=maziyarpanahi-openmed"><img src="https://dedupedai.com/badge/maziyarpanahi/openmed.svg" alt="Use cases on Deduped" height="20"></a>
A static image, no tracking script. About the badge
Questions about Openmed
What is Openmed?
OpenMed is a local-first healthcare AI toolkit that turns clinical text into structured, de-identified data on hardware you control. Its Python package runs clinical NER (drugs, diseases, conditions) and PII de-identification, with a REST service, batch processing, MLX acceleration on Apple Silicon, ONNX models for Android and the browser, and Agent Skills for Claude Code and Codex. It is an open-source project on GitHub: https://github.com/maziyarpanahi/openmed.
How do I use Openmed?
Run pip install --upgrade "openmed[hf]" (or openmed[mlx] on Apple Silicon); then call analyze_text with a model such as pharma_detection_superclinical or disease_detection_superclinical; Print each entity's label and text. The use cases on this page give the full steps and a copy-paste agent prompt for each job.
Who is Openmed for?
Health tech developers and researchers who need to extract entities or remove PII from clinical notes without sending data to a cloud API.
What can I do with Openmed?
3 use cases so far, for example: Extract drugs and conditions from clinical notes on your own machine; Run a local REST API that de-identifies clinical text; Have your coding agent build a de-identification pipeline with OpenMed skills. Each has steps and a copy-paste agent prompt.
What do I need to run Openmed?
Python 3.10+ and pip; Optional: Apple Silicon for MLX, Android with ONNX Runtime Mobile, or a browser with WebGPU; Model downloads from the Hugging Face Hub, or local model folders for offline use.
What are alternatives to Openmed?
Other hot AI repos in Research: Sam2, Docling, LightRAG, Ragflow, Markitdown.
Is Openmed safe to run?
Deduped does not own, audit or vouch for it. Read the README and license, run it on your own systems first and review every command before you run it.