Install
$ agentstack add mcp-ellismorrow-caelune ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Caelune
A local-first Windows desktop app and read-only MCP server for searching private Markdown, PDF, and Tika-backed knowledge bases.
[](https://github.com/EllisMorrow/Caelune/releases/latest) [](https://github.com/EllisMorrow/Caelune/releases/tag/v0.5.0) [](https://github.com/EllisMorrow/Caelune/releases/latest) [](#privacy-boundary) [](https://github.com/EllisMorrow/Caelune/releases) [](https://registry.modelcontextprotocol.io/v0/servers?search=io.github.EllisMorrow/caelune-mcp) [](LICENSE)
Download Windows app · [中文说明](README.zh-CN.md) · Website · User Wiki · [MCP Setup](MCPSETUP.md)
What Caelune does
Caelune builds searchable indexes from knowledge you already keep on your own computer. It combines exact-text retrieval, structural signals, semantic vector search, optional reranking, and source-aware context assembly.
The desktop app manages data roots, Runtime components, models, knowledge-base builds, live watch, queries, and result review. The optional MCP server exposes the same retrieval core to MCP-capable AI clients through two read-only tools.
Search local Markdown, PDF, and other documents, review source-linked results directly, or provide selected evidence to AI.
Choose your path
| I want to… | Start here | | --- | --- | | Install the Windows app and build my first index | Getting Started | | Understand Runtime, models, CPU, CUDA, or resource messages | Runtime and Models | | Keep indexes current after editing notes | Knowledge Bases and Live Watch | | Connect an AI client through MCP | MCP Integration | | Diagnose a problem safely | Troubleshooting |
Interface preview
The Query Console keeps input, scope, retrieval settings, and live query state together. Results and Details uses a separate page for source-labelled hits, snippet review, full-context selection, and page filtering.
Query Console and Results and Details · click the image to open it at full size
Download
Open the latest release and choose the package that matches your use case:
| Package label | Use it for | | --- | --- | | WIN-EXE | Normal Windows desktop use: configure, build, watch, search, and review results | | MCP-...-win64.zip | Manual stdio setup for an MCP client | | .mcpb | MCP Registry or MCPB-aware clients |
> The MCP package does not build or modify knowledge bases. Build the index with the Windows desktop app first.
Highlights
- Local-first storage — indexes, configuration, models, logs, and Runtime payloads stay under the active local data root.
- Markdown and Logseq awareness — understands Markdown content plus common Logseq properties, block references, and embeds.
- Hybrid retrieval — combines SQLite FTS5, structure-aware scoring, LanceDB vector search,
BAAI/bge-m3, and optionalBAAI/bge-reranker-v2-m3. - PDF and Tika extensions — maintains separate extension indexes and returns unified results with explicit source labels. The Tika catalog exposes 1,290 format entries; real compatibility still depends on the source file and parser.
- Event-driven live watch — reacts to real file changes, waits for the configurable quiet period, and performs incremental updates in disposable worker processes.
- Visible query stages — preparing, lexical recall, semantic recall, fusion, reranking, finalization, and context packing remain visible in the Query Console.
- Resource-aware execution — Auto mode prefers a usable NVIDIA CUDA path and falls back safely when Windows Commit, physical memory, or GPU memory is insufficient.
- Read-only MCP access — MCP clients can inspect readiness and search, but cannot build indexes, delete data, or change configuration.
Privacy boundary
Caelune is local-first, not a promise that every possible workflow is permanently offline.
- Source files are read for indexing; normal build and source-removal operations do not delete or rewrite the original notes or documents.
- Network access is needed only for user-initiated downloads such as Runtime components, models, Java, or Tika.
- Retrieved text leaves the app only when you copy it, export it, or explicitly let an MCP client request it.
- Third-party AI clients and anything you paste into them remain subject to their own privacy policies.
Keep backups of important source material and review retrieved context before using it in high-stakes work.
Quick start
- Download the release asset whose name contains
WIN-EXE. - Extract the archive and launch
Caelune.exe. - Wait for the automatic Runtime detection to finish.
- Choose the local data root and add one or more Markdown knowledge-base directories.
- Install or repair the CPU/CUDA Runtime and local models from the Runtime page when prompted.
- Run a full build once.
- Search from the Query Console. Enable live watch if you want later edits to enter the index automatically.
Detailed instructions: Getting Started.
Practical requirements
- 64-bit Windows
- Enough disk space for the application, external Runtime, local models, and indexes
- Internet access for the initial Runtime/model downloads unless the payloads are installed manually
- CPU execution is supported; a compatible NVIDIA GPU and driver are optional
- Windows automatic paging-file management is recommended for large knowledge bases and local AI models
The Runtime and models are external sidecars so healthy components can be reused across application versions. See Runtime and Models.
Retrieval flow
flowchart LR
A["Markdown / PDF / Tika sources"] --> B["Local parsing and indexes"]
B --> C["FTS5 lexical recall"]
B --> D["LanceDB semantic recall"]
C --> E["Fusion and filters"]
D --> E
E --> F["Optional reranking"]
F --> G["Results and context pack"]
G --> H["Clipboard or read-only MCP"]
MCP in one minute
- Build at least one knowledge base with the desktop app.
- Download the MCP ZIP for manual
stdioconfiguration, or use the Registry/MCPB package. - Point a compatible client at
Caelune-MCP.exe. - Let the client call:
omniclip.statusto inspect readiness and active retrieval modeomniclip.searchto retrieve source-labelled results
Some clients do not accept local stdio servers directly and may require a local proxy. See the MCP Integration Wiki and [MCPSETUP.md](MCP_SETUP.md).
Documentation
User guides
| Topic | Guide | | --- | --- | | Installation and first build | Getting Started | | Runtime, models, CPU, and CUDA | Runtime and Models | | Knowledge bases and live watch | Knowledge Bases and Live Watch | | Query stages and resource messages | Search and Resources | | PDF and Tika sources | PDF and Tika | | MCP clients and tools | MCP Integration | | Common problems | Troubleshooting |
Project references
- [Architecture](ARCHITECTURE.md)
- [Runtime setup reference](RUNTIME_SETUP.md)
- [MCP setup reference](MCP_SETUP.md)
- [Changelog](CHANGELOG.md)
- [Third-party notices](THIRDPARTYNOTICES.md)
- Release history
Development
# Desktop GUI
.\scripts\run_gui.ps1
# CLI status and query
.\scripts\run.ps1 status
.\scripts\run.ps1 query "your question"
# Build Windows packages
.\scripts\build_exe.ps1
# MCP self-check from source
python launcher_mcp.py --mcp-selfcheck
Developer orientation and architecture links live in Development and Architecture.
License and third-party software
Caelune is released under the [MIT License](LICENSE). It relies on open-source projects including PySide6, SQLite, LanceDB, Apache Arrow, PyTorch, sentence-transformers, Transformers, BGE models, PyPDF, Apache Tika, Eclipse Temurin, watchdog, PyInstaller, and the Model Context Protocol SDK.
See [THIRDPARTYNOTICES.md](THIRDPARTYNOTICES.md) for the repository-level legal and distribution notices.
> Caelune and its retrieval results are provided without warranty. Verify important results, maintain backups, and do not use retrieved context or downstream AI output as the sole basis for medical, legal, financial, safety-critical, or other high-stakes decisions.
Source & license
This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: EllisMorrow
- Source: EllisMorrow/Caelune
- License: MIT
- Homepage: https://ellismorrow.github.io/Caelune/
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.