STACKS
As of +30 days +90 days +1 year
local-personal-search
46 within valid-until
0 past it, not rechecked

How to build a local “Google/Exa” search for a Mac (files, Claude/Codex sessions, browser, mail)

Which ready-made tools for local personal search are worth taking or learning from (November 2026), which embedding model for Polish + English, sqlite-vec or LanceDB, how to save the text of pages one reads, and what embeddings in the cloud cost.

There is no ready-made tool that covers all of the author's sources at once (Claude and Codex sessions, the Library, code, PDFs, mail, browsers). We build our own, but on proven patterns. The best pattern of architecture is Tobi Lütke's qmd: BM25, vectors and LLM re-ranking computed locally, and MCP over HTTP as one long-lived process c1 c3. The project is large and active c4. Its default embedding model copes poorly with languages other than English c2.

For Claude and Codex sessions the best documented is claude-chat-search. It is the only one that measures quality on its author's queries: a change of model raised MRR from 0.52 to 0.65 c8, and bigger models did no better c9. From Codex it takes the conversation alone c10, and a query through the daemon takes about 0.2 s c11. The project is young and has few users, so we take its data and rules, not its code. Alternatives to learn from:

  • claude-history (Rust, also indexes tool output, supports Codex) c12 c13;
  • memex c14;
  • obliscence: the pattern of indexing through the SessionEnd and PreCompact hooks c16. Its Porter stemmer is English and unfit for Polish c15.

Rejected:

Khoj:

  • the cloud was shut down, and the team works on other products c17.
  • a source-available licence and a different aim, that is recording the screen instead of an index of content c18.
  • technically strong and has an MCP c5 c7, but the model weights are under a non-commercial licence, and work for the author's company is commercial use c6.
  • mature, but full-text only c23.

Spotlight in macOS 27 already searches by meaning c20, but it will not replace an index of one's own. Apple Intelligence does not support Polish c19. SpotlightSearchTool searches only the index of its own app c21 and by default sends queries to Private Cloud Compute c22.

Embeddings for Polish + English. On Polish tasks the OPI models win. PolDense sets the best ratio of quality to size c24, and EuroDense-435M is the best among the multilingual models below 1B parameters c25 c27. Both are under the Gemma licence c28. Qwen3-Embedding-4B has PL 59.19 and EN 63.57 c26 and allows the vector to be shortened c29. In PL-MTEB, which covers all types of task, Qwen3-8B leads c30. There are no reliable throughput measurements on Apple Silicon: the only numbers come from small repositories c31. The decision: measure 3–4 candidates on about 100 queries of our own from the transcripts before choosing a model. claude-chat-search ran the same test c8 c9.

The vector store:

sqlite-vec:

  • stable only in flat mode. ANN is in an alpha version c32. A flat search of 1M 1024-d vectors takes 590 ms c33.
  • has native FTS, a hybrid through RRF and the compact IVF_RQ index c34 c35 c37. It lacks Polish stemming c36.
  • out, because the index has to fit in RAM c38.

At the author's scale one SQLite file with FTS5 and sqlite-vec in flat mode is enough. Our measurement of 19 November gives about 20–30 thousand chunks per month of sessions, not hundreds of thousands. The first version of this card counted the text together with tool output. LanceDB pays off only above about 1M chunks.

Measurements and a code review of 19 November (our own, with no outside source):

Deletion and archive.

  • Claude Code deletes transcripts after 30 days. That is why since 19 November they go to an archive […] (zstd, 4.6×). Codex deletes nothing: it keeps sessions from August 2025 on and compresses the old ones itself.
  • About half of the Claude sessions have entrypoint: sdk-cli and contain a single prompt written by a program. In Codex their counterpart is source=exec. In the index they have to be marked as “author: program”.
  • Patterns alone let through 9 of 20 key formats, among them Stripe, Bearer and passwords in URLs. The literal values of known keys have to be masked before the patterns.
  • The code is safe: a unix socket with mode 0600 and no writing under ~/.claude. It does not suit our own tool, because it cuts out tool output, does not read zstd, does not mask secrets, and its re-ranker handles English only. It serves as a point of reference.
  • granite-311m: 25 chunks/s. EuroDense-435M: 10 chunks/s; it works only with transformers 4.56 and with the xformers switches off.

