Socraticode
by github.com/giancarloerra · v1.16.2 · updated Nov 5, 2026
MCP server for enterprise local codebase indexing, semantic search, and code dependency graphs.
Run it locally
Install the package and point your AI client at it.
npm
npx -y [email protected]Environment variables
EMBEDDING_PROVIDEREmbedding provider to use: ollama (default), openai, google, lmstudio, or litellm
OPENAI_API_KEYsecretAPI key for OpenAI embeddings (required only when EMBEDDING_PROVIDER=openai)
GOOGLE_API_KEYsecretAPI key for Google embeddings (required only when EMBEDDING_PROVIDER=google)
OLLAMA_URLURL of the Ollama server (default: auto-detected; Docker-managed or http://localhost:11434)
EMBEDDING_MODELEmbedding model name (defaults per provider; required for lmstudio and litellm)
EMBEDDING_DIMENSIONSEmbedding vector dimensions (defaults per provider; required for lmstudio and litellm)
OLLAMA_MODEOllama mode: auto (default), docker, or external
OLLAMA_API_KEYsecretOptional API key for authenticated Ollama proxies. Remote endpoints require HTTPS; loopback HTTP is supported.
LMSTUDIO_URLLM Studio OpenAI-compatible base URL (default: http://localhost:1234/v1)
LMSTUDIO_API_KEYsecretOptional API key when LM Studio authentication is enabled
LMSTUDIO_ALLOW_MISSING_MODEL_LISTINGAllow compatible embedding servers without a models endpoint to be probed directly
LITELLM_URLLiteLLM OpenAI-compatible base URL (default: http://localhost:4000/v1)
LITELLM_API_KEYsecretLiteLLM master or virtual API key (required when EMBEDDING_PROVIDER=litellm)
LITELLM_SEND_DIMENSIONSForward the dimensions parameter through LiteLLM when explicitly enabled
QDRANT_MODEQdrant mode: managed (default, Docker-managed) or external (user-provided instance)
QDRANT_URLFull URL for remote/cloud Qdrant (e.g. https://xyz.cloud.qdrant.io:6333). Only needed when QDRANT_MODE=external
QDRANT_API_KEYsecretAPI key for remote Qdrant instance. Only needed when QDRANT_MODE=external
More from github.com/giancarloerra
More MCP servers
Google Docs Mcp Server
github.com/gigabrain-observer
Google Docs MCP server with full tab support, markdown extraction, and batch updates.
Memecorp Mcp
github.com/gigatypeaura
Read the memecorp.us meme feed; with an agent key, post, react and comment.
Decker
github.com/gigshow
Deterministic market-state engine for trading agents — state, gate, coordinates, with receipts.
X402 Api
github.com/gigsoul
AI API for marketing, content and outreach. 22 endpoints. Pay with USDC on Base via x402.
Dobby
github.com/gil-dobby
Connect, monitor, and control AI agents — tasks, approvals, schedules, and governance.
Tokei Agent
github.com/gilesdawe
Control your Tokei (tokei.io) pre-launch and waitlist campaigns from AI agents and the command line.