ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที รีวิวและบัญชีผู้ใช้จะมาในขั้นถัดไป
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · อธิบายเป็นภาษาคน

Socraticode

โดย giancarloerraรุ่น 1.16.2i★ –iรันบนเครื่อง
ชื่อใน registryio.github.giancarloerra/socraticode

ติดตั้ง

ภาพรวม

คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)

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

สามเสาของ PopNx MCP

สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน

ใช้ทำอะไรได้

ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry

  • การเชื่อมต่อ: รันบนเครื่อง
  • ช่องทาง (transport): 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": "ใส่ค่าของคุณ",
        "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": "ใส่ค่าของคุณ"
      }
    }
  }
}

พิมพ์คำสั่งนี้ใน Terminal

claude mcp add socraticode --env EMBEDDING_PROVIDER='ใส่ค่าของคุณ' --env OPENAI_API_KEY='ใส่ค่าของคุณ' --env GOOGLE_API_KEY='ใส่ค่าของคุณ' --env OLLAMA_URL='ใส่ค่าของคุณ' --env EMBEDDING_MODEL='ใส่ค่าของคุณ' --env EMBEDDING_DIMENSIONS='ใส่ค่าของคุณ' --env OLLAMA_MODE='ใส่ค่าของคุณ' --env OLLAMA_API_KEY='ใส่ค่าของคุณ' --env LMSTUDIO_URL='ใส่ค่าของคุณ' --env LMSTUDIO_API_KEY='ใส่ค่าของคุณ' --env LMSTUDIO_ALLOW_MISSING_MODEL_LISTING='ใส่ค่าของคุณ' --env LITELLM_URL='ใส่ค่าของคุณ' --env LITELLM_API_KEY='ใส่ค่าของคุณ' --env LITELLM_SEND_DIMENSIONS='ใส่ค่าของคุณ' --env QDRANT_MODE='ใส่ค่าของคุณ' --env QDRANT_URL='ใส่ค่าของคุณ' --env QDRANT_API_KEY='ใส่ค่าของคุณ' -- npx -y socraticode

เติมค่าที่เว้นว่างไว้ก่อนรัน

เปิดใน Cursor

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json

{
  "mcpServers": {
    "socraticode": {
      "command": "npx",
      "args": [
        "-y",
        "socraticode"
      ],
      "env": {
        "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": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

เปิดใน VS Code

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .vscode/mcp.json ของโปรเจกต์

{
  "servers": {
    "socraticode": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "socraticode"
      ],
      "env": {
        "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": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น

ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี

ค่าที่ต้องใส่เอง

  • 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

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

ทำอะไรได้บ้าง

รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันด้วยบัญชี GitHub giancarloerra ซึ่งเป็นเจ้าของ repo

  • … ยังไม่ตรวจ

    ยังมีคนดูแล

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • … ยังไม่ตรวจ

    มีสัญญาอนุญาต (license)

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

เทียบกับตัวอื่นในหมวด ค้นข้อมูลและความจำของ AIi

  • ดาวมากกว่า 0% ของอีก 7258 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 97% ของอีก 7258 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 7258 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

Socraticode ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

ต้องใส่ค่าเหล่านี้: OPENAI_API_KEY, GOOGLE_API_KEY, OLLAMA_API_KEY, LMSTUDIO_API_KEY, LITELLM_API_KEY, QDRANT_API_KEY

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (1.16.2) เข้า registry เมื่อวาน

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี Context7, Codebase Memory, Exa

ตัวที่ใช้แทนได้

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

Context7

โดย upstash

ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว

บนเครื่องหรือคลาวด์★ 64,224MITอัปเดต วันนี้
ติดตั้ง

Codebase Memory

โดย DeusData

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

รันบนเครื่อง★ 48,148MITอัปเดต 20 วันที่ผ่านมา
ติดตั้ง

Exa

โดย exa-labs

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

รันบนคลาวด์★ 5,213MITอัปเดต เดือนที่แล้ว
ติดตั้ง

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ 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

ตัดมาแค่ช่วงต้น อ่านต่อใน repo

ถาม PopNx