Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
agent-context-go
command
Command agent-context-go is a local-only MCP server providing semantic and lexical code search over a codebase.
|
Command agent-context-go is a local-only MCP server providing semantic and lexical code search over a codebase. |
|
internal
|
|
|
chunker
Package chunker splits source files into searchable chunks.
|
Package chunker splits source files into searchable chunks. |
|
config
Package config resolves runtime configuration for the code-search server from sane defaults and environment overrides.
|
Package config resolves runtime configuration for the code-search server from sane defaults and environment overrides. |
|
core
Package core holds the domain types shared across the indexing, storage, embedding, and search packages.
|
Package core holds the domain types shared across the indexing, storage, embedding, and search packages. |
|
embed
Package embed turns text into dense vectors for semantic search.
|
Package embed turns text into dense vectors for semantic search. |
|
indexer
Package indexer builds and incrementally maintains a codebase's search index.
|
Package indexer builds and incrementally maintains a codebase's search index. |
|
installer
Package installer registers this MCP server into the configuration of AI coding tools ("agents") that speak the Model Context Protocol, and removes it again.
|
Package installer registers this MCP server into the configuration of AI coding tools ("agents") that speak the Model Context Protocol, and removes it again. |
|
mcpserver
Package mcpserver exposes local code search as an MCP stdio server.
|
Package mcpserver exposes local code search as an MCP stdio server. |
|
search
Package search implements hybrid code search over a single index: dense (semantic) retrieval via brute-force cosine similarity over stored embeddings, lexical retrieval via SQLite FTS5 BM25, and Reciprocal Rank Fusion (RRF) to combine the two rankings into a single result list.
|
Package search implements hybrid code search over a single index: dense (semantic) retrieval via brute-force cosine similarity over stored embeddings, lexical retrieval via SQLite FTS5 BM25, and Reciprocal Rank Fusion (RRF) to combine the two rankings into a single result list. |
|
store
Package store persists a code index in a single SQLite database: file metadata for incremental re-indexing, chunk text and embeddings for search, and an FTS5 index for BM25 lexical ranking.
|
Package store persists a code index in a single SQLite database: file metadata for incremental re-indexing, chunk text and embeddings for search, and an FTS5 index for BM25 lexical ranking. |
Click to show internal directories.
Click to hide internal directories.