Skip to main content
Glama
Rajahn
by Rajahn

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の単一の強力なツール explore()

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-projects/spring-petclinic

Spring DI主体、依存性注入を認識するエッジをテスト

google/gson

CodeGraphが発表した93.3%のJavaカバレッジに匹敵

square/okhttp

コールチェーンの深さ

mybatis/mybatis-3

生成コードのノイズフィルタリング

インストール(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 m1

MCPツール

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

A
license - permissive license
Not graded
quality - not tested
A
maintenance

Maintenance

0dRelease cycle
8Releases (12mo)
Commit activity

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

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    An MCP server that gives AI agents structured code understanding and precise code intelligence via local indexing of AST, call graphs, and semantic search.
    76
    4
    Apache 2.0
  • A
    license
    Not graded
    quality
    A
    maintenance
    MCP server for local-first code intelligence, providing structural code graph, semantic search, and impact analysis to AI agents.
    2
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Local-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.
    1
    MIT
  • A
    license
    Not graded
    quality
    A
    maintenance
    A 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.
    6
    MIT

View all related MCP servers

Latest Blog Posts

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