locallens
Semantic file search engine for AI agents. Search files by meaning, ask questions with RAG, all 100% offline. Supports query arithmetic (+/- operators).
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Semantic file search engine for AI agents. Search files by meaning, ask questions with RAG, all 100% offline. Supports query arithmetic (+/- operators).
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Ask a question about indexed files and get an answer with source citations. Requires Ollama running locally.
Check LocalLens setup and dependencies. Shows what is working and what is missing.
Index a folder of files for semantic search. Run this before searching. Supports PDF, DOCX, code, CSV, and 20+ file types.
Semantically search indexed files and code by meaning. Use when the user wants to find files related to a concept, feature, or topic. Supports query arithmetic with +/- operators.
| name | locallens |
| version | 0.2.0 |
| description | Semantic file search engine for AI agents. Search files by meaning, ask questions with RAG, all 100% offline. Supports query arithmetic (+/- operators). |
| author | mahimairaja |
| homepage | https://github.com/mahimairaja/locallens |
| tags | ["search","semantic-search","rag","offline","files","code-search","mcp"] |
Search your files by meaning, not just keywords. 100% offline.
Ensure LocalLens is installed:
pip install locallens
Optional extras:
pip install "locallens[voice]"pip install "locallens[mcp]"pip install "locallens[fast]"Tell me to index a folder and I will run:
locallens index /path/to/folder --format json
Ask me to find files and I will run:
locallens search "your query" --format json --top-k 10
Supports query arithmetic:
"auth -test" finds auth files excluding tests"pricing +recent" biases toward recent pricing docs'payment +"last quarter" -draft' -- quoted multi-word termsAsk me a question about your files and I will run:
locallens ask "your question" --format json
Requires Ollama running locally (ollama serve).
Ask me to check LocalLens setup and I will run:
locallens doctor --format json
For deeper integration, start the MCP server:
locallens serve --mcp
This exposes tools: locallens_search, locallens_ask, locallens_index, locallens_status, locallens_files.