RepoWeaver
RepoWeaver
AIコーディングエージェントのためのコードコンテキストファブリック — 決定論的コールグラフインデックス、ハイブリッド検索、および単一ツールのMCPインターフェース。
RepoWeaverは、AIコーディングエージェント(Codex、Claude Code、CodeWizなど)がファイル全体を読まずに構造的な質問に答えられるようにする、ローカルでゼロコストのコードインテリジェンス層を構築します。
"Who calls this method, and what would break if I change its signature?"
→ explore(query, task="impact", repo=".", max_tokens=4000)
→ [verbatim source slices + call paths + blast radius + known blind spots]なぜ
grepやファイル全体の読み取りに頼るAIエージェントは、トークンを浪費し、ファイル間の呼び出しチェーンを見逃します。既存のツールは、クラウドAPIを必要とするか、インデックス層にLLMを組み込むか、制限的なライセンスを伴います。RepoWeaverは、この分野で検証されたコンセンサスパターンだけを取り入れ、ローカルに組み立てます。
設計
6つのプリミティブはすべて、複数のオープンソースツールで独立に検証されています:
# | プリミティブ | 検証元 |
1 | tree-sitterによる決定論的パース、ローカル$0 | CodeGraph · GitNexus · Graft · Aider |
2 | コール / 継承 / インポートのエッジ + ブラスト半径 | CodeGraph · GitNexus · Graft · CodeQL |
3 | BM25/FTS + PageRankグラフ拡散 | Graft · CodeGraph · Aider |
4 | コンテンツハッシュのインクリメンタルな鮮度 | Graft · Codebase-Memory · CodeGraph |
5 | MCPの単一の強力なツール | CodeGraph(経験的に検証済み) |
6 | AGENTS.mdプロトコルインジェクション + 編集フック | GitNexus · CodeGraph · Graft · Potpie |
含まれないもの: インデックス層のLLM(すべての本格的なツールが却下)、外部APIに送信されるコード、独断的なセマンティック要約。
ロードマップ
マイルストーン | タグ | ステータス |
M1 — Fabric MVP (Javaパーサー + エッジ + FTS5 + PageRank + MCP) | v0.1.0 | 🔜 |
M2 — 鮮度と信頼度 (自動同期 + 曖昧性解消 + 信頼度エッジ) | v0.2.0 | 計画中 |
M3 — 型精度オーバーレイ (SCIP/jdtls) | v0.3.0 | 計画中 |
M4 — ランタイムオーバーレイ (OTel/Jaegerトレース → エッジ重み) | v0.4.0 | 計画中 |
各マイルストーンには、CIで実行される fabric verify --level mN ゲートが含まれます。
検証アプローチ
ベンチマークは公開リポジトリのみを使用します — このリポジトリにプロプライエタリコードは入りません。
ベンチマークリポジトリ | 目的 |
| Spring DI主体、依存性注入を認識するエッジをテスト |
| CodeGraphが発表した93.3%のJavaカバレッジに匹敵 |
| コールチェーンの深さ |
| 生成コードのノイズフィルタリング |
インストール(v0.1.0で提供予定)
pip install repoweaver
fabric build # index current repo, $0, no LLM
fabric init # inject AGENTS.md protocol + edit hook
fabric verify --level m1MCPツール
explore(
query: str,
task: "understand" | "impact" | "locate" | "debug",
repo: str = ".",
max_tokens: int = 4000
) → {
slices: [{file, span, source}],
call_paths: [...],
blast_radius: [...],
blind_spots: "DI / reflection / MQ edges not represented"
}謝辞
デザインパターンは以下から引用しています(フォークではありません):
CodeGraph · Graft · GitNexus · Serena · SCIP · Aider
ライセンス
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Hosted MCP server for structured code review passes on human- and AI-written code. Free tier.
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
An MCP server that gives your AI access to the source code and docs of all public github repos
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Rajahn/RepoWeaver'
If you have feedback or need assistance with the MCP directory API, please join our Discord server