Codebase

•

Enables AI coding assistants to semantically search and interact with project codebases, optimizing token usage and improving answer quality.

Codebase is a per-project semantic code indexer and server designed to enhance AI coding assistants like Claude Code and GitHub Copilot CLI. By intelligently chunking and indexing your codebase, it allows AI assistants to query only the most relevant code snippets instead of entire files. This approach significantly reduces token usage by 70–95% and provides more precise and higher-quality responses from your AI assistant.

Key Features

01Semantic search over your entire codebase
020 GitHub stars
03MCP compatible for seamless integration with Claude Code and GitHub Copilot CLI
04Local embeddings via Ollama for offline use and cost savings
05Smart language-specific chunkers for popular languages (Go, TypeScript, React, etc.)
06Incremental indexing and automatic re-indexing via file watcher

Use Cases

01Connecting project codebases to AI coding assistants for improved context
02Reducing token usage and costs with AI code generation and analysis tools
03Providing local, offline semantic search capabilities for code projects