
基于CLI优先的语义代码搜索,集成MCP。现代、快速且智能的代码搜索,由ChromaDB和AST解析驱动。
概览
⚠️ :稳定且积极维护。LanceDB 现已成为默认后端,以提升性能和稳定性。 一款现代、快速且智能的代码搜索工具,通过语义分析和AST解析理解你的代码库。采用Python构建,LanceDB支持,旨在提升开发者生产力。 - : 通过意义寻找代码,而不仅仅是关键词 - : 理解代码结构(函数、类、方法) - : 13种语言 - Python、JavaScript、TypeScript、C#、Dart/Flutter、PHP、Ruby、Java、Go、Rust、HTML 和 Markdown/Text(具可扩展架构) - : 使用 KuzuDB 进行时间知识图,用于实体提取和关系映射(kg build、kg 状态、kg 查询) - : D3。
概述(AI 翻译)
🔍 CLI优先语义代码搜索,带MCP集成
⚠️ 生产版本(v2.5.56):稳定且积极维护。LanceDB 现为默认后端,提升性能和稳定性。
一款现代、快速且智能的代码搜索工具,通过语义分析和AST解析理解你的代码库。采用Python构建,LanceDB支持,旨在提升开发者生产力。
✨ 特色
🚀 核心能力
- 语义搜索:通过意义而非关键词来查找代码
- AST感知解析:理解代码结构(函数、类、方法)
- 多语言支持:13种语言 - Python、JavaScript、TypeScript、C#、Dart/Flutter、PHP、Ruby、Java、Go、Rust、HTML 和 Markdown/Text(具可扩展架构)
- 知识图谱:使用 KuzuDB 进行实体提取和关系映射的时序知识图谱(
kg build、kg status、kg query) - 交互式可视化:基于D3.js的可视化,支持5+视图(树状图、日落突变、力图、知识图谱、热力图)
- 开发叙事:用
story命令(markdown、JSON、HTML输出)生成git历史叙述
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
MCP Vector Search
🔍 CLI-first semantic code search with MCP integration
⚠️ Production Release (v2.5.56): Stable and actively maintained. LanceDB is now the default backend for better performance and stability.
A modern, fast, and intelligent code search tool that understands your codebase through semantic analysis and AST parsing. Built with Python, powered by LanceDB, and designed for developer productivity.
✨ Features
🚀 Core Capabilities
- Semantic Search: Find code by meaning, not just keywords
- AST-Aware Parsing: Understands code structure (functions, classes, methods)
- Multi-Language Support: 13 languages - Python, JavaScript, TypeScript, C#, Dart/Flutter, PHP, Ruby, Java, Go, Rust, HTML, and Markdown/Text (with extensible architecture)
- Knowledge Graph: Temporal knowledge graph with KuzuDB for entity extraction and relationship mapping (
kg build,kg status,kg query) - Interactive Visualization: D3.js-powered visualization with 5+ views (Treemap, Sunburst, Force Graph, Knowledge Graph, Heatmap)
- Development Narratives: Generate git history narratives with
storycommand (markdown, JSON, HTML output) - Real-time Indexing: File watching with automatic index updates
- Automatic Version Tracking: Smart reindexing on tool upgrades
- Local-First: Complete privacy with on-device processing
- Zero Configuration: Auto-detects project structure and languages
🛠️ Developer Experience
- CLI-First Design: Simple commands for immediate productivity
- Rich Output: Syntax highlighting, similarity scores, context
- Fast Performance: Sub-second search responses, efficient indexing with pipeline parallelism (37% faster); IVF-PQ vector index delivers 4.9x faster queries (3.4ms vs 16.7ms)
- Modern Architecture: Async-first, type-safe, modular design
- Semi-Automatic Reindexing: Multiple strategies without daemon processes
- 17 MCP Tools: Comprehensive MCP integration for AI assistants (search, analysis, documentation, KG, story generation)
- Chat Mode: LLM-powered code Q&A with iterative refinement (up to 30 queries), deep search, and KG query tools
- CodeT5+ Embeddings: Code-specific embeddings via
index-codecommand (Salesforce/codet5p-110m-embedding)
🔧 Technical Features
- Vector Database: LanceDB (serverless, file-based)
- Embedding Models: Configurable sentence transformers with GPU acceleration
- Smart Reindexing: Search-triggered, Git hooks, scheduled tasks, and manual options
- Extensible Parsers: Plugin architecture for new languages
- Configuration Management: Project-specific settings
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →