PluginBench
MCP Server
Active
MIT

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.

transport: stdio
Config generated by PluginBench — verify against the source before use.
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "caelune-mcp": {
      "command": "https://github.com/EllisMorrow/Caelune/releases/download/v0.5.6/caelune-mcp-win-x64-v0.5.6.mcpb",
      "args": []
    }
  }
}

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

What is Caelune?

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.

Is Caelune free?

Yes, Caelune is released under the MIT License and is free to download and use.

How do I install Caelune in Cursor or Claude?

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.

Does Caelune require internet or cloud services?

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.

What file formats does Caelune support?

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.

Can I use Caelune on Mac or Linux?

Caelune is currently Windows-only. The desktop app and MCP server both require 64-bit Windows.

README (reference)

Source of truth, from the repository.

<div align="center"> <img src="docs/assets/social-preview.png" alt="Caelune — Private knowledge. Local retrieval." width="900" />

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

</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 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.

<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 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.

Related MCP servers

OMOmniClip RAG logo

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

46
Python
MIT
View repository →
TETempoGraph logo

TempoGraph

Maintained

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

1
Python
AGPL-3.0
View repository →

AI-powered bioprotocol optimization — generate, search, and manage lab protocols via MCP

3
TypeScript
Apache-2.0
View repository →

Search 22,000+ rare pre-modern texts with AI translations, summaries, and 73K+ images.

11
TypeScript
AGPL-3.0
View repository →

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

11
TypeScript
AGPL-3.0
View repository →

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

0
Python
MIT
View repository →