The text of pages one reads. In Chrome only MV3 extensions work now c39. The simplest path is SingleFile in auto-save mode c40, which sends the page to a REST Form API on a small service of one's own on localhost c41. Karakeep can do the same, but it is a heavier server stack c44. Promnesia runs locally c42, but it stores visits and context, not the full text. Omnivore is dead c43.

Embeddings in the cloud are cheap: gemini-embedding-2 through OpenRouter costs 0.20 USD per 1M tokens, and the vector dimension can be set from 128 to 3072 c45 c46. What decides the choice is not the price but privacy, working offline and one model for the whole index.

Claims

In our words

In the source's words

c1checked on 19 Nov 2026valid until 19 Dec 2026

qmd combines BM25, vectors and LLM re-ranking, all locally on GGUF models.

QMD combines BM25 full-text search, vector semantic search, and LLM re-ranking—all running locally via node-llama-cpp with GGUF models.

github.com · T2

c2checked on 19 Nov 2026valid until 19 Dec 2026

qmd's default embedding model has limited coverage of languages other than English; for multilingual corpora the README says to swap it.

This is useful for multilingual corpora (e.g. Chinese, Japanese, Korean) where `embeddinggemma-300M` has limited coverage.

github.com · T2

c3checked on 19 Nov 2026valid until 19 Dec 2026

qmd has an MCP server over HTTP as a long-lived process, so as not to load the models for every client.

For a shared, long-lived server that avoids repeated model loading, use the HTTP transport

github.com · T2

c4checked on 19 Nov 2026valid until 19 Dec 2026

qmd: 31,245 stars, last push on 18 November 2026 (GitHub API).

"stargazers_count": 31245, "watchers_count": 31245, "language": "TypeScript"

api.github.com · T1

c5checked on 19 Nov 2026valid until 19 Dec 2026

Omni (Han Xiao) uses jina-embeddings-v5-omni through MLX-Swift on the GPU.

The embedding model is `jina-embeddings-v5-omni`, ported to MLX-Swift and running in-process on the GPU.

github.com · T2

c6checked on 19 Nov 2026valid until 19 Dec 2026

The model weights in Omni are under the non-commercial CC-BY-NC-4.0 licence.

Model weights are under the upstream Jina license (CC-BY-NC-4.0).

github.com · T2

c7checked on 19 Nov 2026valid until 19 Dec 2026

Omni exposes a local HTTP API with an MCP endpoint.

Settings > Serving exposes an HTTP API on `127.0.0.1:51234` with an MCP endpoint at `/mcp`.

github.com · T2

c8checked on 19 Nov 2026valid until 19 Dec 2026

claude-chat-search measured the change of model to granite-311m-multilingual on 53 queries: MRR 0.52→0.65, recall@10 0.83→0.98.

session-level MRR of the full hybrid search went from 0.52 to 0.65 and recall@10 from 0.83 to 0.98

github.com · T2

c9checked on 19 Nov 2026valid until 19 Dec 2026

In the same test Qwen3-Embedding-0.6B, embeddinggemma-300m and multilingual-e5-large did no better.

Qwen3-Embedding-0.6B, embeddinggemma-300m and multilingual-e5-large ranked no better

github.com · T2

c10checked on 19 Nov 2026valid until 19 Dec 2026

From Codex sessions claude-chat-search indexes only the conversation, without tool output and injected context.

Codex indexing is deliberately conversation-only

github.com · T2

c11checked on 19 Nov 2026valid until 19 Dec 2026

On a 1.4 GB index (5.7 thousand sessions, 114 thousand chunks) a search through the daemon takes a median of 0.2 s.

Measured on a 1.4 GB index (5.7k sessions, 114k chunks, granite-311m): median 0.2 s and p90 0.37 s per search through the daemon

github.com · T2

c12checked on 19 Nov 2026valid until 19 Dec 2026

claude-history (raine) also indexes tool output in its search.

across all conversations with field-aware relevance scoring, prefix matching, word boundary awareness, and tool output indexing

github.com · T2

c13checked on 19 Nov 2026valid until 19 Dec 2026

claude-history also supports Codex.

Despite the name, `claude-history` also supports Codex

github.com · T2

c14checked on 19 Nov 2026valid until 19 Dec 2026

memex (yaugenst) searches the transcripts of Claude Code, Codex and OpenCode, for humans and agents.

Fast transcript search for humans & agents. Supports Claude Code, Codex CLI & OpenCode

github.com · T2

c15checked on 19 Nov 2026valid until 19 Dec 2026

obliscence uses FTS5 with the Porter stemmer (English) and sqlite-vec with arctic-embed-s.

FTS5 with Porter stemming for keyword search, sqlite-vec with snowflake-arctic-embed-s (384-dim) for semantic search.

github.com · T2

c16checked on 19 Nov 2026valid until 19 Dec 2026

obliscence indexes a session through the SessionEnd and PreCompact hooks.

`SessionEnd` — indexes the conversation when a session ends cleanly

github.com · T2

c17checked on 19 Nov 2026valid until 19 Dec 2026

Khoj shut down its cloud and the team works on other products.

We're focusing our efforts on

app.khoj.dev · T2

c18checked on 19 Nov 2026valid until 19 Dec 2026

screenpipe moved from MIT to a source-available licence with paid commercial use.

The screenpipe source moves from the MIT license to the Screenpipe Commercial License, a source-available license.

screenpipe.com · T2

c19checked on 19 Nov 2026valid until 19 Dec 2026

Apple Intelligence (27.x) does not support Polish.

Apple Intelligence is available with support for these languages: English, Danish, Dutch, French, German, Italian, Norwegian, Portuguese, Spanish, Swedish, Turkish, Vietnamese, Chinese (simplified), Chinese (traditional), Japanese, and Korean.

support.apple.com · T1

c20checked on 19 Nov 2026valid until 19 Dec 2026

Spotlight in macOS 27 is semantic.

The Mac’s system-wide search is now semantic

macworld.com · T3

c21checked on 19 Nov 2026valid until 19 Dec 2026

SpotlightSearchTool searches only the Spotlight index or the files of its own app.

it uses the search tool to run queries against your app’s Spotlight index or indexed files.

developer.apple.com · T1

c22checked on 19 Nov 2026valid until 19 Dec 2026

By default SpotlightSearchTool uses Private Cloud Compute models.

performs queries against your app’s Spotlight index using all available search techniques and *Private Cloud Compute* (PCC) models designed for Apple Intelligence

developer.apple.com · T1

c23checked on 19 Nov 2026valid until 19 Dec 2026

Recoll is a full-text search engine on Xapian, GPL, with a version for macOS.

Versions are available for [Linux](https://www.recoll.org/pages/download.html), [MS Windows](https://www.recoll.org/pages/recoll-windows.html) and [MacOS](https://www.recoll.org/pages/recoll-macos.html).

recoll.org · T2

c24checked on 19 Nov 2026valid until 19 Dec 2026

The PolDense family sets the quality/size frontier; PolDense-1B beats models of up to 9B parameters on Polish tasks.

poldense-1b outperforms the evaluated retrievers with up to 9b parameters, while the poldense family forms the pareto frontier across model sizes

arxiv.org · T1

c25checked on 19 Nov 2026valid until 19 Dec 2026

EuroDense has the best aggregate result among the multilingual models in the test.

EuroDense achieves the best aggregate performance among the evaluated multilingual

arxiv.org · T1

c26checked on 19 Nov 2026valid until 19 Dec 2026

PIRB: Qwen3-Embedding-4B has PL 59.19 and EN 63.57.

| Qwen3-Embedding-4B | 59.19 | 68.16 | 64.01 | 66.98 | 72.05 | 67.93 | 58.68 | 62.88 | 63.57

arxiv.org · T1

c27checked on 19 Nov 2026valid until 19 Dec 2026

EuroDense is the best among the models below 1B parameters.

Among the evaluated models below 1B parameters, EuroDense ranks first in both task-averaged and language-averaged performance

arxiv.org · T1

c28checked on 19 Nov 2026valid until 19 Dec 2026

EuroDense is under the Gemma licence.

arxiv: 2609.12913 License: gemma

huggingface.co · T1

c29checked on 19 Nov 2026valid until 19 Dec 2026

Qwen3-Embedding-0.6B allows the vector to be shortened (MRL) from 32 to 1024 dimensions.

supports user-defined output dimensions ranging from 32 to 1024

huggingface.co · T1

c30checked on 19 Nov 2026valid until 19 Dec 2026

PL-MTEB (all types of task): Qwen3-Embedding-8B is the best overall.

The Qwen3-Embedding-8B model achieved the best overall score for the entire benchmark

arxiv.org · T1

c31checked on 19 Nov 2026valid until 19 Dec 2026

A throughput measurement (a repository with 3 stars): MLX Qwen3-Embedding-0.6B 337 texts/s, 5× faster than Ollama.

| **MLX Qwen3-Embedding-0.6B** | **1.8s** | **337** | **5x faster** |

github.com · T4

c32checked on 19 Nov 2026valid until 19 Dec 2026

sqlite-vec: ANN indexes only in an alpha version.

new ANN indexes: rescore, ivf (experimental, not enabled), and DiskANN

github.com · T1

c33checked on 19 Nov 2026valid until 19 Dec 2026

sqlite-vec, 1M 1024-d vectors: a flat search takes 590 ms per query, 3.85 GB.

| Flat index | 27.4 | 3.85 | 590ms (baseline) | 1.0 |

github.com · T2

c34checked on 19 Nov 2026valid until 19 Dec 2026

LanceDB: full-text search is native in Lance.

The current FTS implementation is Lance-native.

docs.lancedb.com · T1

c35checked on 19 Nov 2026valid until 19 Dec 2026

LanceDB: the hybrid goes through RRF by default.

Reciprocal Rank Fusion (RRF) is the default.

docs.lancedb.com · T1

c36checked on 19 Nov 2026valid until 19 Dec 2026

The list of languages with stemming in LanceDB FTS does not include Polish.

Stemming and language-specific stop-word removal support Arabic, Danish, Dutch, English, Finnish, French, German, Greek, Hungarian, Italian, Norwegian, Portuguese, Romanian, Russian, Spanish, Swedish, Tamil, and Turkish.

docs.lancedb.com · T1

c37checked on 19 Nov 2026valid until 19 Dec 2026

Lance recommends IVF_RQ: compact storage without PQ configuration.

for most vector-search workloads. It provides compact storage and multi-bit distance estimates without requiring PQ sub-vector configuration

lance.org · T1

c38checked on 19 Nov 2026valid until 19 Dec 2026

DuckDB vss: the HNSW index has to fit in RAM.

The index itself is not buffer managed and must be able to fit into RAM memory

github.com · T1

c39checked on 19 Nov 2026valid until 19 Dec 2026

Chrome 138 disabled MV2 extensions on all channels.

With Chrome 138 all users on all channels of Chrome have now Manifest V2 extensions disabled.

developer.chrome.com · T1

c40checked on 19 Nov 2026valid until 19 Dec 2026

SingleFile in auto-save mode saves every page that is loaded.

With auto-save active, pages are automatically saved every time after being loaded

github.com · T1

c41checked on 19 Nov 2026valid until 19 Dec 2026

SingleFile can send a page to a REST Form API.

upload to a REST Form API

docs.linkwarden.app · T1

c42checked on 19 Nov 2026valid until 19 Dec 2026

Promnesia runs locally.

It runs locally and you don't have to expose it to the outside.

raw.githubusercontent.com · T1

c43checked on 19 Nov 2026valid until 19 Dec 2026

The Omnivore cloud was shut down in November 2024.

The Cloud application was deprecated in November of 2024.

github.com · T1

c44checked on 19 Nov 2026valid until 19 Dec 2026

Karakeep: its own extension has experimental client-side capture built on SingleFile.

client-side crawling as an experimental feature (powered by SingleFile under the hood)

docs.karakeep.app · T1

c45checked on 19 Nov 2026valid until 19 Dec 2026

OpenRouter: gemini-embedding-2 costs 0.20 USD per 1M tokens.

Price $0.20/M tokens Context

openrouter.ai · T1

c46checked on 19 Nov 2026valid until 19 Dec 2026

gemini-embedding-2 takes up to 8192 tokens and has a vector dimension from 128 to 3072.

It supports input context up to 8,192 tokens and flexible output dimensions from 128 to 3,072

openrouter.ai · T1

This card

Last checked on 19 Nov 2026. As data: JSON, Markdown. A claim's permanent address is its number: stacks.jakubdudek.com/local-personal-search/c1.