AI products and toolsReviewed · benmaster82

Kwipu: graph RAG over your notes and documents

Kwipu is an open-source Python tool that lets you ask questions of your own notes and documents from a terminal, a 3D browser graph or an MCP client. Its main catch is that the default language model is a cloud model, which can send your text to an outside provider. It indexes .md, .txt, .pdf and .docx files, as well as Obsidian-style vaults, into a property graph. It combines relations taken from wikilinks and frontmatter with relations extracted by a language model, then answers with citations. It uses Ollama and LlamaIndex, and it can run fully locally if you choose local models.

Researched 14 Nov 2026

In short.

Kwipu is an open-source Python tool for people who want to ask questions of their own notes, documents or Obsidian vault and get answers with citations. Its main catch is that the default language model, gpt-oss:20b-cloud, can send your document chunks and questions to a cloud provider unless you switch to a local Ollama model before indexing. Technically, it builds a stored property graph with vectors from .md, .txt, .pdf and .docx files. Structural relations come from wikilinks and YAML frontmatter, and semantic relations come from an LLM. Retrieval combines vector similarity, BM25 and temporal metadata, with optional LLM synonym retrieval. There are three ways to use it: an interactive terminal with a folder watcher, a FastAPI bridge with a 3D web client, and an MCP stdio server. This report is based only on the README and the MIT LICENSE at one captured revision. Nothing was installed or run, so answer quality, speed and resource use are not assessed.

Researched and written by an AI model and checked by a second AI model. How it works

The selected scope is one file: README.md at [https://github.com/benmaster82/Kwipu/blob/main/README.md], captured at revision 9fee13af821b7a8163690b8dc993e39962bf2f7c. The MIT LICENSE at the same revision was captured as a notice beside it and is cited only for rights. All other repository files were excluded and not read, including the source code, bridge README, CONTRIBUTING guide, tests, frontend, example documents, screenshots and translated READMEs. Nothing was installed, executed or tested. Behaviour is reported only as the README describes it. Cost, hardware needs, corpus size limits, answer quality and performance are marked unknown or not assessed.

The overview

What this resource is

Kwipu is a GitHub project by benmaster82. The selected file is its README [https://github.com/benmaster82/Kwipu/blob/main/README.md], captured at revision 9fee13af821b7a8163690b8dc993e39962bf2f7c. The README describes Kwipu as a tool that turns a folder of documents into a property-graph RAG index. You can explore and query that index from an interactive terminal, a 3D web interface or an MCP client. It works with ordinary knowledge folders and Obsidian-style vaults.

The README badges name its main building blocks: Python 3.12 or later, Ollama for language models, LlamaIndex as the framework, MCP compatibility and an MIT licence. The README states no release version number.

Overall assessment

On the README alone, Kwipu looks like a real, documented tool rather than a demo. The README describes a defined storage model, configuration tables, API endpoints, troubleshooting guidance, and a developer setup with hashed dependency locks and a unittest suite. It is most interesting if you keep linked notes, such as an Obsidian vault, and want answers drawn from both the link structure and the text.

Two points need care. First, the default model is a cloud model, so privacy depends on a choice you make before indexing. Second, the README links screenshots described as showing answers and citations. Their contents and accuracy are unverified. The captured text provides no textual answer to the sample question or quantitative accuracy evaluation. Treat quality as unknown until you try it on your own documents.

Who it is for

The README addresses several groups. Terminal users can ask their notes questions directly. People who want to explore the graph in a browser can use the web UI. People with their own notes or an Obsidian vault can point Kwipu at that folder. Users of MCP-capable AI clients can connect it as a server. Developers and contributors have a separate developer setup.

It assumes you are comfortable with a command line, a Python virtual environment and Ollama. The guided setup targets Windows PowerShell, and Linux and macOS equivalents are given. It is probably not a good fit for someone who wants a one-click installer, because the web interface alone runs four processes (Ollama, the indexer, the bridge and Vite).

What it can do

According to the README, Kwipu builds a property graph from .md, .txt, .pdf and .docx documents. It extracts semantic relations with an LLM and structural relations from wikilinks and YAML frontmatter. It combines vector similarity, BM25, temporal metadata and optional synonym retrieval. Answers are grounded in source chunks and come with citations. It shows entities, documents and relations in an interactive 3D graph. It watches the source folder and updates its stored data. It supports relation and date patterns in English, Italian, French, German, Spanish and Portuguese.

Entity handling is specific. [[Bob]], [[Bob#Role]], [[People/Bob]], [[Bob|B.]] and an aliases entry of a renamed note all resolve to one node. Notes with the same file name in different folders get path-qualified names. Each structural relation records its origin, file, frontmatter field, line and a hash of the note content. In the web UI, clicking a node opens a card with frontmatter attributes, links, backlinks, LLM-extracted relations and source chunks.

The MCP server exposes two tools. query_graph(question) returns text. query_graph_detailed(question) returns an answer plus citations, with duplicates removed by node ID. The bridge exposes GET /health, GET /graph/snapshot, POST /query and GET /expand.

Using it

What you need

The terminal interface needs Python 3.12 or later, Ollama (running locally or at a configured endpoint), an embedding model (nomic-embed-text by default) and one LLM. The README names gpt-oss:20b-cloud as the default and qwen2.5:7b as a local example. You need Git unless you download a ZIP. Node.js with npm is needed only for the web interface.

The README does not state minimum RAM, GPU or disk requirements for running local models or indexing large folders, so these are unknown. The maximum corpus size is also unknown. The README's two size limits apply to questions and to bridge source expansion, not to the corpus as a whole. The 4000-character default (KWIPU_QUERY_MAX_LENGTH) is the maximum length of a normalized question. The 10485760-byte default (KWIPU_MAX_SOURCE_BYTES) is the maximum size of a source file and its extracted text when the bridge expands a source.

How it works

The README describes a four-step pipeline. First, documents go through structural preprocessing (wikilinks and frontmatter) plus LLM path extraction. Second, the result is stored as a property graph with vectors, in shared storage with a revision manifest. Third, retrieval combines synonym (optional), vector, BM25 and temporal methods. Finally, an LLM writes the answer using source context and citations.

Synonym retrieval is disabled in --fast mode, in MCP and in bridge queries. It is active only in the terminal when you omit --fast.

The README names the core CLI as the designated writer of storage. The bridge is read-only and returns HTTP 503 until the CLI has published usable storage. The MCP server can build storage when it is absent, but it does not start a watcher. All components share an inter-process lock and a revision manifest. Queries compare storage_revision and reload when a new generation has been committed. Writes go to a sibling staging generation, keep the previous generation temporarily as a backup, and are then published atomically.

The README says Kwipu reads source documents but does not rewrite them. It also says the source directory and generated storage must be separate, and that nested or overlapping layouts are rejected to protect the sources.

Setup

The README's route is as follows. Install Git, Python 3.12 or later, Ollama and, optionally, Node.js. Clone the repository. Create a virtual environment and install bridge/requirements.txt, or requirements.txt for terminal-only use. If you want the browser UI, run npm ci in the frontend folder. Pull nomic-embed-text and exactly one LLM with ollama pull. Set the same KWIPU_* environment variables in each terminal, then run python geode_graph.py --fast. On first run, wait for the message Graph built and saved successfully.

For the browser UI, start the bridge with python -m bridge. Check that /health reports status, property_graph.status and ollama.status as ok. Then run npm --prefix frontend run dev and open [http://localhost:5173]. The README includes a sample question for the bundled demo documents under knowledge_base/examples.

Settings are read when each process starts, and PowerShell environment variables apply only to the current window. The README therefore says to repeat the same values for the indexer, bridge and MCP server. CLI flags such as --llm-model do not reach the bridge or MCP. Changing the embedding model needs a new storage index. For notes outside the repository, set an absolute KWIPU_KNOWLEDGE_DIR and a separate KWIPU_STORAGE_DIR under KWIPU_ROOT_DIR. The MCP configuration example sets only the knowledge directory and models, so if MCP shares storage with the CLI, match the other variables too. None of these steps was run for this report.

Worked example from the README

The README walks through one note, knowledge_base/examples/Alice.md. Its frontmatter gives tags person and team, role Frontend Lead and project Project Alpha. Its body says Alice is Frontend Lead on [[Project Alpha]] and collaborates with [[Bob]] on API integration.

From this note, Kwipu creates structural relations. Has role comes from the frontmatter role field, Participates in from the project field and Has tag from tags. Collaborates with comes from the words before the [[Bob]] wikilink, and Is related to is the fallback for a plain wikilink. Kwipu then asks the LLM for semantic relations in the text. The README shows an illustrative Specializes in relation to React and notes that the result depends on the model. LLM-extracted relations keep a link to their source chunk so answers can cite it.

In the terminal you would then type a question such as Who works on Project Alpha, and what are their roles? The README links screenshots described as showing answers and citations. Their contents and accuracy are unverified. The captured text provides no textual answer to the sample question or quantitative accuracy evaluation.

Assessment & evidence

Limitations and risks

Privacy is the biggest risk. The README states plainly that the intentional default LLM, gpt-oss:20b-cloud, can send document chunks, retrieved context and questions to its provider. A localhost Ollama endpoint does not by itself guarantee local execution. A remote Ollama endpoint sends data to that host. Kwipu requires HTTPS for non-loopback endpoints unless insecure HTTP is explicitly enabled. The README advises against indexing sensitive documents until you have chosen the execution mode.

The README also lists operational limits. Only one CLI watcher should run for each storage directory. An editor's atomic save can look like a delete plus a create and trigger a full rebuild. Changing the embedding model needs a new index. A later full rebuild with a different LLM can produce different relations. The bridge returns 503 until the CLI has built storage. A normal web session needs four processes. Synonym retrieval is off in MCP and bridge queries, so those paths behave like --fast.

Not assessed: answer accuracy, citation correctness, retrieval quality compared with other approaches, behaviour on large corpora, PDF or DOCX extraction quality, bridge security beyond what the README describes, and whether the unit tests pass. The README does not describe support for formats other than .md, .txt, .pdf and .docx.

Why it may or may not suit you

It suits you if your knowledge is already in linked notes, because the structural graph comes from links and frontmatter you wrote, not only from model guesses. Its answers come with citations, and one project gives you a terminal, a browser view and MCP access. The README is open about the cloud-versus-local trade-off and gives concrete steps for each path.

It may not suit you if you need a simple installed app, a guarantee that data stays on your machine without careful configuration, or documented quality measurements. The evidence is a README, not a test or evaluation. A smaller local model such as the 7B example may change extraction and answer quality, and the README does not say how.

Alternatives

The README names no competing tools and makes no comparisons. It identifies LlamaIndex as Kwipu's framework, but it does not show that standalone LlamaIndex, a plain vector-only RAG pipeline over your files, or the search built into your notes app could replace Kwipu. These are mentioned here only as unverified possibilities. Their suitability and comparative quality remain unknown from these files.

According to the README, Kwipu's distinguishing features are a graph built from wikilinks and frontmatter, a retriever that combines several methods, a bundled 3D view and MCP access. Whether these give better answers than simpler options was not assessed.

Evidence base

Two captured files support this report, both at revision 9fee13af821b7a8163690b8dc993e39962bf2f7c. The first is README.md, the selected file (27298 bytes), at [https://raw.githubusercontent.com/benmaster82/Kwipu/9fee13af821b7a8163690b8dc993e39962bf2f7c/README.md]. The second is the MIT LICENSE (1068 bytes), at [https://raw.githubusercontent.com/benmaster82/Kwipu/9fee13af821b7a8163690b8dc993e39962bf2f7c/LICENSE].

Feature and behaviour descriptions in this report come from README.md, and licence claims come from LICENSE. Some statements are inferences drawn from those descriptions, and their outcomes are unverified: who the tool suits, whether it suits you, and the rebuild-cost implications in the Costs section. I did not see the source code, bridge README, CONTRIBUTING guide, tests, screenshots or release notes. Nothing was installed, executed or tested. Statements about behaviour, such as full rebuilds, 503 responses and relation extraction, describe what the README says the software does, not observed results.

Access & freshness

Costs

The software is under the MIT licence, and the README mentions no price for Kwipu itself. Some costs outside Kwipu are unknown. The default LLM, gpt-oss:20b-cloud, runs through Ollama's cloud route, and the README says it may ask you to complete Ollama account or sign-in steps. The README does not state pricing, quotas or usage limits for that route, so they are unknown.

The local option, qwen2.5:7b with nomic-embed-text, avoids an outside model provider but runs on your own hardware, and the README does not state what hardware is needed. Indexing time and model usage are also unknown. The README says any modified or deleted file triggers one full rebuild for the batch, and it lists LLM extraction as part of building the graph. My reading is that rebuilds on large folders could take noticeable time or cloud usage, but the README gives no figures.

Licence and rights

The captured LICENSE file is the MIT License, copyright 2026 benmaster82. It permits using, copying, modifying, merging, publishing, distributing, sublicensing and selling copies of the software, free of charge. The copyright and permission notice must be kept in all copies or substantial portions. The software is provided as is, without warranty. The README's badge and licence section also say MIT.

This licence covers Kwipu's own code and files. It does not cover the models you choose (gpt-oss, qwen2.5, nomic-embed-text), the terms of any cloud provider, or the licences of Python and npm dependencies, none of which were reviewed. Your own documents keep whatever rights and confidentiality they already have.

Freshness

The content was captured on 2026-11-14 at revision 9fee13af821b7a8163690b8dc993e39962bf2f7c. The README gives no version number, changelog or release date. From the evidence, it is unknown whether the project has a current release, when it was last changed and whether it is maintained.

The selected address points to the main branch, so the README may change after this capture. Model names such as gpt-oss:20b-cloud, and the way Ollama handles cloud models, may also change outside this project. Check the repository before relying on specific commands.

Suggested next steps

Before indexing anything private, choose between the cloud default and a local model. If you need local-only execution, set KWIPU_LLM_MODEL to a pulled local model such as qwen2.5:7b and keep KWIPU_OLLAMA_BASE_URL on localhost. Do this in every terminal and in the MCP configuration.

Start with the bundled demo in knowledge_base/examples and the README's sample question to see what the interface and citations look like. Then point KWIPU_KNOWLEDGE_DIR at a copy or a small subset of your vault, and keep generated storage in a separate folder. Run only one watcher per storage directory. For the web UI, confirm that the /health statuses are ok before opening the frontend.

If the project matters to your work, read the code and the bridge README yourself, because this report did not review them. Test answer quality on questions whose answers you already know.

Evidence for this report

LICENSEnotice · checked 2026-11-14
README.mdselected · checked 2026-11-14