Search & web / socraticode

socraticode

io.github.giancarloerra/socraticode · v1.16.2

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

Description supplied by the publisher in the MCP Registry. We have not tested this server.

Ranks #15 of 817 Search & web servers on Socketlist by score, with 3,370 GitHub stars and a last code push 23d ago.

Install

npx -y socraticode

Assembled from the package metadata in the official MCP Registry (including any subcommand or flag the publisher lists). Some publishers do not list the subcommand that starts MCP mode, so confirm the command in the README, along with any required configuration and credentials, before connecting it to real data.

Connect socraticode to Claude Code, Cursor or VS Code

Built from what the publisher declared in the official MCP Registry (the launch command above). We have not run this server. Replace anything in <angle brackets>, and keep keys and tokens in your environment, not in a shared file.

Claude Code

Run in a terminal. Adds the server at local scope; add --scope project or --scope user to share it. Secret variables the publisher declares are included; drop any the README says are optional. Claude Code setup guide.

claude mcp add --env OPENAI_API_KEY=<openai_api_key> --env GOOGLE_API_KEY=<google_api_key> --env OLLAMA_API_KEY=<ollama_api_key> --env LMSTUDIO_API_KEY=<lmstudio_api_key> --env LITELLM_API_KEY=<litellm_api_key> --env QDRANT_API_KEY=<qdrant_api_key> --transport stdio socraticode -- npx -y socraticode

.mcp.json (Claude Code project scope, VS Code with Copilot)

Put this in a .mcp.json file at the project root. ${NAME} reads the value from your environment, so no secret is written to the file. VS Code and .mcp.json guide.

{
  "mcpServers": {
    "socraticode": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "socraticode"
      ],
      "env": {
        "OPENAI_API_KEY": "${OPENAI_API_KEY}",
        "GOOGLE_API_KEY": "${GOOGLE_API_KEY}",
        "OLLAMA_API_KEY": "${OLLAMA_API_KEY}",
        "LMSTUDIO_API_KEY": "${LMSTUDIO_API_KEY}",
        "LITELLM_API_KEY": "${LITELLM_API_KEY}",
        "QDRANT_API_KEY": "${QDRANT_API_KEY}"
      }
    }
  }
}

Cursor

Put this in .cursor/mcp.json in the project, or ~/.cursor/mcp.json for every project. Cursor mcp.json guide.

{
  "mcpServers": {
    "socraticode": {
      "command": "npx",
      "args": [
        "-y",
        "socraticode"
      ],
      "env": {
        "OPENAI_API_KEY": "${env:OPENAI_API_KEY}",
        "GOOGLE_API_KEY": "${env:GOOGLE_API_KEY}",
        "OLLAMA_API_KEY": "${env:OLLAMA_API_KEY}",
        "LMSTUDIO_API_KEY": "${env:LMSTUDIO_API_KEY}",
        "LITELLM_API_KEY": "${env:LITELLM_API_KEY}",
        "QDRANT_API_KEY": "${env:QDRANT_API_KEY}"
      }
    }
  }
}

Configuration the publisher declares

Environment variableRequiredSecretPublisher's note
EMBEDDING_PROVIDERNoNoEmbedding provider to use: ollama (default), openai, google, lmstudio, or litellm
OPENAI_API_KEYNoYesAPI key for OpenAI embeddings (required only when EMBEDDING_PROVIDER=openai)
GOOGLE_API_KEYNoYesAPI key for Google embeddings (required only when EMBEDDING_PROVIDER=google)
OLLAMA_URLNoNoURL of the Ollama server (default: auto-detected; Docker-managed or http://localhost:11434)
EMBEDDING_MODELNoNoEmbedding model name (defaults per provider; required for lmstudio and litellm)
EMBEDDING_DIMENSIONSNoNoEmbedding vector dimensions (defaults per provider; required for lmstudio and litellm)
OLLAMA_MODENoNoOllama mode: auto (default), docker, or external
OLLAMA_API_KEYNoYesOptional API key for authenticated Ollama proxies. Remote endpoints require HTTPS; loopback HTTP is supported.
LMSTUDIO_URLNoNoLM Studio OpenAI-compatible base URL (default: http://localhost:1234/v1)
LMSTUDIO_API_KEYNoYesOptional API key when LM Studio authentication is enabled
LMSTUDIO_ALLOW_MISSING_MODEL_LISTINGNoNoAllow compatible embedding servers without a models endpoint to be probed directly
LITELLM_URLNoNoLiteLLM OpenAI-compatible base URL (default: http://localhost:4000/v1)

5 more are listed in the registry entry; see the README for the full set.

"Required" and "secret" are the publisher's own flags in the registry, and many publishers leave them unset, so check the README too.

Allowlist entry

If your organisation restricts MCP servers, this is the entry an admin adds to allowedMcpServers in Claude Code managed settings or a GitHub Copilot enterprise managed-settings.json. A serverCommand entry must match the configured command and arguments exactly, so change both together.

{
  "allowedMcpServers": [
    {
      "serverCommand": [
        "npx",
        "-y",
        "socraticode"
      ]
    }
  ]
}

How allowlists work in each client: MCP server allowlists for Claude Code, GitHub Copilot and Cursor. Before you connect it to real data: 10 security checks for MCP servers.

Signals

GitHub stars3,370
npm weekly downloads1,812
Last push23d ago
LicenceAGPL-3.0
Open issues0
SECURITY.mdYes
LanguageTypeScript
Latest version published2026-11-05

Signals captured from GitHub, npm and the official MCP Registry on November 11, 2026. See the scoring method.

Similar servers compare all →

CocoIndex Code

Score 84

Semantic code search over a local repository, with AST-based chunks and incremental re-indexing.

★ 2,974Apache-2.0pushed 23d ago
Search & webDeveloper tools

arxiv-mcp-server

Score 84

Search arXiv papers, download full text, semantic search, citation graphs, and alerts via MCP.

★ 3,271Apache-2.0pushed 2mo ago
Search & webAI & media

Paparats MCP: Self-Hosted Semantic Code Search

Score 82

Self-hosted semantic code search MCP for Claude Code & Cursor. Multi-repo, AST-aware, stays local.

★ 34MITpushed 25d ago
Search & web

Five MCP servers worth your time, every week

The Plug Weekly is a free email picked from these scores. About a 3-minute read. Unsubscribe any time.

Subscribe free