BenDavies1218/gitdex-semantic-search
Local code indexer with MCP-based semantic search. Parses Git repos with tree-sitter, embeds via Ollama, stores in Qdrant, and exposes search as MCP tools for Claude Code, Cursor, and other LLM dev tools.
Platform-specific configuration:
{
"mcpServers": {
"gitdex-semantic-search": {
"command": "npx",
"args": [
"-y",
"gitdex-semantic-search"
]
}
}
}Add the config above to .claude/settings.json under the mcpServers key.
[](https://github.com/BenDavies1218/gitdex-semantic-search/actions/workflows/ci.yml)
Local semantic code search for LLM-assisted development.
Gitdex indexes your Git repositories using tree-sitter AST parsing and vector embeddings, then exposes semantic search via Model Context Protocol (MCP) tools. Point Claude Code, Cursor, or any MCP-compatible tool at your codebase and search it with natural language.
gitdex index ./my-project # Index the repo
claude mcp add gitdex -- \ # Register with Claude Code
gitdex serve ./my-project Repository gitdex Services
────────── ────────────────── ──────────────────
.git/repo ──> Walk files Ollama
(gitignore-aware) (nomic-embed-text)
│ ^
v │
Chunk with Embed chunks ──> Qdrant
tree-sitter (vector DB)
│ ^
v │
MCP Server ──────── search ──────────────┘
(stdio).gitignore, skips binaries and lock filesnomic-embed-text) with bounded concurrencySubsequent runs use incremental indexing — only files changed since the last indexed com
Loading reviews...