From 556730231699c81e3bb240c5b83fbd9fa341d3c0 Mon Sep 17 00:00:00 2001 From: Andy Lee Date: Thu, 7 Aug 2025 22:54:31 -0700 Subject: [PATCH] feat: promote Claude Code integration as primary RAG feature --- README.md | 29 +++++++++++++++++++++++++---- packages/leann-mcp/README.md | 2 +- 2 files changed, 26 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 1f8c46c..a1f9da9 100755 --- a/README.md +++ b/README.md @@ -16,9 +16,7 @@ LEANN is an innovative vector database that democratizes personal AI. Transform LEANN achieves this through *graph-based selective recomputation* with *high-degree preserving pruning*, computing embeddings on-demand instead of storing them all. [Illustration Fig →](#️-architecture--how-it-works) | [Paper →](https://arxiv.org/abs/2506.08276) -**Ready to RAG Everything?** Transform your laptop into a personal AI assistant that can search your **[file system](#-personal-data-manager-process-any-documents-pdf-txt-md)**, **[emails](#-your-personal-email-secretary-rag-on-apple-mail)**, **[browser history](#-time-machine-for-the-web-rag-your-entire-browser-history)**, **[chat history](#-wechat-detective-unlock-your-golden-memories)**, or external knowledge bases (i.e., 60M documents) - all on your laptop, with zero cloud costs and complete privacy. - -> **🚀 NEW: Claude Code Integration!** LEANN now provides native MCP integration for Claude Code users. Index your codebase and get intelligent code assistance directly in Claude Code. [Setup Guide →](packages/leann-mcp/README.md) +**Ready to RAG Everything?** Transform your laptop into a personal AI assistant that can search your **[codebase](#-claude-code-integration-transform-your-development-workflow)**, **[file system](#-personal-data-manager-process-any-documents-pdf-txt-md)**, **[emails](#-your-personal-email-secretary-rag-on-apple-mail)**, **[browser history](#-time-machine-for-the-web-rag-your-entire-browser-history)**, **[chat history](#-wechat-detective-unlock-your-golden-memories)**, or external knowledge bases (i.e., 60M documents) - all on your laptop, with zero cloud costs and complete privacy. @@ -213,6 +211,30 @@ All RAG examples share these common parameters. **Interactive mode** is availabl +### 🚀 Claude Code Integration: Transform Your Development Workflow! + +**The future of code assistance is here.** Transform your development workflow with LEANN's native MCP integration for Claude Code. Index your entire codebase and get intelligent code assistance directly in your IDE. + +

+ MCP Integration + Twitter +

+ +**Key features:** +- 🔍 **Semantic code search** across your entire project +- 📚 **Context-aware assistance** for debugging and development +- 🚀 **Zero-config setup** with automatic language detection +- 🔒 **Complete privacy** - your code never leaves your machine + +```bash +# Install LEANN globally for MCP integration +uv tool install leann-core + +# Setup is automatic - just start using Claude Code! +``` + +**Ready to supercharge your coding?** [Complete Setup Guide →](packages/leann-mcp/README.md) + ### 📄 Personal Data Manager: Process Any Documents (`.pdf`, `.txt`, `.md`)! Ask questions directly about your personal PDFs, documents, and any directory containing your files! @@ -417,7 +439,6 @@ Once the index is built, you can ask questions like: - ## 🖥️ Command Line Interface LEANN includes a powerful CLI for document processing and search. Perfect for quick document indexing and interactive chat. diff --git a/packages/leann-mcp/README.md b/packages/leann-mcp/README.md index bcda6a0..0893ad3 100644 --- a/packages/leann-mcp/README.md +++ b/packages/leann-mcp/README.md @@ -7,7 +7,7 @@ Intelligent code assistance using LEANN's vector search directly in Claude Code. First, install LEANN CLI globally: ```bash -uv tool install leann +uv tool install leann-core ``` This makes the `leann` command available system-wide, which `leann_mcp` requires.