89
grade B
9 days ago
glama

SocratiCode

Enterprise-grade (40m+ lines) codebase intelligence in a zero-setup, private and local MCP: managed indexing, hybrid semantic search, polyglot code dependency graphs, and DB/API/infra knowledge. Benchmark: 61% less tokens, 84% fewer calls, 37x faster than standard AI grep.

Install from

M8ven verifies MCPs across every public registry — install directly from whichever one you prefer.

// key findings
⚠️
Known vulnerabilities in dependencies: 1 high
Affects packages this MCP installs at runtime. Upgrade or remove the affected dependency.
No credential exfiltration, no sensitive file access, no obfuscation
Static analysis found nothing flowing your secrets to unexpected places.
Open source with a license and README
Anyone can audit the code, the license is declared, and the publisher documents what it does.
🔐
You'll be asked for 4 credentials: GOOGLE_API_KEY, OLLAMA_API_KEY, OPENAI_API_KEY, QDRANT_API_KEY
These are read from process.env at runtime. Make sure you trust where they’ll be sent.
// required environment variables
This server reads these from process.env. You'll be asked to provide them before it can run.
configEMBEDDING_CONTEXT_LENGTH(auto-detected) Model context window in tokens. Auto-detected for known models. Set manually for custom models.
configEMBEDDING_DIMENSIONSDefaults: EMBEDDING_MODEL=text-embedding-3-small, =1536. For higher quality, use text-embedding-3-large with EMBEDDING_DIMENSIONS=3072.
configEMBEDDING_MODELDefaults: =text-embedding-3-small, EMBEDDING_DIMENSIONS=1536. For higher quality, use text-embedding-3-large with EMBEDDING_DIMENSIONS=3072.
configEMBEDDING_PROVIDERMulti-provider embeddings — Beyond Ollama, use OpenAI (text-embedding-3-small) or Google Generative AI (gemini-embedding-001) for cloud-based embeddings. Just set and your API key.
configEXTRA_EXTENSIONSCustom file extensions — Projects with non-standard extensions (e.g. .tpl, .blade) can be included via env var or extraExtensions tool parameter. Works for both indexing and code graph.
🔐 secretGOOGLE_API_KEY"": "AIza..."
configINCLUDE_DOT_FILES
configMAX_FILE_SIZE_MB5 Maximum file size in MB. Files larger than this are skipped during indexing. Increase for repos with large generated or data files you want indexed.
🔐 secretOLLAMA_API_KEY(none) Optional API key for authenticated Ollama proxies
configOLLAMA_HOST
configOLLAMA_MODEIf you have [Ollama](https://ollama.com) installed natively, set =external and point to your instance:
configOLLAMA_PORT11435 Ollama container port (Docker mode). Ignored when OLLAMA_URL is set explicitly.
configOLLAMA_URL"": "http://localhost:11434"
🔐 secretOPENAI_API_KEY"": "sk-..."
🔐 secretQDRANT_API_KEY(none) Qdrant API key (required for Qdrant Cloud and other authenticated deployments)
configQDRANT_GRPC_PORT16334 Qdrant gRPC port (managed mode only)
configQDRANT_HOSTlocalhost Qdrant hostname (alternative to QDRANT_URL for non-HTTPS external instances)
configQDRANT_MODEThe Qdrant container is managed automatically. If you set =external and point QDRANT_URL at a remote or cloud Qdrant instance, Docker is only needed for Ollama (embeddings) in that case.
configQDRANT_PORT16333 Qdrant REST API port (managed mode, or external without QDRANT_URL)
configQDRANT_URLThe Qdrant container is managed automatically. If you set QDRANT_MODE=external and point at a remote or cloud Qdrant instance, Docker is only needed for Ollama (embeddings) in that case.
configRESPECT_GITIGNORE2. .gitignore — All .gitignore files in the project (root and nested subdirectories). Set =false to skip .gitignore processing entirely.
configSEARCH_DEFAULT_LIMIT
configSEARCH_MIN_SCORE
configSOCRATICODE_LOG_FILE
configSOCRATICODE_LOG_LEVELStructured logging — All operations are logged with structured context for observability. Log level configurable via .
configSOCRATICODE_PROJECT_IDSet to share a single index across all directories of the same project.
// full audit trail
The full breakdown of what we checked, the deductions that landed, the network hosts, the dependency advisories, and concrete fix guidance is available to verified publishers.
// improvement guidance — verified publishers only
We have 4 concrete improvements we can share with the publisher of this MCP. Each comes with specific guidance to raise the trust score.
// embed badge in your README
[![M8ven Score](https://m8ven.ai/badge/mcp/giancarloerra-socraticode-hugbmd)](https://m8ven.ai/mcp/giancarloerra-socraticode-hugbmd)
commit: 0896164442e340c234f37437cae11ebc65b139f5
code hash: 7af1b5fe87302d1e029b46f799df39f0a86651362c67074c3025293355cc077e
verified: 4/11/2026, 3:01:10 PM
view raw JSON →