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は、この分野で検証されたコンセンサスパターンだけを取り入れ、ローカルに組み立てます。
Related MCP server: codemap
設計
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
MCP server for building and testing AI agents with multi-model experimentation and insights.
Hosted code graph over MCP: exact callers, dependencies, and cross-repo blast radius for AI agents.
Code intelligence platform for AI agents. 20 tools for architecture, security & impact analysis.
The Cortex MCP server provides read-only access to real-time engineering context from the Cortex developer portal, allowing AI coding assistants to answer natural language questions about your organization's catalog (microservices, libraries, domains, teams, infrastructure), scorecards (engineering standards and best practices), initiatives (goals and deadlines), and Engineering Intelligence metrics. It includes tools for querying documentation, tracking personal entities, and accessing AI-assisted insights across the entire Cortex ecosystem.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAn MCP server that gives AI agents structured code understanding and precise code intelligence via local indexing of AST, call graphs, and semantic search.764Apache 2.0
- AlicenseNot gradedqualityAmaintenanceMCP server for local-first code intelligence, providing structural code graph, semantic search, and impact analysis to AI agents.2MIT
- AlicenseNot gradedqualityBmaintenanceLocal-first code intelligence and safety layer for AI coding agents. MCP server exposes dependency graph, impact analysis, and AST-compressed repo context, backed by typed local memory, patch-scope safety gates, and git-independent transaction rollback.1MIT
- AlicenseNot gradedqualityAmaintenanceA persistent code-intelligence MCP server that builds a queryable knowledge graph of your codebase, enabling AI assistants to perform cross-file structural reasoning, dependency analysis, and blast radius detection.6MIT
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/code-context-fabric'
If you have feedback or need assistance with the MCP directory API, please join our Discord server