Socraticode runs on your own machine — the client starts it, so there is no endpoint to ping. 5 182 installs a week from npm. Last commit 17 Sep 2026.
MCP server for enterprise local codebase indexing, semantic search, and code dependency graphs.
We read the source, 19 h ago · rules 3dff92dd89df
What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.
const dirPath = path.join(currentPath, dirName);
execSync(`taskkill /F /PID ${pid}`, { stdio: "ignore" });
Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.
We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.
This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.
claude mcp add socraticode -- npx -y socraticode
{
"mcpServers": {
"socraticode": {
"args": [
"-y",
"socraticode"
],
"command": "npx"
}
}
}
[mcp_servers.socraticode]
command = "npx"
args = ["-y", "socraticode"]
{
"mcpServers": {
"socraticode": {
"args": [
"-y",
"socraticode"
],
"command": "npx"
}
}
}
{
"mcpServers": {
"socraticode": {
"args": [
"-y",
"socraticode"
],
"command": "npx"
}
}
}
This one needs environment variables set before it will start:
EMBEDDING_PROVIDER (Embedding provider to use: ollama (default), openai, google, lmstudio, or litellm), OPENAI_API_KEY (API key for OpenAI embeddings (required only when EMBEDDING_PROVIDER=openai)), GOOGLE_API_KEY (API key for Google embeddings (required only when EMBEDDING_PROVIDER=google)), OLLAMA_URL (URL of the Ollama server (default: auto-detected; Docker-managed or http://localhost:11434)), EMBEDDING_MODEL (Embedding model name (defaults per provider; required for lmstudio and litellm)), EMBEDDING_DIMENSIONS (Embedding vector dimensions (defaults per provider; required for lmstudio and litellm)), OLLAMA_MODE (Ollama mode: auto (default), docker, or external), OLLAMA_API_KEY (Optional API key for authenticated Ollama proxies), LMSTUDIO_URL (LM Studio OpenAI-compatible base URL (default: http://localhost:1234/v1)), LMSTUDIO_API_KEY (Optional API key when LM Studio authentication is enabled), LMSTUDIO_ALLOW_MISSING_MODEL_LISTING (Allow compatible embedding servers without a models endpoint to be probed directly), LITELLM_URL (LiteLLM OpenAI-compatible base URL (default: http://localhost:4000/v1)), LITELLM_API_KEY (LiteLLM master or virtual API key (required when EMBEDDING_PROVIDER=litellm)), LITELLM_SEND_DIMENSIONS (Forward the dimensions parameter through LiteLLM when explicitly enabled), QDRANT_MODE (Qdrant mode: managed (default, Docker-managed) or external (user-provided instance)), QDRANT_URL (Full URL for remote/cloud Qdrant (e.g. https://xyz.cloud.qdrant.io:6333). Only needed when QDRANT_MODE=external), QDRANT_API_KEY (API key for remote Qdrant instance. Only needed when QDRANT_MODE=external).
The author declared them in the registry entry; get the values from the project itself.
Advanced codebase indexing and semantic search MCP server
Code intelligence MCP server — impact analysis, semantic search, dependency graphs
Local file search for AI agents — semantic + keyword indexing over your codebase.
Private AI context layer for semantic code search, dependency graphs, memory, and workspaces.
Semantic code graph MCP server for coding agents
Local-first codebase intelligence MCP server for AI coding agents.
Code intelligence MCP server: call graphs, type inference, and symbol search for Python/Go.
Code intelligence MCP server: impact analysis, dependency graphs, dead code detection.
Answers built from our own checks of this server.