Filiation
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
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.
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.
Related MCP server: Athena
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 and 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 pageTo 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.
A closer look
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.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
PDF AI for your own documents: ask from any MCP client and get answers that cite the source.
1Academic research MCP server for paper search, citation checks, graphs, and deep research.
Query your own PDFs and documents from any MCP client. Every answer cites the page it came from.
Peer-reviewed scientific paper & arXiv preprint search MCP with citations, abstracts & PDF links.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceA local-first MCP server that analyzes research papers, maps citation graphs, and surfaces insights with verbatim-verified contradictions, all while keeping data private on your machine.1MIT
- FlicenseNot gradedqualityDmaintenanceA local academic research assistant that indexes PDFs into a searchable vector library and exposes MCP tools for semantic search, claim extraction, contradiction detection, and multi-step research synthesis.-
- AlicenseNot gradedqualityDmaintenanceMCP server that connects AI assistants to your Zotero library, enabling full-text PDF extraction and metadata search.MIT
- AlicenseNot gradedqualityCmaintenanceA local-first paper RAG server that enables searching and managing academic PDFs via MCP tools, supporting metadata enrichment and citation graphs.2MIT