Sandbox
@EllisMorrow/Caelune

Windows knowledge search app with MCP server

Caelune builds local indexes from Markdown, PDF, and Tika-backed files, then serves search results through a Windows app and a read-only MCP server. It combines text search, vector search, optional reranking, and source-linked result review.

45 stars3 forksPythonUpdated 1mo ago
Who it's for

Builders who keep private notes and documents on their own computer and want an agent to search them through MCP.

What it delivers

You can search private local documents from your desktop app or an MCP client without giving the agent write access.

What it does

Local-first indexing

Keeps indexes, config, models, logs, and runtime payloads under the local data root.

Hybrid retrieval

Combines SQLite FTS5, semantic vector search, and optional reranking for one query flow.

Markdown and Logseq awareness

Understands Markdown content plus Logseq properties, block references, and embeds.

PDF and Tika support

Builds separate extension indexes and merges them into unified results with source labels.

Live watch updates

Watches for file changes and updates indexes incrementally after a quiet period.

Read-only MCP tools

Exposes `omniclip.status` and `omniclip.search` for MCP clients without allowing index edits.

README

Caelune — Private knowledge. Local retrieval.

Caelune

A local-first Windows desktop app and read-only MCP server for searching private Markdown, PDF, and Tika-backed knowledge bases.

Latest Release Windows Local-first MCP Registry Downloads License

Download Windows app · 中文说明 · Website · User Wiki · MCP Setup

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.

Caelune searches private local documents, ranks source-linked results for direct review, and can optionally provide selected evidence to AI
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 indexGetting Started
Understand Runtime, models, CPU, CUDA, or resource messagesRuntime and Models
Keep indexes current after editing notesKnowledge Bases and Live Watch
Connect an AI client through MCPMCP Integration
Diagnose a problem safelyTroubleshooting

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.

Caelune Query Console
Query Console · click the image to open it at full size

Caelune Results and Details
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 labelUse it for
WIN-EXENormal Windows desktop use: configure, build, watch, search, and review results
MCP-...-win64.zipManual stdio setup for an MCP client
.mcpbMCP 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 optional BAAI/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

  1. Download the release asset whose name contains WIN-EXE.
  2. Extract the archive and launch Caelune.exe.
  3. Wait for the automatic Runtime detection to finish.
  4. Choose the local data root and add one or more Markdown knowledge-base directories.
  5. Install or repair the CPU/CUDA Runtime and local models from the Runtime page when prompted.
  6. Run a full build once.
  7. 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

  1. Build at least one knowledge base with the desktop app.
  2. Download the MCP ZIP for manual stdio configuration, or use the Registry/MCPB package.
  3. Point a compatible client at Caelune-MCP.exe.
  4. Let the client call:
    • omniclip.status to inspect readiness and active retrieval mode
    • omniclip.search to 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

TopicGuide
Installation and first buildGetting Started
Runtime, models, CPU, and CUDARuntime and Models
Knowledge bases and live watchKnowledge Bases and Live Watch
Query stages and resource messagesSearch and Resources
PDF and Tika sourcesPDF and Tika
MCP clients and toolsMCP Integration
Common problemsTroubleshooting

Project references

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.

Files in the repo

Repository payload34 top-level entries
  • docs
  • examples
  • icon
  • omniclip_rag
  • plans
  • pyinstaller_hooks
  • releases
  • resources
  • runtime_support
  • scripts
  • tests
  • 笔记样本
  • .gitattributes
  • .gitignore
  • ARCHITECTURE.md
  • build.py
  • Caelune-MCP.spec
  • Caelune.spec
  • CHANGELOG.md
  • launcher_mcp.py
  • launcher_support.py
  • launcher.py
  • LICENSE
  • MCP_SETUP.md
  • pyi_rth_omniclip.py
  • pyproject.toml
  • pytest.ini
  • README.md
  • README.zh-CN.md
  • requirements.txt
  • RUNTIME_SETUP.md
  • server.json
  • STORAGE_PRECHECK.md
  • THIRD_PARTY_NOTICES.md

Discussion (0)

Ask about usage, or say what you built with it

Sign in to join the discussion.

No comments yet. Be the first to say what this is good for.

More connectors

Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface

86k

High-performance code intelligence MCP server. Indexes codebases into a persistent knowledge graph — average repo in milliseconds. 158 languages, sub-ms queries, 99% fewer tokens. Single static binary, zero dependencies.

43k

Universal provider proxy for OpenAI Codex & Claude Code — use any LLM (Claude, Gemini, Grok, DeepSeek, Ollama…) with Codex CLI, App, SDK, and Claude Code

14k
okf-memory/
okf-agent-memory

Git-native persistent memory for AI coding agents. Implements Google OKF v0.2 with sub-300µs in-memory BM25 search, embedded MCP server, and progressive disclosure. Slashes token bloat by 80% with zero external databases or dependencies. Built in pure Go.

547
2akouwu/
reverify

Stop your AI from making things up — it proposes, deterministic tools decide, every claim checked against ground truth with evidence. Grounded facts and context survive resets. Reverse engineering is the proving ground. MCP server + CLI.

1.1k

x64dbg-MCP Server is a native MCP (Model Context Protocol) plugin for x64dbg that exposes the debugger's full functionality over HTTP. Connect any MCP-compatible AI assistant and control x64dbg programmatically: set breakpoints, step through code, read memory, dump registers, and more. Built with Zig — zero dependencies, single-binary output, cros

1.9k