Socraticode MCP Server

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

Remote serverstreamable-httpGo

What is the Socraticode MCP server?

Connect Socraticode to Claude, Cursor or any other MCP client and it stops being a tab you switch to. MCP server for local codebase indexing, semantic search, and code dependency graphs. The socraticode mcp server is what makes that connection.

What the server does

The first Qdrant‑based MCP/Claude Plugin/Skill that pairs auto‑managed, zero‑config local Docker deployment with AST‑aware code chunking, hybrid semantic + BM25 (RRF‑fused) code search, polyglot dependency graphs with circular‑dependency visualisation, symbol‑level Impact Analysis (blast‑radius & call‑flow tracing across 18 languages), and searchable infra/API/database artifacts in a single focused, zero-config and easy to use code intelligence engine.

Available tools

The toolset is worth reading before you wire it up, because it tells you what the integration is really for:

  • Multi — provider embeddings** — Switch between Local Ollama (private, GPU access), Docker Ollama (zero-config), OpenAI (text-embedding-3-small, fastest)
  • AST — aware chunking** — Files are split at function/class boundaries using AST parsing (ast-grep), not arbitrary line counts. This produces higher-quality
  • Language-agnostic — Works with every programming language, framework, and file type out of the box. No per-language parsers to install, no grammar files to maintain, no
  • Multi-project — Index multiple projects simultaneously. Each gets its own isolated collection with full project path tracking
  • Cross — project search** — Search across multiple related projects in a single query. Link projects via .socraticode.json or the SOCRATICODE_LINKED_PROJECTS
  • Branch — aware indexing** — Maintain separate indexes per git branch by setting SOCRATICODE_BRANCH_AWARE=true. Each branch gets its own Qdrant collections, so
  • Platform — Install method
  • Cursor — /add-plugin https://github.com/giancarloerra/socraticode (plugin format with skills). Also listed in the Cursor Marketplace at
  • Zed — Add as a custom MCP server in Zed settings — config example
  • Feature — Claude Code

Installation

Because this one is hosted, setup is mostly authentication — you point your client at the endpoint and approve access. Nothing runs on your machine, so there is no runtime to keep patched.

Credentials and setup notes

Configuration is passed through the environment: QDRANT_URL, QDRANT_API_KEY, OLLAMA_URL. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

Where it fits

This sits in the AI and media services group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Socraticode's toolset — Multi, AST, Language-agnostic and 7 more — is a fair guide to whether it matches your workflow. It is maintained by giancarloerra; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Socraticode's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Worth knowing first

  • Your data travels to the provider's service, so the usual questions apply about what you send and what they retain.
  • With 10 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch Socraticode.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
Multiprovider embeddings** — Switch between Local Ollama (private, GPU access), Docker Ollama (zero-config), OpenAI (text-embedding-3-small, fastest), Google Gemini (gemini-embedding-001, free tier), LM Studio (local OpenAI-c
ASTaware chunking** — Files are split at function/class boundaries using AST parsing (ast-grep), not arbitrary line counts. This produces higher-quality search results. Falls back to line-based chunking for unsupported lang
Language-agnosticWorks with every programming language, framework, and file type out of the box. No per-language parsers to install, no grammar files to maintain, no "unsupported language" limitations. If your AI can read it, SocratiCode
Multi-projectIndex multiple projects simultaneously. Each gets its own isolated collection with full project path tracking.
Crossproject search** — Search across multiple related projects in a single query. Link projects via .socraticode.json or the SOCRATICODE_LINKED_PROJECTS env var, then set includeLinked: true on codebase_search. Results are t
Branchaware indexing** — Maintain separate indexes per git branch by setting SOCRATICODE_BRANCH_AWARE=true. Each branch gets its own Qdrant collections, so switching branches instantly switches to the correct index. Ideal for
PlatformInstall method
Cursor/add-plugin https://github.com/giancarloerra/socraticode (plugin format with skills). Also listed in the Cursor Marketplace at [cursor.com/marketplace](https://cursor.com/marketplace).
ZedAdd as a custom MCP server in Zed settings — [config example](#zed)
FeatureClaude Code

How to install the Socraticode MCP server

{
  "mcpServers": {
    "socraticode": {
      "command": "npx",
      "args": ["-y", "socraticode"],
      "env": {
        "QDRANT_URL": "your-value",
        "QDRANT_API_KEY": "your-value",
        "OLLAMA_URL": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
QDRANT_URLEndpoint or connection string the server talks to.Yes
QDRANT_API_KEYCredential the server authenticates with.Yes
OLLAMA_URLEndpoint or connection string the server talks to.Yes

Example prompts to try

  • Use Socraticode to Multi.
  • Use Socraticode to AST.
  • Use Socraticode to Language-agnostic.

Frequently asked questions

It connects Socraticode to MCP-compatible AI assistants such as Claude and Cursor, exposing 10 tools (Multi, AST, Language-agnostic, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Socraticode directly.