io.github.giancarloerra/socraticode

io.github.giancarloerra/socraticode

MCP server for enterprise local codebase indexing, semantic search, and code dependency graphs.

Connect this server

Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.

{
  "mcpServers": {
    "socraticode": {
      "command": "npx",
      "args": [
        "-y",
        "socraticode@1.16.2"
      ],
      "env": {
        "OPENAI_API_KEY": "<your OPENAI_API_KEY>",
        "GOOGLE_API_KEY": "<your GOOGLE_API_KEY>",
        "OLLAMA_API_KEY": "<your OLLAMA_API_KEY>",
        "LMSTUDIO_API_KEY": "<your LMSTUDIO_API_KEY>",
        "LITELLM_API_KEY": "<your LITELLM_API_KEY>",
        "QDRANT_API_KEY": "<your QDRANT_API_KEY>"
      }
    }
  }
}
Environment variables
  • 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_API_KEYsecretOptional API key for authenticated Ollama proxies. Remote endpoints require HTTPS; loopback HTTP is supported.
  • LMSTUDIO_API_KEYsecretOptional API key when LM Studio authentication is enabled
  • LITELLM_API_KEYsecretLiteLLM master or virtual API key (required when EMBEDDING_PROVIDER=litellm)
  • QDRANT_API_KEYsecretAPI key for remote Qdrant instance. Only needed when QDRANT_MODE=external

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Developer Tools
Version
1.16.2
Registry
active
Published
11/5/2026
Browse all Developer Tools →

Add the badge to your site

Show visitors that io.github.giancarloerra/socraticode is listed here — it’s also the link we check for a free listing.

io.github.giancarloerra/socraticode — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-giancarloerra-socraticode?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="io.github.giancarloerra/socraticode — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![io.github.giancarloerra/socraticode — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-giancarloerra-socraticode?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.