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 socraticodeAssembled 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 variable | Required | Secret | Publisher's note |
|---|---|---|---|
EMBEDDING_PROVIDER | No | No | Embedding provider to use: ollama (default), openai, google, lmstudio, or litellm |
OPENAI_API_KEY | No | Yes | API key for OpenAI embeddings (required only when EMBEDDING_PROVIDER=openai) |
GOOGLE_API_KEY | No | Yes | API key for Google embeddings (required only when EMBEDDING_PROVIDER=google) |
OLLAMA_URL | No | No | URL of the Ollama server (default: auto-detected; Docker-managed or http://localhost:11434) |
EMBEDDING_MODEL | No | No | Embedding model name (defaults per provider; required for lmstudio and litellm) |
EMBEDDING_DIMENSIONS | No | No | Embedding vector dimensions (defaults per provider; required for lmstudio and litellm) |
OLLAMA_MODE | No | No | Ollama mode: auto (default), docker, or external |
OLLAMA_API_KEY | No | Yes | Optional API key for authenticated Ollama proxies. Remote endpoints require HTTPS; loopback HTTP is supported. |
LMSTUDIO_URL | No | No | LM Studio OpenAI-compatible base URL (default: http://localhost:1234/v1) |
LMSTUDIO_API_KEY | No | Yes | Optional API key when LM Studio authentication is enabled |
LMSTUDIO_ALLOW_MISSING_MODEL_LISTING | No | No | Allow compatible embedding servers without a models endpoint to be probed directly |
LITELLM_URL | No | No | LiteLLM 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 stars | 3,370 |
| npm weekly downloads | 1,812 |
| Last push | 23d ago |
| Licence | AGPL-3.0 |
| Open issues | 0 |
| SECURITY.md | Yes |
| Language | TypeScript |
| Latest version published | 2026-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 84Semantic code search over a local repository, with AST-based chunks and incremental re-indexing.
arxiv-mcp-server
Score 84Search arXiv papers, download full text, semantic search, citation graphs, and alerts via MCP.
Paparats MCP: Self-Hosted Semantic Code Search
Score 82Self-hosted semantic code search MCP for Claude Code & Cursor. Multi-repo, AST-aware, stays local.
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.