You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Give any AI instant automated knowledge of your entire codebase — at scale, zero configuration, fully private, completely free.
SocratiCode is an MCP server that gives AI assistants deep semantic understanding of your codebase. One-line install, zero configuration — it manages everything automatically via Docker.
Highlights
Hybrid search — Dense vector (semantic) + BM25 (keyword) search fused with Reciprocal Rank Fusion. Find code by meaning or by name, in a single query.
AST-aware chunking — Files split at function/class boundaries using ast-grep, not arbitrary line counts. Higher-quality search results out of the box.
Polyglot code dependency graph — Static analysis of imports across 18+ languages. Circular dependency detection and Mermaid visualization.
Context artifacts — Index database schemas, API specs, infra configs, and architecture docs alongside your code.
Zero configuration — Add the MCP server config, and it handles Docker containers, embedding models, and vector storage automatically.
Fully private & local — Everything runs on your machine. No API keys required, no data leaves your network. Optional cloud providers (OpenAI, Google Gemini, Qdrant Cloud) available when you want them.
Production-ready — Battle-tested on enterprise repositories up to ~40M lines of code. Batched, resumable indexing with automatic checkpointing. Cross-process safety via file locking.
Incremental & live — After first index, only changed files are re-processed. File watcher keeps the index updated automatically.