GraphRAG vs PaperQA in 2026
Pick GraphRAG for global questions over a large corpus; pick PaperQA for cited answers from scientific PDFs. GraphRAG is a library in your process written in Python under MIT, while PaperQA is a library in your process written in Python under Apache-2.0.
Key number: GraphRAG: 36,817 GitHub stars, PaperQA: 9,735 GitHub stars (3 Dec 2026).
Stars, licences, languages and releases for 3 tools were fetched live from the GitHub API, GitHub release pages and the Hugging Face API on 3 Dec 2026. Hosted services link to their official sites and carry no invented numbers.
TL;DR Pick GraphRAG for global questions over a large corpus.
GraphRAG, PaperQA or XERJ for your workload?
Pick an answer above.
GraphRAG
Microsoft's modular graph-based RAG system with community summaries.
GraphRAG on GitHubPaperQA
High-accuracy RAG for answering questions from scientific papers with citations.
PaperQA on GitHubXERJ
xerj autoindex indexes code, docs, logs and data, and xerj mcp serves search tools to the agent.
GraphRAG vs PaperQA, verified 3 Dec 2026
| Check | GraphRAG | PaperQA | XERJ |
|---|---|---|---|
| What it is | Microsoft's modular graph-based RAG system with community summaries | High-accuracy RAG for answering questions from scientific papers with citations | One local Rust binary that indexes code, docs, logs and data, and serves cited search to agents over MCP |
| Best for | Global questions over a large corpus | Cited answers from scientific PDFs | Agents searching local files over MCP |
| Runs as | Library in your process | Library in your process | Command-line tool |
| Primary language | Python | Python | Rust |
| Licence | MIT | Apache-2.0 | Apache-2.0 |
| Popularity | 36,817 GitHub stars | 9,735 GitHub stars | 23,588 GitHub stars |
| Latest release | v3.3.0, 8 Oct 2026 | v2026.08.12, 12 Aug 2026 | v1.0.0-rc.105, 23 Nov 2026 |
| MCP from the project | Not part of this check | Not part of this check | Yes |
| Plan for | Indexing runs many LLM calls | Tuned for papers and literature | Runs on the machine where the files are |
Read https://xerj.org/llms.txt. I am choosing between GraphRAG and PaperQA. Index this project with xerj autoindex, connect xerj mcp, and use xerj_search to find where my code would call either one. Cite file and line.
Pick one in ten seconds
- Pick GraphRAG for global questions over a large corpus.
- Pick PaperQA for cited answers from scientific PDFs.
- Pick XERJ when an AI agent should search local code, docs and logs over MCP, with citations.
Where GraphRAG shines
Microsoft's modular graph-based RAG system with community summaries. It fits global questions over a large corpus. Plan for this: indexing runs many LLM calls.
Where PaperQA shines
High-accuracy RAG for answering questions from scientific papers with citations. It fits cited answers from scientific PDFs. Plan for this: tuned for papers and literature.
Key differences
- How it runs: both are a library in your process, so the choice comes down to features and fit.
- Language: GraphRAG is mainly Python and PaperQA too.
- Licence: GraphRAG uses MIT; PaperQA uses Apache-2.0.
- Release cadence: GraphRAG shipped v3.3.0 on 8 Oct 2026; PaperQA's latest GitHub release is v2026.08.12 from 12 Aug 2026.
Where XERJ fits
XERJ is a new way for AI to search for data: one local Rust binary that indexes code, docs, logs and data with xerj autoindex and returns passages with file and line citations. xerj mcp is a stdio MCP server, and xerj mcp --http serves Streamable HTTP at http://127.0.0.1:9330/mcp, read-only unless you pass --allow-writes. A non-loopback bind needs XERJ_MCP_TOKEN. Use it next to GraphRAG or PaperQA when an agent has to answer from files on your machine.
How we checked
Stars, licences, languages and releases for 3 tools were fetched live from the GitHub API, GitHub release pages and the Hugging Face API on 3 Dec 2026. Hosted services link to their official sites and carry no invented numbers. We describe what each project says it does and avoid ranking one above the other in general.
Read next
- Best graph database for GraphRAG 2026: FalkorDB, Memgraph, Neo4j
- GraphRAG alternatives 2026: RAG tools compared
- LightRAG vs GraphRAG vs RAGFlow 2026: graph RAG tools compared
- PaperQA alternatives 2026: RAG tools compared
- Grounded answer meaning 2026: how to check grounded AI answers
- Extractive question answering (2026): how it works, with a demo
- Hybrid search 2026: BM25 plus vectors for RAG and AI agents
FAQ
Is GraphRAG better than PaperQA?
Neither is better in general. GraphRAG fits global questions over a large corpus, and PaperQA fits cited answers from scientific PDFs. The 4-question picker on this page scores both for your workload.
Are GraphRAG and PaperQA open source?
GraphRAG: MIT. PaperQA: Apache-2.0. Licences come from each repository on 3 Dec 2026.
Which is easier to run, GraphRAG or PaperQA?
GraphRAG runs as a library in your process (indexing runs many LLM calls). PaperQA runs as a library in your process (tuned for papers and literature).
Which has more GitHub stars, GraphRAG or PaperQA?
GraphRAG had 36,817 stars and PaperQA had 9,735 on 3 Dec 2026. Stars measure attention, so weigh them with the fit questions above.
Evidence
- microsoft/graphrag: 36,817 stars, MIT, Python, latest release v3.3.0, 8 Oct 2026 (GitHub API and release page, checked 3 Dec 2026).
- Future-House/paper-qa: 9,735 stars, Apache-2.0, Python, latest release v2026.08.12, 12 Aug 2026 (GitHub API and release page, checked 3 Dec 2026).
- xerj-org/xerj: 23,588 stars, Apache-2.0, Rust, latest release v1.0.0-rc.105, 23 Nov 2026 (GitHub API and release page, checked 3 Dec 2026).