OpenBioNews

A free, self-hosted daily brief built from official biopharma records — every line cited.
OpenBioNews reads primary sources — ClinicalTrials.gov, the FDA (recalls,
approvals, shortages, adverse events, labels), the Federal Register, PubMed
and SEC EDGAR — for the companies, drugs and conditions you watch. It ranks
what changed and writes a clean daily brief — as Markdown, a web page, plain text
or RSS, optionally straight to your inbox — where every sentence links back to
the official record. The same sources are available to AI assistants through
its MCP server. Trade-press news feeds are optional and off by default.
- 🆓 Free and open (MIT). No account, no subscription, no server to rent.
- 🔬 Primary sources, cited to the sentence. Track ClinicalTrials.gov,
FDA (recalls, approvals, shortages) and SEC EDGAR by company, drug or
condition — and every sentence of every brief carries a numbered citation back
to the exact source record. It's deterministic (verbatim from the record), so
there's nothing to hallucinate — no LLM required.
- 🔔 Tells you what changed. Remembers each trial/filing/record between runs
and surfaces the diff — a trial gone to Terminated, results posted, a recall
reclassified — so you read the change, not the same snapshot twice.
- 🎯 Watch by theme, not just disease. One-tap groups seed your watch list:
therapeutic areas and thematic cohorts like AI in drug discovery, NAM,
gene/cell therapy, CRISPR, mRNA, ADCs, radiopharma, GLP-1/obesity. Stack several.
- 🖥️ Runs everywhere. Windows, macOS, and Linux — pure Python, no build step.
- 🔌 Bring your own LLM — or none. The cited facts are always deterministic;
an optional local model (Ollama) or OpenAI-compatible API only adds a clearly
labelled "Why it matters" interpretation on top — so the AI never touches the
record, and there's nothing to hallucinate into it. Runs fully offline.
- 🧩 Zero dependencies. The core runs on the Python standard library. If you
have Python, you can run it.
- 🥇 Curated, not a firehose. Records are de-duplicated and ranked by
importance, with a read-time estimate.
- 📰 News feeds if you want them. Add trade-press RSS/Atom bundles (STAT,
Endpoints, FDA press releases…) alongside the records — opt-in, never required.
- 📬 Optional email delivery. Have it mail you the digest every morning via
any SMTP server.
- 🔒 Private. Your watch list and reading habits stay on your machine. With the
local or no-LLM modes, nothing is sent anywhere.
- 🪄 One-minute onboarding.
openbionews setup walks you through it and
writes a config customized to you.
Building the brief is deterministic — fetching, ranking and citing official
records needs no AI. An LLM is optional and only adds a clearly labelled
interpretation on top, so the cited facts never pass through a model.
Quick start
You need Python 3.9 or newer. Check with python3 --version (on Windows,
py --version).
Install from PyPI:
pip install openbionews # core — pure standard library, no deps
pipx install "openbionews[mcp]" # optional: + MCP server for AI assistants (Python 3.10+)
openbionews run --demo # try it offline with bundled sample data
openbionews setup # personalize (interactive, ~1 minute)
openbionews run # build today's brief
With no setup at all, openbionews run reads the FDA sources that need no watch
list (recalls, approvals, shortages, Federal Register notices). Add companies,
drugs or conditions in setup to bring in trials, PubMed and SEC filings.
That's it — your brief is written to the digest/ folder as
digest-YYYY-MM-DD.md (plus a latest.md you can always point to).
Prefer to run from source (or hack on it)? Clone and skip the install:
git clone https://github.com/fedor-i/OpenBioNews.git
cd OpenBioNews
python3 -m openbionews run --demo
Works on Windows, macOS, and Linux
The tool is pure Python and platform-independent. Command names differ slightly:
|
macOS / Linux |
Windows |
| Run a module |
python3 -m openbionews … |
py -m openbionews … |
| Set an env var (this shell) |
export KEY=value |
set KEY=value (cmd) · $env:KEY="value" (PowerShell) |
| Schedule it |
cron |
Task Scheduler |
After pip install ., the openbionews command works the same on every
platform. Output is written as UTF-8 everywhere.
Optional: install it as a command
pip install .
openbionews setup # now available as a plain command
openbionews run
Onboarding: openbionews setup
The setup wizard is the heart of OpenBioNews. It asks a handful of questions —
each with a sensible default you can accept by pressing Enter — and writes a
config file customized to you:
- Name your brief (e.g. "My Morning Bio Brief").
- Build a watch list — companies, conditions, drugs, terms. Start from a
therapeutic-area preset (oncology, cardiometabolic, rare disease,
neurology, immunology, infectious disease) or a thematic group (AI, NAM,
gene/cell therapy…), then tweak. Optional: without one you still get all
recent FDA recalls, approvals, shortages and notices.
- Pick the primary sources — ClinicalTrials.gov, FDA recalls / approvals /
shortages, Federal Register, PubMed, SEC EDGAR — each cited to its record
(see below).
- Optionally add news feeds. Trade-press bundles (Biotech & Pharma,
Regulatory (FDA/EMA), Preprints (bioRxiv/medRxiv), Life Science & Research,
Health, Science, Tech, World) or your own RSS URLs. Off unless you say yes.
- Focus it. Optionally keep only items mentioning certain keywords, or
always drop others.
- Choose how summaries are written — no LLM, local Ollama, or an
OpenAI-compatible API.
- Pick an output format — Markdown, HTML, text, or an RSS feed you can
subscribe to in any reader.
The result is openbionews.config.json in the current folder. Re-run setup
any time to change it, or edit the file directly (see
config.example.json).
Choosing an LLM (or not)
OpenBioNews works three ways. You choose during setup; you can switch any time.
1. No LLM (default) — free, instant, offline
Summaries are the record's own opening sentences. No model, no network, no
setup. Great for a fast, private digest.
2. Local model via Ollama — free and private
Install Ollama, pull a small model, and OpenBioNews talks
to it on your machine. Nothing leaves your computer.
ollama pull llama3.2 # or qwen2.5, phi3, gemma2 — small models are fine
# choose "Local model via Ollama" in `openbionews setup`
3. Any OpenAI-compatible API
Works with OpenAI, OpenRouter, Groq, Together, LM Studio, llama.cpp's server,
vLLM, and more. During setup, give the base URL, model name, and the name of
an environment variable that holds your API key. The key is read from the
environment and is never written to the config file.
export OPENAI_API_KEY=sk-... # or whatever variable you named
openbionews run
If a summary call ever fails (rate limit, network blip), that story quietly
falls back to the no-LLM summary — the run never aborts.
Primary sources — traced to the document
OpenBioNews reads official primary records — not trade press — and traces
every development back to its source document.
Nine connectors are built in. You keep one watch list (companies,
conditions, drugs, terms) and switch on whichever official sources you want:
- ClinicalTrials.gov — trial developments (registration, status, phase),
cited to the NCT record.
- openFDA drug recalls — enforcement reports (reason, Class I/II/III,
status), cited to the FDA record.
- openFDA drug approvals — Drugs@FDA approvals, original and supplemental
(new indication), cited to the Drugs@FDA page.
- openFDA drug shortages — current/resolved shortages (reason, status,
category), cited to the FDA Drug Shortages database.
- openFDA drug adverse events (FAERS) — most-reported reactions per drug
(spontaneous report counts, not incidence), cited to the openFDA query.
- openFDA drug labeling — current FDA label: indications and whether a drug
carries a boxed warning, cited to the openFDA label record.
- Federal Register — FDA guidances, advisory-committee notices and rules,
cited to the Federal Register document.
- PubMed — recent biomedical literature (NCBI E-utilities), cited to the
PubMed record (and DOI when present).
- SEC EDGAR — filings (8-K, 10-K, S-1, 424B, 13D/G, DEF 14A, Form 4…), cited
to the filing document. SEC asks for a contact User-Agent — set your email in
connectors.edgar.user_agent.
"watchlist": {
"sponsors": ["Moderna", "Vertex Pharmaceuticals"],
"conditions": ["cystic fibrosis"],
"interventions": ["mRNA-1345"],
"terms": []
},
"connectors": {
"clinicaltrials": { "enabled": true, "recent_days": 30 },
"openfda": { "enabled": true, "recent_days": 30 },
"openfda_approvals": { "enabled": true, "recent_days": 90 },
"openfda_shortages": { "enabled": true, "recent_days": 60, "statuses": ["Current"] },
"edgar": { "enabled": true, "recent_days": 30, "forms": ["8-K"],
"user_agent": "Your Name your@email.com" }
}
The setup wizard builds this for you, and openbionews doctor verifies each
source. Every story renders with a tag and a source line:
### Study of DrugX in Advanced Solid Tumors
*Recruiting · Phase 2 · Acme Bio · ClinicalTrials.gov · 20 Sep*
A phase 2 study evaluating DrugX…
↳ Source: ClinicalTrials.gov NCT01234567
No API keys are required. Because the connectors run on your machine, they can
set the User-Agent SEC requires and are not subject to the browser CORS limits
that constrain the hosted web page — this is the reliable path for SEC data.
Hosted web version — filter in your browser, no install
For people who just want to click and filter, there's a single-page web app
in docs/index.html with a tab for each source, plus a
cross-agency Insights digest. A first visit opens on ready-made views
(terminated Phase 3 trials, industry Phase 3 activity this week, Class I recalls,
current shortages, GLP-1 / ADC / radiopharmaceutical trials); each is an ordinary
shareable link, and a daily CI job opens every one against the live APIs.
- Clinical trials — filter ClinicalTrials.gov by company, condition, drug,
status, phase, recency ("updated within N days"), and
industry-sponsored only.
- FDA drug recalls — filter openFDA enforcement reports by firm, product,
reason, classification (Class I/II/III), status, report-date recency, and
voluntary vs. FDA-mandated.
- FDA drug approvals — Drugs@FDA approvals (original + supplemental) by
company or drug, within a chosen window.
- FDA drug shortages — current/resolved shortages by drug or company.
- SEC filings — full-text search SEC EDGAR by company/ticker/keyword,
filing type (8-K, 10-K, S-1, 424B, 13D/G, DEF 14A, Form 4…), and
filed-within recency; each result links to the filing document. (SEC does
not reliably allow in-browser cross-origin requests, so when a visitor's
browser is blocked, this tab falls back to opening the same search on SEC's
official EDGAR site with the filters applied.)
- FDA adverse events (FAERS) — most-reported reactions for a drug (signal,
not incidence), cited to the openFDA query.
- FDA labels — current label indications and boxed-warning status per drug.
- Federal Register — FDA guidances, advisory-committee notices and rules.
- Insights (beta) — a deterministic, no-LLM cross-agency digest over a time
window: key stats, emergent themes, a word cloud, rising terms and a
BM25-ranked source list, every figure counted from the cited records beneath it.
Both query the source live in the browser, show a link to each source
record, and support shareable links (copy a link that reproduces the exact
filtered view). No server, no backend, no tracking.
Host it free on GitHub Pages:
- Repo → Settings → Pages → Build and deployment.
- Source: GitHub Actions (the included workflow deploys
docs/), or
Deploy from a branch → main / /docs.
- Your page goes live at
https://fedor-i.github.io/OpenBioNews/.
Point a custom domain at it in the same settings page if you like. Because it's
static and calls the public APIs directly, it costs nothing to run and scales to
any number of visitors.
Use it from an AI assistant (MCP)
The core has no LLM and invents nothing — but any assistant that speaks the
Model Context Protocol (Claude Desktop, Claude
Code, …) can call OpenBioNews as a tool to pull primary-source records, each
returned with the exact URL it traces to. The AI gets grounded, citable facts; it
never sees our prose.
It's listed in the official MCP Registry
as io.github.fedor-i/openbionews, so clients that browse the registry can install it
directly (they run uvx --with mcp openbionews mcp).
The MCP server needs Python 3.10+ (the mcp SDK requires it; the core
pipeline still runs on 3.9). Install it with an isolated installer so the
openbionews command lands on your PATH — which the MCP config below relies on:
pipx install "openbionews[mcp]" # recommended: isolated, command on PATH
# or
uv tool install "openbionews[mcp]" # same idea, via uv
# or, into an environment you manage yourself:
python3 -m pip install "openbionews[mcp]" # use python3.10+; see the note below
openbionews mcp # speaks MCP over stdio
On Python 3.9 pip install "openbionews[mcp]" can't install the mcp SDK,
so the extra resolves to nothing and you get the core without the server. Use
Python 3.10+ (pipx install "openbionews[mcp]" --python python3.12). A plain
pip install --user also warns that its script directory isn't on PATH,
which breaks the "command": "openbionews" config below — prefer pipx/uv,
or point "command" at python3 with "args": ["-m", "openbionews", "mcp"].
Ten tools exposed: search_clinical_trials, search_fda_recalls,
search_fda_approvals, search_fda_shortages, search_fda_adverse_events,
search_fda_labeling, search_federal_register, search_pubmed,
search_sec_filings, and watchlist_digest (every source at once).
The output is shaped for LLM callers: