liaocaoxuezhe65 downloadsSearch your vault semantically with local vector embeddings and expose RAG search to MCP clients.
Analogy adds local semantic search to Obsidian and exposes your indexed vault to MCP clients for retrieval-augmented generation.
The plugin is desktop-only because it uses Node.js APIs, starts a local ChromaDB process, and loads local embedding models.
127.0.0.1.Download the release assets from GitHub and copy them into:
<Vault>/.obsidian/plugins/analogy-rag-in-your-vault/
Required release assets:
main.jsmanifest.jsonstyles.cssEnable the plugin in Obsidian Settings -> Community plugins.
Obsidian only installs the three plugin assets above. Open Analogy settings and use the Local RAG runtime installer to install the embedding runtime in the plugin folder. Analogy also creates a small runtime package.json, installs the embedding runtime, and starts ChromaDB automatically when possible.
If automatic installation fails, run the setup command inside the installed plugin folder:
npm run setup:local
If you need the companion MCP server files too, download the full runtime zip from the GitHub release.
127.0.0.1 by default.https://hf-mirror.com/.ANALOGY_ALLOWED_PATHS to restrict which vault paths the MCP server can return.npm install
npm run dev
Build production assets:
npm run build
Prepare release assets:
npm run release:prepare
The release tag must exactly match manifest.json version.
src/ - Obsidian plugin source.mcp-server/ - Companion MCP server source.scripts/ - Setup helpers such as model download..obsidian/ - Local development vault, ignored by the standalone plugin repo.Apache-2.0