原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Socraticode

作者:giancarloerra版本 1.16.2i★ –i在你的电脑上运行
注册名称io.github.giancarloerra/socraticode

安装

概览

作者提供的说明(英文原文)

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

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 搜索与 AI 记忆
  • 你需要填写:OPENAI_API_KEY, GOOGLE_API_KEY, OLLAMA_API_KEY, LMSTUDIO_API_KEY, LITELLM_API_KEY, QDRANT_API_KEY

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: EMBEDDING_PROVIDER, OPENAI_API_KEY, GOOGLE_API_KEY, OLLAMA_URL, EMBEDDING_MODEL, EMBEDDING_DIMENSIONS, OLLAMA_MODE, OLLAMA_API_KEY, LMSTUDIO_URL, LMSTUDIO_API_KEY, LMSTUDIO_ALLOW_MISSING_MODEL_LISTING, LITELLM_URL, LITELLM_API_KEY, LITELLM_SEND_DIMENSIONS, QDRANT_MODE, QDRANT_URL, QDRANT_API_KEY

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "socraticode": {
      "command": "npx",
      "args": [
        "-y",
        "socraticode"
      ],
      "env": {
        "EMBEDDING_PROVIDER": "your-value",
        "OPENAI_API_KEY": "your-value",
        "GOOGLE_API_KEY": "your-value",
        "OLLAMA_URL": "your-value",
        "EMBEDDING_MODEL": "your-value",
        "EMBEDDING_DIMENSIONS": "your-value",
        "OLLAMA_MODE": "your-value",
        "OLLAMA_API_KEY": "your-value",
        "LMSTUDIO_URL": "your-value",
        "LMSTUDIO_API_KEY": "your-value",
        "LMSTUDIO_ALLOW_MISSING_MODEL_LISTING": "your-value",
        "LITELLM_URL": "your-value",
        "LITELLM_API_KEY": "your-value",
        "LITELLM_SEND_DIMENSIONS": "your-value",
        "QDRANT_MODE": "your-value",
        "QDRANT_URL": "your-value",
        "QDRANT_API_KEY": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add socraticode --env EMBEDDING_PROVIDER=your-value --env OPENAI_API_KEY=your-value --env GOOGLE_API_KEY=your-value --env OLLAMA_URL=your-value --env EMBEDDING_MODEL=your-value --env EMBEDDING_DIMENSIONS=your-value --env OLLAMA_MODE=your-value --env OLLAMA_API_KEY=your-value --env LMSTUDIO_URL=your-value --env LMSTUDIO_API_KEY=your-value --env LMSTUDIO_ALLOW_MISSING_MODEL_LISTING=your-value --env LITELLM_URL=your-value --env LITELLM_API_KEY=your-value --env LITELLM_SEND_DIMENSIONS=your-value --env QDRANT_MODE=your-value --env QDRANT_URL=your-value --env QDRANT_API_KEY=your-value -- npx -y socraticode

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "socraticode": {
      "command": "npx",
      "args": [
        "-y",
        "socraticode"
      ],
      "env": {
        "EMBEDDING_PROVIDER": "your-value",
        "OPENAI_API_KEY": "your-value",
        "GOOGLE_API_KEY": "your-value",
        "OLLAMA_URL": "your-value",
        "EMBEDDING_MODEL": "your-value",
        "EMBEDDING_DIMENSIONS": "your-value",
        "OLLAMA_MODE": "your-value",
        "OLLAMA_API_KEY": "your-value",
        "LMSTUDIO_URL": "your-value",
        "LMSTUDIO_API_KEY": "your-value",
        "LMSTUDIO_ALLOW_MISSING_MODEL_LISTING": "your-value",
        "LITELLM_URL": "your-value",
        "LITELLM_API_KEY": "your-value",
        "LITELLM_SEND_DIMENSIONS": "your-value",
        "QDRANT_MODE": "your-value",
        "QDRANT_URL": "your-value",
        "QDRANT_API_KEY": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "socraticode": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "socraticode"
      ],
      "env": {
        "EMBEDDING_PROVIDER": "your-value",
        "OPENAI_API_KEY": "your-value",
        "GOOGLE_API_KEY": "your-value",
        "OLLAMA_URL": "your-value",
        "EMBEDDING_MODEL": "your-value",
        "EMBEDDING_DIMENSIONS": "your-value",
        "OLLAMA_MODE": "your-value",
        "OLLAMA_API_KEY": "your-value",
        "LMSTUDIO_URL": "your-value",
        "LMSTUDIO_API_KEY": "your-value",
        "LMSTUDIO_ALLOW_MISSING_MODEL_LISTING": "your-value",
        "LITELLM_URL": "your-value",
        "LITELLM_API_KEY": "your-value",
        "LITELLM_SEND_DIMENSIONS": "your-value",
        "QDRANT_MODE": "your-value",
        "QDRANT_URL": "your-value",
        "QDRANT_API_KEY": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • EMBEDDING_PROVIDER env
    Embedding provider to use: ollama (default), openai, google, lmstudio, or litellm
  • OPENAI_API_KEY 机密 env
    API key for OpenAI embeddings (required only when EMBEDDING_PROVIDER=openai)
  • GOOGLE_API_KEY 机密 env
    API key for Google embeddings (required only when EMBEDDING_PROVIDER=google)
  • OLLAMA_URL env
    URL of the Ollama server (default: auto-detected; Docker-managed or http://localhost:11434)
  • EMBEDDING_MODEL env
    Embedding model name (defaults per provider; required for lmstudio and litellm)
  • EMBEDDING_DIMENSIONS env
    Embedding vector dimensions (defaults per provider; required for lmstudio and litellm)
  • OLLAMA_MODE env
    Ollama mode: auto (default), docker, or external
  • OLLAMA_API_KEY 机密 env
    Optional API key for authenticated Ollama proxies. Remote endpoints require HTTPS; loopback HTTP is supported.
  • LMSTUDIO_URL env
    LM Studio OpenAI-compatible base URL (default: http://localhost:1234/v1)
  • LMSTUDIO_API_KEY 机密 env
    Optional API key when LM Studio authentication is enabled
  • LMSTUDIO_ALLOW_MISSING_MODEL_LISTING env
    Allow compatible embedding servers without a models endpoint to be probed directly
  • LITELLM_URL env
    LiteLLM OpenAI-compatible base URL (default: http://localhost:4000/v1)
  • LITELLM_API_KEY 机密 env
    LiteLLM master or virtual API key (required when EMBEDDING_PROVIDER=litellm)
  • LITELLM_SEND_DIMENSIONS env
    Forward the dimensions parameter through LiteLLM when explicitly enabled
  • QDRANT_MODE env
    Qdrant mode: managed (default, Docker-managed) or external (user-provided instance)
  • QDRANT_URL env
    Full URL for remote/cloud Qdrant (e.g. https://xyz.cloud.qdrant.io:6333). Only needed when QDRANT_MODE=external
  • QDRANT_API_KEY 机密 env
    API key for remote Qdrant instance. Only needed when QDRANT_MODE=external

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 giancarloerra 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“搜索与 AI 记忆”中的其他服务器比较i

  • 星标数多于此分类中其他 7286 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 7286 个服务器的 96% 更新
  • 基础检查结果等于或优于此分类中其他 7286 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Socraticode 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:OPENAI_API_KEY, GOOGLE_API_KEY, OLLAMA_API_KEY, LMSTUDIO_API_KEY, LITELLM_API_KEY, QDRANT_API_KEY

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(1.16.2)于昨天进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:Context7, Codebase Memory, Exa

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Context7

作者:upstash

Up-to-date docs for AI agents

电脑或云端★ 64,224MIT昨天更新
安装

Codebase Memory

作者:DeusData

Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.

在你的电脑上运行★ 48,148MIT21天前更新
安装

Exa

作者:exa-labs

Connect AI agents to Exa for web search, content fetching, and multi-step research.

在云端运行★ 5,213MIT上个月更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

SocratiCode

= 18.17">

*"There is only one good, knowledge, and one evil, ignorance."* — Socrates

Your AI reads code. SocratiCode understands it.

The open-source codebase context engine: give any AI instant automated knowledge of your entire codebase (and infrastructure) — at scale, zero configuration, fully private, completely free.

Kindly sponsored by Altaire Limited

🛡️ Need MCP governance together with codebase context? See our sibling project JanuScope — the local-first MCP policy proxy: tool blocking, SQL-mutation gate, PII redaction, audit, rate-limit.

If SocratiCode has been useful to you, please ⭐ star this repo — it helps others discover it — and share it with your dev team and fellow developers!

💬 Questions or just want to chat? Join us on Discord.

☁️ SocratiCode Cloud (private beta) — Hosted, shared team index built on the same engine as the open-source version, plus SSO, audit logs, branch-aware indexing, and VPC / air-gapped deployment options. The open-source core remains free forever. Request early access →

One thing, done well: deep codebase intelligence with zero setup, no bloat, and full automation. SocratiCode gives AI assistants deep semantic understanding of your codebase: hybrid search, cross-project search, polyglot code dependency graphs, symbol-level impact analysis and flow, interactive HTML graph explorer for visual navigation, and searchable context artifacts (database schemas, API specs, infra configs, architecture docs). Zero configuration: add it to an MCP host that supports local stdio servers, or use a supported plugin or extension. It manages everything automatically.

Production-ready, battle-tested on enterprise-level large repositories (up to and over ~40 million lines of code). Batched, automatic resumable indexing checkpoints progress — pauses, crashes, restarts, and interruptions don't lose work. The file watcher keeps the index automatically updated at every file change and across sessions. Multi-branch, multi-repo and multi-agent ready — multiple AI agents can work on the same codebase simultaneously, sharing a single index with automatic coordination and zero configuration.

Private and local by default — Docker handles everything, no API keys required, no data leaves your machine. Cloud ready for embeddings (OpenAI, Google Gemini) and Qdrant, and a full suite of configuration options are all available when you need them.

Code intelligence that belongs to you, AI and host agnostic — your codebase's understanding lives with the code, not locked to any one assistant, IDE or model. And because SocratiCode pre-computes the hard parts (blast radius, call-flow, dependency traversal), smaller models can handle architectural complex tasks that would otherwise need top-tier reasoning, saving even more on token cost.

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.

Benchmarked on VS Code (2.45M lines): SocratiCode uses 61% less context, 84% fewer tool calls, and is 37x faster than grep‑based exploration — tested live with Claude Opus 4.6. See the full benchmark →

Contents

  • Quick Start
  • Quick guides
  • Plugins and host integrations
  • Why SocratiCode
  • Features
  • Prerequisites
  • Example Workflow
  • Agent Instructions
  • Configuration
  • Language Support
  • Ignore Rules
  • Context Artifacts
  • Environment Variables
  • Docker Resources
  • Testing
  • Why Not Just Grep?
  • FAQ
  • Community
  • SocratiCode Cloud
  • License

Quick Start

Requirements: Node.js 18.17 or newer with npx on PATH, plus Docker running for the default local Qdrant and Ollama stack.

For one recommended setup path per host and short practical scenarios, use the quick guides. This README has the other installation paths and full configuration.

Quick install guidance for Claude Code, VS Code, and Cursor:

MCP hosts with a JSON `mcpServers` object can use this complete configuration:

{

"mcpServers": { "socraticode": { "command": "npx", "args": ["-y", "--prefer-online", "socraticode@latest"] } } }

Configuration schemas are host-specific. Continue, VS Code, Zed, OpenCode, Gemini CLI, and Cline have dedicated examples in Plugins and host integrations.

Keeping SocratiCode up to date

SocratiCode has two independent update paths. The MCP engine is the socraticode package published to npm. Every npm-backed configuration below uses npx -y --prefer-online socraticode@latest, which checks npm for the current latest release whenever the MCP server starts. A running server cannot replace itself, and a newly published version can only be downloaded while the npm registry is reachable, so restart or reconnect the server after a release.

Native plugins and extensions also contain skills, instructions, manifests, or UI files. Update those through the host as shown below, then start a new session so the new plugin files load. Direct MCP installations contain only the engine and do not install SocratiCode's plugin skills.

IntegrationUpdate plugin, skills, and integration files
Claude Code pluginEnable marketplace auto-update, or run claude plugin marketplace update socraticode followed by claude plugin update --scope user socraticode@socraticode
OpenAI Codex pluginRun codex plugin marketplace upgrade socraticode, then codex plugin add socraticode@socraticode and start a new task
VS Code Agent PluginLeave extensions.autoUpdate enabled for daily checks, or run Extensions: Check for Extension Updates, then start a new Chat
VS Code editor extensionUpdate it through the Extensions view or Extensions: Check for Extension Updates, then reload the window
Cursor local pluginUpdate to the latest GitHub release tag using the commands in the Cursor section, then reload Cursor
Gemini CLI direct MCPRestart Gemini to reconnect the server and resolve the current npm release
Direct MCP onlyNo separate plugin files are installed; restart or reconnect the MCP server to resolve the current npm release

@latest refers to npm's published latest distribution tag; it does not refer to a Git branch. --prefer-online forces npm to check for updated package metadata even when its cache is still fresh. If the same registry is temporarily unavailable, npm can still use an already populated cache; a first installation still requires registry access. See the [npm exec cache documentation](https://docs.npmjs.com

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx