Codebase Indexer

•
1
•

Indexes source code semantically using Ollama and Qdrant for natural-language search and AI assistant integration.

Codebase Indexer is a powerful semantic search tool designed for developers, allowing them to find code by meaning rather than just keywords. It achieves this by intelligently chunking source code, generating embeddings via Ollama, and storing them in Qdrant for efficient natural-language queries. Beyond its standalone command-line interface, it functions as an MCP server, seamlessly integrating with AI assistants like Claude Code and Codex to provide context-aware code search and indexing capabilities, enhancing developer productivity and AI interaction with codebases.

主要功能

01Semantic code search with natural language queries
02Symbol-aware chunking for 18 programming languages
03Incremental indexing via MD5 content hashing for efficiency
04Functions as an MCP server for Claude Code and Codex integration
05Automatic file re-indexing with an integrated file watcher
060 GitHub stars

使用案例

01Quickly find relevant code snippets using natural language queries (e.g., 'retry logic with exponential backoff')
02Provide context-aware code information to AI assistants like Claude Code and Codex
03Maintain an up-to-date, searchable index of project code for developers