Caelune MCP Server
io.github.EllisMorrow/caelune-mcp
Local-first Windows search engine for private Markdown, PDF, and Tika documents with MCP integration.
What is the Caelune MCP server?
Caelune is a local-first Windows desktop app and read-only MCP server for searching private Markdown, PDF, and Tika-backed knowledge bases. It combines exact-text retrieval, semantic vector search, and optional reranking to index and query your personal documents while keeping all data on your machine. The MCP server exposes search capabilities to AI clients through two read-only tools.
Caelune builds searchable indexes from Markdown, PDF, and other documents stored locally on Windows. It uses hybrid retrieval combining SQLite full-text search, LanceDB vector search with BAAI/bge-m3 embeddings, and optional reranking. You can search through the desktop app's Query Console with live result review and source linking, or connect an MCP-capable AI client to query your knowledge base programmatically. All indexes, models, and configuration stay local—nothing leaves your machine unless you explicitly copy results or grant an MCP client access.
How to install Caelune
Copy-paste configuration for popular MCP clients.
Tools & capabilities
Tools this server exposes to the agent.
omniclip.status— Inspect readiness and active retrieval mode of the knowledge base.omniclip.search— Retrieve source-labelled results from the indexed knowledge base.
Use cases
- Search personal Markdown notes and PDFs locally without sending data to cloud services.
- Integrate private document retrieval into AI workflows via MCP, allowing Claude or other clients to query your knowledge base.
- Build and maintain live-updating indexes of Logseq vaults, research archives, or documentation with automatic incremental updates.
- Review retrieved context with source links before sharing results with AI or copying to clipboard.
- Use hybrid retrieval combining keyword and semantic search to find relevant passages across large document collections.
Caelune MCP server FAQ
Caelune is a local-first Windows app and MCP server for searching private Markdown, PDF, and Tika-indexed documents. It combines full-text search, semantic vector search, and optional reranking to retrieve relevant context from your personal knowledge base.
Yes, Caelune is released under the MIT License and is free to download and use.
First, build a knowledge base using the Windows desktop app. Then download the MCP package (.mcpb or ZIP) and configure your MCP client to point to Caelune-MCP.exe. See the MCP Integration Wiki for client-specific setup instructions.
No. Caelune is local-first: all indexes, models, and configuration stay on your machine. Internet is only needed for initial downloads of the Runtime, models, Java, or Tika—after that, everything runs offline.
Caelune natively supports Markdown and PDFs. It also supports 1,290+ formats via Apache Tika (including Word, Excel, PowerPoint, and many others), though actual compatibility depends on the source file and parser.
Caelune is currently Windows-only. The desktop app and MCP server both require 64-bit Windows.
README (reference)
Source of truth, from the repository.
Caelune
A local-first Windows desktop app and read-only MCP server for searching private Markdown, PDF, and Tika-backed knowledge bases.
Download Windows app · 中文说明 · Website · User Wiki · MCP Setup
</div>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.
<div align="center"> <img src="docs/assets/caelune-local-search-flow.png" alt="Caelune searches private local documents, ranks source-linked results for direct review, and can optionally provide selected evidence to AI" width="900" /> <br /> <sub>Search local Markdown, PDF, and other documents, review source-linked results directly, or provide selected evidence to AI.</sub> </div>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.
<div align="center"> <a href="docs/assets/readme-query-console-en.png"> <img src="docs/assets/readme-query-console-en.png" alt="Caelune Query Console" width="100%" /> </a> <br /> <sub>Query Console · click the image to open it at full size</sub> </div> <br /> <div align="center"> <a href="docs/assets/readme-results-details-en.png"> <img src="docs/assets/readme-results-details-en.png" alt="Caelune Results and Details" width="100%" /> </a> <br /> <sub>Results and Details · click the image to open it at full size</sub> </div>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 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
- Runtime setup reference
- MCP setup reference
- Changelog
- Third-party notices
- 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. 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 THIRD_PARTY_NOTICES.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.
Related MCP servers

OmniClip RAG
Local-first Windows search for private Markdown, PDF, and Tika documents with hybrid retrieval and optional MCP access.

TempoGraph
Code graph context engine with 24 MCP tools. 170+ languages via tree-sitter.

Elnora MCP Server
AI-powered bioprotocol optimization — generate, search, and manage lab protocols via MCP
Search 22,000+ rare pre-modern texts with AI translations, summaries, and 73K+ images.

Source Library
Search 15K rare pre-modern texts in philosophy, religion, science, and literature with AI-enhanced OCR and translation.

Transcribe and understand local audio/video with CrispASR and local models only.