Index Large Codebases for Agent Search With Socraticode
Use Socraticode to give coding agents a local codebase-intelligence layer for semantic search, dependency graphs, impact analysis, and call-flow investigation.
Prerequisites
Node.js 18+, Socraticode CLI or MCP server, and a compatible agent client such as Claude Code, VS Code, Cursor, or another MCP-capable coding environment
Installation
Prerequisite: Docker must be installed and running. SocratiCode pulls its local service containers on first use.
For Claude Code, install the upstream plugin:
- claude plugin marketplace add giancarloerra/socraticode
- claude plugin install socraticode@socraticode
For MCP-only hosts, add the documented server command:
- claude mcp add socraticode -- npx -y socraticode
For Codex, add this MCP server to ~/.codex/config.toml:
[mcp_servers.socraticode] command = "npx" args = ["-y", "socraticode"]
- Source: https://github.com/giancarloerra/SocratiCode
- Extracted from upstream docs: https://raw.githubusercontent.com/giancarloerra/SocratiCode/HEAD/README.md