Skip to content
MOSAIC logoMOSAIC logo

About ​

MOSAIC (Multi-source Scientific Article Indexer and Collector) is a command-line tool that searches 22 scientific databases with one query, keeps every result in a local SQLite cache, and downloads the PDFs you are entitled to read. On top of that library it exports to BibTeX, RIS, Zotero and Obsidian, follows a field with saved searches, and lets a language model rank, summarise, compare and answer questions from your papers.

What it does ​

You want tomosaicStart with
find papers on a topic in every database at oncesearch merges arXiv, OpenAlex, Crossref, PubMed, HAL, Semantic Scholar and 16 moreTutorial 1
narrow by year, author, journal, title, open accessfilters applied by each source and again on every resultTutorial 2
get the PDFsthe source's link, every open copy Unpaywall knows, your saved logins, your own browserTutorial 4, 5
put them in your toolsBibTeX, RIS, CSV, JSON, Markdown, Zotero, Obsidian, NotebookLMTutorial 6
hear about new paperssaved searches that report what is newTutorial 7
read lessrelevance ranking, one-paragraph summaries, comparison tablesTutorial 8
ask your libraryanswers with citations from your papers, on your machineTutorial 9

Principles ​

  • Legal access only. mosaic downloads open-access copies and what your own subscriptions open. It does not get past paywalls, access controls or bot detection; where a publisher blocks automation, it hands the download to your browser.
  • Your data stays local. The cache, the PDFs and the vector index live in your home directory. A language model runs where you point it: on your machine with Ollama, or a cloud API you choose.
  • Few dependencies. The core needs httpx, typer, rich, tomli-w and rank-bm25; heavier features are extras.
  • Every source is a small class. Adding a database means one module; adding a JSON API needs a few lines in the config file (Custom sources).

Where to start ​

New to mosaic: Installation, then the Tutorial. Looking for one task: the Cookbook. Looking up an option: the Reference.

Authors ​

Stefano Zaghi

Chief Yak Shaver & Accidental Package Maintainer — Fortran programmer who needed one paper, opened 21 browser tabs, and six months later found himself maintaining a Python library

Andrea Giulianini

Grand Pixel Overlord & Architect of the Sacred Button — world-class web UI designer, responsible for making MOSAIC actually look good

Claude (Anthropic)

Omniscient Code Oracle & Tireless Rubber Duck — AI pair programmer, responsible for writing the boring parts so humans don't have to

License ​

MOSAIC is free software, under your choice of GPL-3.0-or-later, BSD-2-Clause, BSD-3-Clause or MIT.

Released under GPL-3.0-or-later, BSD-2-Clause, BSD-3-Clause or MIT, at your choice.