技能潮 SkillTide 提交收录
官方说明7 个来源MCP 服务8 天前
muvon/octocode

muvon/octocode

Semantic code indexer with a GraphRAG knowledge graph: index a codebase and
在 GitHub 查看 ↗直链 · 无中转页
配置模板(请按你的客户端调整)
claude mcp add octocode -- npx -y octocode
这是根据仓库名生成的可粘贴骨架,命令行参数与包名请以该项目 README 为准。
★ 数取值
510 ★ · Muvon/octocode · 取自该仓库的 GitHub 页面 · (2026-10-16 20:00:20 核对)
来源明细
收录自 punkpeye/awesome-mcp-servers 榜单(我们从中收集的条目之一) · 条目类型:MCP 服务
收录与活跃
收录于 2026-10-09 · 最近见到 2026-10-16 · 共见到 32 次 · 被 7 个来源列出
评分构成
综合分 703 · 510 ★ · 7 个来源 · mcp
常见问题(答案都来自我们的记录)
怎么安装?
我们【没有】从该仓库取到安装命令(我们的 install 覆盖率只有约 4%)。请看它的 README 或 releases 页。
它适合谁 / 用来做什么?
我们把它归在这些标签下: MCP 服务。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
仓库 Muvon/octocode;我们收录于 2026-10-09;最近见到 2026-10-16。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。
第三方质量标记

**Structural Code Intelligence for AI Agents — MCP Server + Knowledge Graph + Se

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

**Give your AI assistant a brain for your codebase.** Octocode transforms your project into a navigable knowledge graph that Claude, Cursor, and other AI agents can search, understand, and navigate.
🚀 Quick Start • 🤖 MCP Integration • 📖 Documentation • 🌐 Website
---
🤖 Built for AI Agents
**The Problem:** AI assistants are blind to your codebase. They can't search your files, understand dependencies, or remember context across sessions.
**The Solution:** Octocode's MCP server gives AI agents:
- 🔍 **Semantic search** — Find code by meaning, not keywords
- 🕸️ **Knowledge graph** — Navigate imports, calls, and dependencies
- 📝 **Code signatures** — View structure without reading entire files
- 🧭 **LSP precision** — Go-to-definition, find-references, and hover docs via your language server
**Works with:** Claude Desktop • Cursor • Windsurf • Any MCP-compatible AI
Now your AI assistant can:
🤔 Why Octocode?
**Standard RAG treats your code as flat text chunks.** It finds similar-sounding snippets but has no idea that auth_middleware.rs imports jwt.rs, calls user_store.rs, and is wired into router.rs. Octocode understands *structure*.
Octocode uses **tree-sitter AST parsing** to build a live graph of files, symbols, imports, calls, inheritance, and implementations. The MCP graphrag tool builds this graph lazily from the current source tree, without an index, embeddings, or an LLM. Optional indexed GraphRAG adds semantic file discovery, descriptions, and broader architectural relationships.
🔬 How It Works
1. **Live AST Graph** — tree-sitter extracts file and symbol nodes plus deterministic contains, imports, calls, extends, and implements relationships directly from current source
2. **Always-on Graph Navigation** — MCP graph lookup, relationship traversal, path finding, and overview work with [graphrag].enabled = false
3. **Optional Enrichment** — enabling indexed GraphRAG overlays semantic file matches, LLM descriptions, and broader file-level architectural relationships; symbols are never embedded or LLM-generated
4. **Hybrid Search** — semantic similarity + BM25 full-text search + reranking handles meaning-based code retrieval separately
5. **MCP Server** — exposes semantic_search, view_signatures, graphrag, and structural_search to any MCP-compatible client
✨ What Makes It Different
| | Standard RAG | Doc Lookup Tools | **Octocode** |
|---|---|---|---|
| **Indexes** | Text chunks | External library docs | Your codebase structure (AST) |
| **Understands** | Similar text | API specs & usage | Functions, imports, dependencies |
| **Cross-file** | No | No | Yes — navigates the dependency graph |
| **Relationships** | No | No | imports, calls, implements, extends... |
| **AI integration** | Varies | MCP | Native MCP server + LSP |
> **Doc tools give AI the manual for libraries you use. Octocode gives AI the blueprint of how you put them together.**
**Built with Rust** for performance. **Local-first** for privacy. **Open source** (Apache 2.0) for transparency.
📊 Retrieval Quality
Octocode ships a **reproducible retrieval benchmark** (benchmark/): 127 curated code-search queries with line-range ground truth, run against octocode's own source (pinned at b1771ba so annotations never drift). The numbers below use a **fully local, no-API-key** stack — jina-embeddings-v2-base-code via fastembed, **no reranker** — so they are a floor, not a ceiling:
| Config | Hit@5 | Hit@10 | MRR | NDCG@10 | Recall@10 |
|---|---|---|---|---|---|
| Dense vector only | 0.598 | 0.717 | 0.485 | 0.528 | 0.671 |
| Hybrid, default RRF weights (0.7/0.3) | 0.598 | 0.717 | 0.485 | 0.528 | 0.671 |
| **Hybrid, keyword-tuned (0.3/0.7)** | **0.732** | **0.835** | **0.572** | **0.620** | **0.807** |
Tilting RRF fusion toward the BM25/keyword signal — which carries disproportionate weight for code's exact identifiers — lifts **Hit@5 by +22%** and **Recall@10 by +20%** at zero added cost.
来源
awesome · https://github.com/Muvon/octocode
按领域浏览
MCP 服务
Traction
510 ★
收录于
昨天

更多MCP 服务

查看MCP 服务全部 5,525 条 →

所属领域与标签

每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。

浏览全部领域 →

← 返回索引