Skip to content
codevector-2003Public

About

Your research library, built from citations. Give it one paper: it follows the references, keeps the open-access PDFs, searches them to the page, and connects to your AI assistant over MCP. Desktop app and CLI for Windows, macOS and Linux.

Topics

Resources

Contributing

Stars

2 stars

Watchers

0 watching

Forks

Repository files navigation

Filiation: your research library, built from citations

Filiation

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.

Latest release Licence: Apache-2.0 Windows, macOS, Linux Runs on your machine Data: OpenAlex DOI: 10.5281/zenodo.24505907

Website · Documentation · Download

Get started · AI assistants · Commands · How it works · Roadmap

A 45-second demo of the Filiation app: a paper is added by its DOI, the citation map grows around it and then shows the whole library, a keyword search finds passages and lights them on the PDF page, and an AI assistant connected over MCP answers with quotes and page numbers


What it does

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.

Search inside the PDFs: a few keywords typed in, the passages that match grouped by paper, and the PDF page with the matching words highlighted

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.

The citation map of a whole library: papers as points, linked by their citations, the most cited labelled

Two ways in

Use the app

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.

Use the command line

Download fil for your system from Releases, unpack it, and run it. Nothing else to install.

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 mcp

Other assistants, all nine tools, and troubleshooting: AI assistants. Every command: Commands. Install, first steps, and where your library lives: Getting started.

A closer look

Searching from the title bar: the list filters as you type, and matching papers drop down to go to
Find any paper as you type. The search box in the title bar filters your library and offers papers to jump to.
The Reader: a PDF page with the words searched for highlighted, page thumbnails on the left, notes on the right
Read and mark up. Highlights and notes live in your library, so the PDF file stays as it was.
The citation map around one paper: the paper in the middle, linked to the papers it cites
The map around a paper. What it cites, what cites it, and which of them you have the PDF for.
Suggested groups: the library's topics found from its citations, each with its most cited papers
Topics from the citations alone. Groups of papers that cite one another, offered as collections. No model guesses what a paper is about.

Why you can trust it

  • 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.

Roadmap

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

Documentation

Using Filiation: Getting started · Commands · AI assistants · How it works

Building Filiation: Status · Architecture · Decisions · Spikes · Validation · CLAUDE.md

Contributing

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.

Citing Filiation

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.

Why "Filiation"?

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.

Acknowledgements

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.

Licence

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.

About

Your research library, built from citations. Give it one paper: it follows the references, keeps the open-access PDFs, searches them to the page, and connects to your AI assistant over MCP. Desktop app and CLI for Windows, macOS and Linux.

Topics

Resources

Contributing

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages