企业级-grade (40m+ LOC) codebase intelligence, zero-setup, 本地 & 私密 插件/Skill/扩展、MCP: 混合 semantic search, polyglot 依赖 graphs, symbol-级别 impact analysis & call-flow, interactive HTML viewer, cross-project & 分支-aware search, DB/API/infra knowledge. 61% less tokens, 84% fewer calls, 37x faster. 云端在测试版.GitHu……
项目介绍
企业级-grade (40m+ LOC) codebase intelligence, zero-setup, 本地 & 私密 插件/Skill/扩展、MCP: 混合 semantic search, polyglot 依赖 graphs, symbol-级别 impact analysis & call-flow, interactive HTML viewer, cross-project & 分支-aware search, DB/API/infra knowledge. 61% less tokens, 84% fewer calls, 37x faster. 云端在测试版.
核心功能
- [快速启动](#quick-start) - [Plugins](#plugins) - [Why SocratiCode](#why-socraticode) - [Features](#features) - [Prerequisites](#prerequisites) - [示例 Workflow](#示例-workflow)
使用指南
<a href="#claude-code-plugin-recommended-for-claude-code-users"><img src="https://img.shields.io/badge/Claude_Code-Install_Plugin-CC785C?style=flat-square&logoColor=white" alt="Install Claude Code Plugin"></a> <a href="https://marketplace.visualstudio.com/items?itemName=giancarloerra.socraticode"><img src="https://vsmarketplacebadges.dev/version-short/giancarloerra.socraticode.svg?style=flat-square&label=VS%20Code%20Marketplace&logo=visualstudiocode&color=0098FF" alt="VS Code Marketplace"></a> <a href="https://open-vsx.org/extension/giancarloerra/socraticode"><img src="https://img.shields.io/open-vsx/v/giancarloerra/socraticode?style=flat-square&label=Open%20VSX&color=A52A2A" alt="Open VSX"></a> <a href="https://insiders.vscode.dev/redirect/mcp/install?name=socraticode&config=%7B%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22socraticode%22%5D%7D"><img src="https://img.shields.io/badge/VS_Code-Install_MCP_Server-0098FF?style=flat-square&logo=visualstudiocode&logoColor=white" alt="Install in VS Code"></a> <a href="https://insiders.vscode.dev/redirect/mcp/install?name=socraticode&config=%7B%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22socraticode%22%5D%7D&quality=insiders"><img src="https://img.shields.io/badge/VS_Code_Insiders-Install_MCP_Server-24bfa5?style=flat-square&logo=visualstudiocode&logoColor=white" alt="Install in VS Code Insiders"></a> <a href="cursor://anysphere.cursor-deeplink/mcp/install?name=socraticode&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsInNvY3JhdGljb2RlIl19"><img src="https://img.shields.io/badge/Cursor-Install_MCP_Server-F14C28?style=flat-square&logo=cursor&logoColor=white" alt="Install in Cursor"></a> </p> > "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. <p align="center"> Kindly sponsored by <a href="https://altaire.com">Altaire Limited</a> </p> > 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! > One thing, done well: deep codebase intelligence — zero setup, no bloat, fully automatic. 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 any MCP host, or install the Native Plugin for Claude Code, Cursor, VS Code Copilot, Codex or Gemini CLI. 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.
项目信息
| 项目 | 信息 |
|---|---|
| 项目名称 | giancarloerra/SocratiCode |
| Star 数 | 3,059 |
| Fork 数 | 394 |
| 编程语言 | TypeScript |
| 开源协议 | AGPL-3.0 |
| 创建时间 | 2026-02-26 |
| 最近更新 | 2026-06-28 |
| 主题标签 | ai、ai-assistant、ast、claude、claude-code |
项目地址
GitHub 仓库:<https://github.com/giancarloerra/SocratiCode>
> 完整 URL:[https://github.com/giancarloerra/SocratiCode](https://github.com/giancarloerra/SocratiCode)
如需查看完整源码、安装命令、使用示例、API 文档,请直接访问上方项目地址。所有信息均以 GitHub 仓库为准。