vibe-hnindex
v0.1.2Index source code into a local knowledge base, search with keyword + semantic + hybrid modes.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
index_codebase
Index an entire codebase directory for later search. Scans all supported source files, chunks them, and stores in the knowledge base with keyword and semantic indexes. Supports incremental indexing — unchanged files are skipped.
| Parameter | Type | Description |
|---|---|---|
path * | string | Absolute path to the codebase directory |
project_name * | string | Unique name for this project |
index_file
Index or re-index a single file in an existing project. The project must have been indexed with index_codebase first.
| Parameter | Type | Description |
|---|---|---|
file_path * | string | Absolute path to the file |
project_name * | string | Project name (must already exist from index_codebase) |
search
Search the indexed codebase. Returns matching code chunks with file paths, line numbers, and relevance scores. Supports keyword (FTS5/BM25), semantic (vector similarity), and hybrid (RRF fusion) modes.
| Parameter | Type | Description |
|---|---|---|
project_name * | string | Project to search in |
query * | string | Search query — natural language or keywords |
limit | integer | Maximum number of results to return |
mode | string | Search mode: keyword (FTS5), semantic (vector), or hybrid (recommended) |
list_projects
List all indexed projects with their metadata including file count, chunk count, and last indexed time.
delete_project
Delete a project and all its indexed data from the knowledge base (both SQLite and Qdrant).
| Parameter | Type | Description |
|---|---|---|
project_name * | string | Name of the project to delete |
get_file_info
Get information about a specific indexed file including its chunks, line ranges, and language.
| Parameter | Type | Description |
|---|---|---|
file_path * | string | Relative file path within the project (e.g., "src/index.ts") |
project_name * | string | Project name |