Your research library, built from citations, ready for your AI assistant.
Give it one paper. It follows the references, keeps the open-access PDFs, searches inside them to the page,
and lets your AI assistant use all of it, on your own machine.
Website · Documentation · Download
Get started · AI assistants · Commands · How it works · Roadmap
Builds your library from one paper. Start from a DOI, an arXiv ID, a link or a title. Filiation follows the reference lists, most-cited first, and keeps what it finds: hundreds of related papers, each tied to the papers it cites.
Keeps the papers themselves, searchable to the page. It downloads the legal open-access PDFs and reads them. Type a few keywords and it finds the passages that match, names their page, and lights them on the PDF.
Works with your AI assistant. Claude, GitHub Copilot, Cursor and Gemini CLI can search your library, read the passages and answer with the page they came from, so you can check every claim. Your assistant writes the answer; Filiation gives it sources that are yours.
Shows where ideas came from. See what a paper cites and what cites it, find the chain of citations between two papers, and let the citations group your library into its topics.
|
A desktop window for Windows, macOS and Linux, for people who would rather not use a terminal: your papers, search, the citation map, the Reader with highlights, notes and several papers open in tabs, and connecting your AI assistant with one click. On Windows it keeps itself up to date. On Windows, download the installer: no administrator rights needed. On macOS, download the disk image from the latest release and drag Filiation onto Applications; it runs on Apple silicon and Intel. On Linux the app builds from source for now: see the desktop app. |
Download fil add 10.7717/peerj.4375 # one paper, by DOI, arXiv ID, link or title
fil expand # follow its references, most-cited first
fil fetch # download the open-access PDFs, and read them
fil search "citation advantage" # find passages, with their paper and page |
To let your AI assistant use your library, connect it to fil mcp. For Claude Code:
claude mcp add filiation -- fil mcpOther assistants, all nine tools, and troubleshooting: AI assistants. Every command: Commands. Install, first steps, and where your library lives: Getting started.
- Yours, and on your machine. Your library is a folder you choose, with readable PDF folders inside. It never leaves your computer, and it exports to GraphML for Gephi or NetworkX.
- Open access only, always. Filiation downloads only legal open-access copies, never from behind a paywall or through anyone's login. For the rest, add the PDF you have.
- No model guessing. Citations come from OpenAlex's resolved reference lists, not from a language model reading papers. Search ranks passages with plain keyword scoring, measured on a fixed test set, and runs nothing extra on your machine.
- Honest about the data. Reference lists are rich in the sciences and thin in the humanities, and most papers have no open copy. Filiation says so, paper by paper, rather than looking broken.
- One file, nothing to install. No runtime, no database server, no account, no API key.
| Milestone | Status | |
|---|---|---|
| The graph | Follow references under a budget, without duplicates; paths, neighbours, export | Done, v0.1 |
| AI assistants | Your library as MCP tools | Done, v0.2 |
| Papers on disk | Open-access PDFs, full text, and the sentence behind each citation | Done, v0.3 |
| Search | Find the paper that answers your question, ranked by its passages, title and abstract | Done, v0.4 |
| The desktop app | Everything above in a window, for people who don't use a terminal | In progress |
| Claim genealogy | Why each paper cites another, and tracing a claim to its earliest source | Planned |
Using Filiation: Getting started · Commands · AI assistants · How it works
Building Filiation: Status · Architecture · Decisions · Spikes · Validation · CLAUDE.md
Issues and pull requests are welcome. Read CONTRIBUTING.md first: how to build and test, the rules every change keeps, commit style, and the rules for AI-assisted work. A few rules are non-negotiable: no cgo in fil itself (the desktop shell is the one exception), no paywalled full text, no reference parsing, and no network in unit tests.
If Filiation helps your research, please cite it. GitHub's Cite this repository button, on the right of the repository page, gives APA and BibTeX from CITATION.cff. Every release is archived on Zenodo: 10.5281/zenodo.24505907 always names the newest, and each version has a DOI of its own.
In textual criticism, filiation is the work of establishing which manuscript was copied from which: reconstructing the lines of descent between surviving texts. Filiation does the same for research papers. Start from one paper, follow its citations back, and see the literature it grew out of.
Reference data comes from OpenAlex, an open index of the world's research. SQLite runs in pure Go through ncruces/go-sqlite3. PDF text comes from PDFium, compiled to WebAssembly by klippa-app/go-pdfium and run by wazero. PDFs are shown with PDF.js. The desktop window uses Wails. The command line is built with spf13/cobra.
Apache License 2.0. Use it, change it, and build on it, including commercially; keep the notices in NOTICE. The licence includes an explicit patent grant from contributors.







