GitDiagram
Architecture diagrams, explanations and Mermaid source for public GitHub repositories.
Code search and navigation across your GitLab, GitHub and Gitea repositories, self-hosted.
选择你使用的 AI 应用,然后复制设置。
通过 3/3 项检查 · 你的提问会经过开发者的服务器({sourcegull_host}) · ✓ 命令已检查 2026年11月13日
第一步:你用哪个 AI?
选择你用的应用,步骤会显示在下方。
可连接 Claude,但需要先准备
地址中有 {…} 部分,需要先改成你自己的 · 在 claude.ai 或桌面应用设置一次,即可在聊天中使用 · 免费账户可添加 1 个 · Team/Enterprise 方案由所有者(Owner)添加
CustomizeConnectors
把这里的内容复制到 Claude 中同名的输入框,然后点击 Continue
Sourcegullhttps://{sourcegull_host}/.api/mcp在 Claude 检测到的登录设置页点击 Continue · Authentication 按作者说明选择(Sign in now、Sign in when needed 或 No sign in),然后点击 Add
+ConnectorsSourcegull
用 Sourcegull 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude 说正在使用 Sourcegull,或回答中出现 Sourcegull 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
能否连接 ChatGPT 取决于方案
完整 MCP:网页版 ChatGPT Business、Enterprise 或 Edu · Pro:以读取/获取权限连接,修改数据的工具可能用不了 · Plus:官方文档尚未确认,如果在插件页看到添加自定义 MCP 的选项可以试试 · 仅限网页 · 地址中有 {…} 部分,需要先改成你自己的
Plugins+Add custom MCP server
输入名称,在 Connection 下粘贴地址,勾选风险提示,然后点击 Create as a plugin
Sourcegullhttps://{sourcegull_host}/.api/mcp开启新聊天,输入前先从插件列表中选择 Sourcegull
用 Sourcegull 告诉我你能帮我做什么,然后做一件给我看✓ 如果 ChatGPT 说正在使用 Sourcegull,或回答中出现 Sourcegull 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 OpenAI 帮助页面核实 · 你的界面可能因版本略有不同
可连接 Claude Code,但需要先准备
地址中有 {…} 部分,需要先改成你自己的
Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell
claude mcp add --transport http --scope user sourcegull 'https://{sourcegull_host}/.api/mcp'应能看到 Sourcegull 在列表中并显示已连接
用 Sourcegull 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude Code 说正在使用 Sourcegull,或回答中出现 Sourcegull 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
可连接 Cursor,但需要先准备
地址中有 {…} 部分,需要先改成你自己的
~/.cursor/mcp.json
粘贴这些设置,填写空着的值并保存
{
"mcpServers": {
"sourcegull": {
"url": "https://{sourcegull_host}/.api/mcp"
}
}
}用 Sourcegull 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Cursor 说正在使用 Sourcegull,或回答中出现 Sourcegull 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同
可连接 VS Code,但需要先准备
地址中有 {…} 部分,需要先改成你自己的
MCP: Open User Configuration
粘贴这些设置,填写空着的值并保存
{
"servers": {
"sourcegull": {
"type": "http",
"url": "https://{sourcegull_host}/.api/mcp"
}
}
}用 Sourcegull 告诉我你能帮我做什么,然后做一件给我看✓ 如果 VS Code 说正在使用 Sourcegull,或回答中出现 Sourcegull 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同
其他支持 MCP 的应用(如 Windsurf、Zed、Gemini CLI)添加方式各不相同,请在应用列表中查看
通过网页连接的应用使用的地址
https://{sourcegull_host}/.api/mcpJSON 设置在下方“开发者专用”中
Claude Code
claude mcp add --transport http --scope user sourcegull 'https://{sourcegull_host}/.api/mcp'Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"sourcegull": {
"url": "https://{sourcegull_host}/.api/mcp"
}
}
}VS Code (mcp.json)
{
"servers": {
"sourcegull": {
"type": "http",
"url": "https://{sourcegull_host}/.api/mcp"
}
}
}这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。
通过互联网连接,适用于
ClaudeChatGPTGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatOpen WebUIRaycast
这个地址需要填入你自己的值,所以我们无法替你读取工具列表。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月15日
注册名称已通过 GitHub 账户 sourcegull 验证,该账户拥有此仓库
代码最后更新于前天
使用 Apache-2.0
这个地址需要填入你自己的账户信息,所以我们无法替你检查
这个地址需要填入你自己的账户信息,所以我们无法替你检查
尚未检查;我们会在检查端点时读取工具列表
提问、分享技巧或报告无法使用。按“有帮助”数量排序。
还没有评价
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 3 项适用的基础检查中通过了 3 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在作者的云端运行。通过互联网连接,无需安装,但你发送的内容会经过作者的服务器。
GitHub 仓库最后更新于前天,最新版本(0.10.0)于前天进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,因此也能用于接受远程 MCP 的应用,例如网页版 ChatGPT(Business 及以上为完整 MCP;Pro 为只读)。
同一分类中有:GitDiagram, Appllama, Cloudflare MCP, Omnara, Repowise
同一分类、其他作者、命令已通过检查。官方的排在前面,再按星标排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Architecture diagrams, explanations and Mermaid source for public GitHub repositories.
Study screens, flows and paywalls from top-earning iOS apps, then build from what wins.
Deploy durable AI agents with Omnara, an open-source managed-agent platform.
Codebase intelligence for AI coding agents: graph, git history, docs, decisions, code health.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Find code across thousands of repositories in milliseconds, with up to 50× fewer tokens. For you and your agents.
Self-hosted code search and code intelligence for GitLab, GitHub and Gitea, written in Rust. Every feature is open source under Apache-2.0, including SSO, SCIM, RBAC and audit logs. There is no paid tier, and there will not be one.
Quick install · Production install · Documentation · Query language · AI agents (MCP) · Architecture · Development
Agents connected over MCP read only the lines that answer their question, with up to 50× fewer tokens than cloning and grepping (token usage).
Sourcegull uses a trigram index of its own. After a push, only the changed paths are written to a delta shard, so new commits are searchable within seconds without rebuilding the repository's index. Small repositories are packed together into compound shards, which keeps instances with thousands of repositories fast. Revisions that are not indexed (any branch, tag or commit) are searched straight from git. Results stream as they are found.
How it compares with the alternatives on the same GitLab: Benchmark.
Every feature is in this repository under Apache-2.0. There is no enterprise edition, no licence key and no paid tier, and the project will not add one. That includes the features that other code search products usually sell separately:
Also included: literal, regexp, keyword (BM25) and structural search; notebooks; code ownership; saved searches and search contexts; a GraphQL API, the gull CLI and outbound webhooks; Grafana dashboards and documented alerts. See the documentation.
To try Sourcegull or run it for a small team on one host, download the Compose bundle of the latest release and start PostgreSQL and Sourcegull with the published image, ghcr.io/sourcegull/sourcegull (linux/amd64):
curl -fsSL https://github.com/sourcegull/sourcegull/releases/latest/download/sourcegull-compose.tar.gz | tar -xz
cd sourcegull-compose echo "POSTGRES_PASSWORD=$(openssl rand -hex 24)" > .env docker compose up -d
Open http://localhost:7080. The first user to sign up becomes the site admin. Add a GitLab, GitHub or Gitea connection under Site admin → Code host connections, and repositories start cloning and indexing.
docs/install.md is the install guide. For production, use one of these:
compose.production.yaml, one container per role), for one host: install.md → Production layout.Running either one is covered by the docs on upgrades (Compose, Helm), backups, monitoring and configuration as code.
/.api/mcp is a Model Context Protocol server. Coding agents search code, read files, find symbols, definitions and references, and read history (log, commits, compare, blame) with the caller's permissions, in output sized for a model's context. Connect an agent in the sidebar gives copy-paste setup for Claude Code, Cursor, VS Code, Codex, Gemini CLI, Zed, JetBrains and others, with a one-click token. For Claude Code:
claude mcp add --transport http sourcegull https://sourcegull.example.com/.api/mcp \
--header "Authorization: Bearer "
Tools and examples: docs/mcp.md.
One binary, sourcegull, runs in roles: web (UI, APIs, search fan-out), repo (git storage, index shards and search, partitioned across nodes), worker (background jobs) and blob (blob store); sourcegull supervise runs them all in one process. sourcegull executor runs sandboxed jobs in Docker or Kubernetes. PostgreSQL holds the data, job queues, leases and caches; there is no Redis. Each repo node indexes and searches its own repositories; web parses the query, applies permissions, fans it out to the nodes and merges the result streams. Details in docs/architecture.md.
Everything runs in Docker; nothing to install but Docker with Compose.
docker compose up -d # Postgres, Sourcegull built from this checkout, UI dev server
open http://localhost:5173 # UI with hot reload; API on :7080 scripts/dev test # the test suite against the dev Postgres scripts/dev check # rustfmt, clippy -D warnings, UI type check and tests scripts/dev help # e2e tests, benchmarks, a local GitLab with seed data, ...
More in docs/development.md.
| Sourcegull | Sourcegraph | Sourcebot | Zoekt | OpenGrok | Hound | GitLab code search | |
|---|---|---|---|---|---|---|---|
| Licence | 🟢 Apache-2.0 | 💰 proprietary | 💰 proprietary, free to 5 users | 🟢 Apache-2.0 | 🟢 CDDL-1.0 | 🟢 MIT | 💰 GitLab tiers |
| Every feature free | 🟢 | 🔴 | 🔴 | 🟢 | 🟢 | 🟢 | 🔴 |
| Written in | Rust | Go, TypeScript | TypeScript (Zoekt inside) | Go | Java | Go | Ruby, Go |
| Indexed regex search | 🟢 | 💰 | 🟢 to 5 users | 🟢 | 🟢 | 🟢 | 💰 default branch only |
| Unindexed revisions (any branch, tag, commit) | 🟢 | 💰 | 🔴 | 🔴 | 🔴 | 🔴 | 🟡 any branch, one project at a time |
| Structural and BM25 keyword search | 🟢 | 💰 | 🔴 | 🔴 | 🔴 | 🔴 | 🔴 |
| Code hosts | 🟢 GitLab, GitHub, Gitea | 💰 many | 🟢 many, to 5 users | 🟡 mirror tools | 🟡 local checkouts (many VCS) | 🟢 git and others | 🟢 GitLab only |
| Precise code navigation (SCIP), cross-repository | 🟢 | 💰 | 🔴 | 🔴 | 🔴 | 🔴 | 🟡 within one project |
| Repository permissions synced from the code host | 🟢 | 💰 | 💰 | 🔴 | 🔴 | 🔴 | 🟢 built in |
| SSO, SCIM, RBAC, audit log | 🟢 | 💰 | 💰 SSO free to 5 users, rest paid | 🔴 | 🔴 | 🔴 | 💰 partly paid |
| Bulk changes across repositories | 🟢 | 💰 | 🔴 | 🔴 | 🔴 | 🔴 | 🔴 |
| Trends, watches, search jobs | 🟢 | 💰 | 🔴 | 🔴 | 🔴 | 🔴 | 🔴 |
| MCP server for AI agents | 🟢 | 💰 | 🟢 to 5 users | 🔴 | 🔴 | 🔴 | 🟡 free, cross-project code search paid |
| Hosted AI assistant | 🔴 | 💰 | 🟢 to 5 users | 🔴 | 🔴 | 🔴 | 💰 |
🟢 free · 💰 paid · 🟡 incomplete · 🔴 not available
Each product indexed the same 1,007 public projects from one GitLab CE 19.4 instance: 7 large repositories at pinned releases (Linux, LLVM, Go, Rust, Kubernetes, GitLab, TensorFlow; 4.4 GB of source) and 1,000 generated repositories with history (0.84 GB). Every product ran alone, from a fresh install, next to GitLab on one host with 6 CPUs and 24 GB of memory.
| All repositories searchable | Peak memory (indexing) | Memory (idle) | Disk | Selective literal | Common literal | Regex | No match |
|---|
| Sourcegull | 3 min 21 s | 3.7 GB | 2.2 GB | 3.7 GB | 54 / 69 ms (724) | 48 / 54 ms (10