Overview
Features
Semantic Search
Find relevant code using semantic search to retrieve contextually relevant chunks rather than relying on exact text.
Get Chunk by ID
Retrieve specific chunks by their stable IDs (e.g., file.ext::Type::method), including code, location, and summaries.
Find Similar Chunks
Identify chunks similar to a given chunk using embeddings.
Index Workspace
Manually trigger re-indexing of the workspace to refresh the semantic index.
Get Index Status
Check indexing progress and status.
Code Parsing & Chunking
Uses Tree-sitter to parse sources into ASTs and extract meaningful chunks with stable IDs.
File System Integration
Watches for file changes with fsnotify, respects .gitignore, auto re-indexes, and tracks modification times.
Vector Database & Embeddings
Chromem-go persistent vector storage with OpenAI embeddings for semantic similarity.
Who Is This For?
- AI agents:Use Sourcerer MCP to perform semantic code search and navigation, enabling concept-based access to code chunks and reducing token usage in AI workflows.
- Development teams:Integrate semantic code search and indexing into developer tooling and workflows to reduce token usage when AI analyzes code.




