Skip to main content

llmwiki

Local, cited search for an Obsidian vault, available as a command-line tool, an MCP server, and a plugin for Nous Hermes Agent.

Your Markdown remains the source of truth. llmwiki reads it, builds a private SQLite search index outside the vault, and combines keyword and semantic search to find the most useful sections. Results include vault-relative citations so you can open and verify the source.

Why use it?

  • Local-first: indexing and search run on your machine after the embedding model is downloaded once.
  • Your vault stays untouched: llmwiki never writes, moves, or deletes vault files.
  • Better than one search method: BM25 keyword search and local vector search are combined by default.
  • Useful results, not loose snippets: headings, page roles, project scope, wikilinks, and authority are preserved.
  • Works with multiple agents: use the CLI directly, connect any MCP client, or add the native Hermes tools.
  • No telemetry: queries, retrieved text, and conversation history are not sent to the project or persisted by llmwiki.

Status

Version 0.1.0 is the first public alpha release. The indexing, search, watcher, CLI, MCP, and Hermes-plugin paths are implemented and verified. Automatic context injection and the optional reranker remain opt-in while their release gates continue to be evaluated.

Install

Requirements: Python 3.11 or newer and SQLite with FTS5.

CLI and MCP

git clone https://github.com/TechZeph/llmwiki-rag.git
cd llmwiki-rag
./install.sh

The installer creates an isolated environment under ~/.local/share/llmwiki/venv, adds a launcher at ~/.local/bin/llmwiki, and starts interactive setup.

Hermes plugin

git clone https://github.com/TechZeph/llmwiki-rag.git
cd llmwiki-rag
./install.sh --hermes
hermes gateway restart

The plugin uses the vault selected during setup and keeps its index current in the background by default. Set watch: false in the plugin settings to opt out. It also bundles the llmwiki:using-llmwiki Hermes skill, which gives agents retrieval guidance for profile selection, citations, related-page exploration, freshness checks, and safe reindex behavior. Load it with skill_view("llmwiki:using-llmwiki") when that guidance is useful.

Windows CLI and MCP installation, manual setup, upgrades, and uninstall steps are in the installation guide.

First use

If setup did not already run:

llmwiki init

init finds an Obsidian vault or creates a starter vault, saves the selection, and builds the first index. The initial run downloads a local embedding model and can take a while for a large vault; later updates index only changed pages.

Check the installation and search:

llmwiki doctor
llmwiki search --query "what decisions did we make about backups?"
llmwiki search --query "what changed this week?" --profile history --context

The default answer profile searches curated wiki pages. Other profiles target one project (project:<id>), raw evidence (evidence), chronological logs (history), or the whole vault for diagnostics (all).

Connect an MCP client

Run the server over stdio:

llmwiki mcp --watch

It exposes four tools:

  • llmwiki_search — cited hybrid retrieval.
  • llmwiki_status — health, freshness, and index integrity.
  • llmwiki_reindex — controlled incremental or confirmed full indexing.
  • llmwiki_related — pages connected through links, mentions, or communities.

Client configuration examples are in the installation guide.

Documentation

Using llmwiki

Contributing or building on llmwiki

Development material is kept separate from the user guide:

See the documentation index for the complete map. Development documentation stays on main with the code so behavior and instructions cannot drift; contributors work in normal fork or feature branches.

Privacy summary

The selected vault is read-only. The generated SQLite projection contains vault text and embeddings, so llmwiki stores it outside the vault with restrictive permissions on POSIX systems. It does not persist query history or conversation history and has no telemetry client. See Security and privacy before enabling automatic context injection.

License

MIT. See LICENSE.

Metadata

Release files for llmwiki-rag 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for llmwiki-rag 0.1.0
File Size Uploaded Provenance Actions
llmwiki_rag-0.1.0.tar.gz 122.8 kB With provenance Details for llmwiki_rag-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for llmwiki-rag 0.1.0
File Interpreter ABI Platform Actions
llmwiki_rag-0.1.0-py3-none-any.whl Python 3 none any Details for llmwiki_rag-0.1.0-py3-none-any.whl

Total release size: 262.9 kB

Release files / llmwiki_rag-0.1.0.tar.gz

Download URL llmwiki_rag-0.1.0.tar.gz
Size 122.8 kB
Tags Source
SHA-256 checksum
How to use checksums
9da226387a195f74ca181a1a92a7eb53afac202a92c65f9838667544fc873133
BLAKE2b-256 checksum
How to use checksums
c61d23ed756faedc8e1004ea11454a2cf217f0d52c084c880fc75ba4c04a3e7b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 3, 2026.

Transparency log

Release files / llmwiki_rag-0.1.0-py3-none-any.whl

Download URL llmwiki_rag-0.1.0-py3-none-any.whl
Size 140.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
89f401f4dea95eb2dc5119783d3dac2f977386cbc2ba3b573ff0d157a10e8984
BLAKE2b-256 checksum
How to use checksums
224f168a1081c0382f8730ca3c15c8bb1c300f0d7e041f6015fb2d739c73965a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 3, 2026.

Transparency log

Security for llmwiki-rag 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for llmwiki_rag-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 3, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page