mcp-reposkeinのロゴ

mcp-reposkein

組織
reposkein

Deterministic code-graph (GraphRAG) over your repo for LLM agents — local-first, git-native, zero-infra, served via MCP. Python, TS/JS, Rust, Go, Java, C#.

公開者reposkein
リポジトリreposkein
言語TypeScript
フォーク
1
スター
12
利用可能なツール
0
通信方式stdio
カテゴリ
ライセンスApache-2.0
リンク
  • ツールをAIワークフローに接続

    mcp-reposkeinは、対応するAIクライアントやAIエージェントから利用できるMCP機能を提供します。

  • 0個の利用可能なツール

    呼び出し可能なアクションを以下で確認できます。サーバーから提供されている場合は、名前や説明も表示されます。

  • コピーして使える設定

    セットアップ用の設定例を使って、お好みのMCPクライアントにこのサーバーを設定できます。

  • オープンソースの注目度

    リンク先のリポジトリには12件のスターと1件のフォークがあります。

npm CI release License Ko-fi Lulu MCPs

Listed on: skills.sh · Glama · mcpservers.org · ghcr.io

🔭 Live demo → — RepoSkein's own graph, rendered as an interactive 3D constellation in your browser.

Get running in one line: Claude Code: /plugin marketplace add reposkein/reposkein · elsewhere: npx @reposkein/mcp init — full walkthrough in Installation.

Introduction

RepoSkein gives your AI coding agent a map of your codebase — so it navigates structure instead of grepping and guessing.

It uses Tree-sitter to build a deterministic Code Property Graph of your repo — files, classes, functions, imports, and call edges — and serves it to any MCP-capable agent (Claude Code, Cursor, Codex, …). As the agent works, it writes short natural-language summaries onto graph nodes; those summaries are versioned in git alongside the code, so an agent's understanding becomes shared team memory that the next agent — or teammate — starts from.

Who it's for: developers using AI coding agents on real, large, or nested/polyglot codebases, who are tired of the agent burning its context window on grep; and teams who want that hard-won understanding to persist and be shared rather than re-derived every session.

  • ⚡ Zero-infra — no database, no Docker. The graph lives in plain .reposkein/*.jsonl files, rebuilt from your working tree in seconds.
  • 🔒 Deterministic — same code → byte-identical graph. No LLM in the construction path.
  • 🌐 7 languages — Python, TypeScript, JavaScript, Rust, Go, Java, C#.
  • 🧩 Local-first & git-native — the summaries your agents write are committed and travel with your code.
Your agent asksRepoSkein answers — directly from the graph
"Who calls charge()?"the exact callers, with one-line summaries
"What breaks if I change this?"the impacted callers + the tests that cover them
"Where do I even start?"ranked entry-point functions by meaning, not filename
"What usually changes with this file?"co-change history from git

In a deterministic, no-LLM benchmark, RepoSkein surfaces the right functions with a mean ~8.4× fewer context tokens than a grep-based agent on structural queries.

The bundled reposkein-graph-rag skill drives a semantic_find → get_context_profile → impact → get_temporal_context → write_semantic_summary → reindex_file loop, so you just ask in plain language. Full workflow, an example interaction, and the tool-by-tool + CLI reference: docs/TOOLS.md.

Table of contents

For teams

Joining a repo that already has RepoSkein set up? One command, no questions asked:

sh
git clone <repo-url> && cd <repo> && npx @reposkein/mcp init

init detects the committed .reposkein/meta.json, reuses its config, and wires up your agent's MCP config automatically. Publish a durable, shareable view of the graph with a hosted constellation (GitHub Pages via reposkein-mcp init --ci) — and because summaries are committed to git, they're shared team memory: every teammate's agent starts from what previous agents already learned, not from scratch.

Support: if RepoSkein is useful, Ko-fi support funds hosted-constellation infrastructure and indexer maintenance — supporters get an ad-free experience once sponsorship tiers ship.

Prerequisites

  • Node.js 18+ — to run npx @reposkein/mcp (the indexer binary is fetched automatically).
  • An MCP-capable agent — Claude Code, Cursor, Codex, Zed, etc.
  • A git repository to index (RepoSkein installs git hooks and reads git history for get_temporal_context).
  • Optional: Docker (only for the embeddings server or the Neo4j backend); Rust (only to build from source).

Installation

Claude Code? Two commands, zero config:

/plugin marketplace add reposkein/reposkein
/plugin install reposkein

The plugin registers the MCP server against whatever repo you have open (REPOSKEIN_REPO_PATH is wired to the project directory) and ships the navigation skills as /reposkein:reposkein-setup and /reposkein:reposkein-graph-rag — run the setup skill once per repo to build the graph. Optional embeddings (Voyage AI or any OpenAI-compatible endpoint) work by exporting the REPOSKEIN_EMBED_* env vars in your shell — the plugin's server inherits them; the default is fully local, zero-egress lexical search.

Any other agent — in the repo you want it to understand:

sh
npx @reposkein/mcp init

This downloads the indexer for your platform, installs git hooks + the navigation skill, builds the initial code graph, and prints an MCP config block. Then:

  1. Add the printed config to your agent (e.g. Claude Code's .mcp.json):
    jsonc
    {
      "mcpServers": {
        "reposkein": {
          "command": "reposkein-mcp",
          "env": { "REPOSKEIN_REPO_PATH": "/path/to/your/repo" }
        }
      }
    }
  2. Verify the graph (init already built it):
    sh
    reposkein-mcp doctor .         # ✓ binary  ✓ indexed (N nodes)  ✓ ready
    git add .reposkein/meta.json .reposkein/config.toml && git commit -m "add RepoSkein config"
    nodes.jsonl and edges.jsonl are derived from your working tree and git-ignored — a clone rebuilds them on first use. Re-index after big changes with reposkein-mcp index . (or the agent's reindex_file tool).
  3. Ask your agent "what calls this function?" or "what breaks if I change X?" — it answers from the graph.

Prefer to let your agent set it up? Install the skills and tell it to run the reposkein-setup skill — it installs, indexes, and verifies everything:

sh
npx skills add reposkein/reposkein --all

Platforms: prebuilt binaries for macOS (Apple Silicon), Linux (x64/arm64), and Windows (x64). Elsewhere, point REPOSKEIN_INDEXER_BIN at a from-source build.

Let your agent install it for you

For complex setups — multi-repo workspaces, Neo4j backend, the local embedding server, or wiring up agents besides Claude Code (OpenCode, Cursor, Codex, Continue, Cline, …) — paste this into any MCP-capable agent and it'll walk you through:

Install RepoSkein in this workspace. Read docs/INSTALL.md (or https://github.com/reposkein/reposkein/blob/main/docs/INSTALL.md), walk me through the question tree in §1, then execute §2 onward. If anything fails, troubleshoot via §9 — don't silently skip steps. Confirm with reposkein-mcp doctor . per repo and a semantic_find smoke test before claiming done.

docs/INSTALL.md is written for agents: it covers the decision tree (one repo vs workspace, JSONL vs Neo4j, lexical vs cloud vs local embeddings, which agent CLIs to wire), per-agent config schemas (.mcp.json, opencode.json, .cursor/mcp.json, Continue, Codex, Cline, …), the Apple-Silicon mps native embed-server recipe, and a troubleshooting table.

Supported languages

Python, TypeScript, JavaScript, Rust, Go, Java, C# — with an honest per-language matrix of what resolves exact vs by-name vs ambiguous. Full table + the resolution rules: docs/ARCHITECTURE.md. Adding a language is a well-trodden path — contributions welcome.

Going deeper: how the graph is built + cross-repo federation · the constellation viewer · semantic embeddings · Neo4j backend · shared remote server · building from source + repo layout.

Documentation

Full index, task-oriented: docs/README.md.

DocWhat's in it
mcp/README.mdthe @reposkein/mcp package — tools, config, env vars, session usage stats
viz/README.mdthe @reposkein/viz constellation viewer — architecture, dev/build
embed-server/README.mdthe local embedding server — Docker/GHCR, platforms, GPU
mcp/bench/README.mdTrack 1 retrieval benchmark — method + results
mcp/bench/track2/README.mdTrack 2 end-task (SWE-bench) harness
CHANGELOG.mdrelease history (Keep a Changelog)
skills/the two cross-agent skills

Contributing

Contributions are welcome — bug fixes, new languages, docs. See CONTRIBUTING.md for the dev setup, the determinism invariants you must preserve, and the step-by-step recipe for adding a new language (it's a well-trodden path — Go, Java, and C# were each added the same way). RepoSkein uses Conventional Commits and keeps CI green (determinism gates + clippy + tests).

Acknowledgements

Contact

License

Apache-2.0.

mcp-reposkeinのMCPを複数のAIモデルで活用

TypingMindはワークスペース単位でMCPツールに接続します。そのため、一度mcp-reposkeinに接続すれば、モデルごとに個別に設定することなく、TypingMind内のさまざまなAIモデルで利用できます。 このMCPは、デバイス上のTypingMind MCPコネクタを通じてローカルで動作します。

ローカルコネクタのセットアップガイド

MCPサーバーが、お使いのコンピューター上のローカルファイル、アプリ、非公開リソースにアクセスする必要がある場合は、この方法を使います。

1

MCP設定を開く

TypingMindで「設定」、「詳細設定」、「MCP」の順に進み、「コネクタを設定」を選択してください。

  1. ブラウザでTypingMindを開いてください。
  2. 設定アイコンをクリックしてください。
  3. 「詳細設定」に移動してください。
  4. 「MCP」セクションを開いてください。
  5. 「コネクタを設定」をクリックし、「このデバイス」を選択してください。
「このデバイス」が選択されたTypingMindのMCPコネクタ設定画面
2

コネクタのコマンドを実行

「このデバイス」を選択し、TypingMindからコマンドをコピーしてターミナルで実行してください。MCPの使用中は、プロセスを実行したままにしてください。

  1. TypingMindに表示されるセットアップコマンドをコピーしてください。
  2. macOSではターミナルを、WindowsではWindows Terminalを開いてください。
  3. コマンドを貼り付けて実行してください。
  4. ターミナルで続行の確認を求められた場合は、パッケージのインストールを承認してください。
  5. MCPツールの使用中は、ターミナルウィンドウを開いたまま、プロセスの実行を継続してください。
3

mcp-reposkeinをサーバーとして追加

コネクタのステータスが「準備完了」になったら、「サーバーを編集」をクリックし、MCPサーバーの設定を貼り付けてください。

  1. コネクタのステータスが「準備完了」になるまでお待ちください。
  2. 「サーバーを編集」をクリックしてください。
  3. mcp-reposkeinのMCPサーバー設定を貼り付けてください。
  4. サーバー一覧を保存してください。
  5. コネクタが引き続き使用可能か確認するには、更新してください。
稼働中のサーバーと「サーバーを編集」ボタンが表示されたTypingMindのMCP設定画面
{
  "mcpServers": {
    "reposkein": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

複数のモデルで同じ接続を使用

サーバー一覧を保存し、「プラグイン」を開いてmcp-reposkeinのMCPツールを有効にしてください。その後、TypingMindで対応するAIモデルを選択し、チャットでツールを使うか、AIエージェントに割り当ててください。

  1. TypingMindの「プラグイン」ページを開いてください。
  2. mcp-reposkeinのMCPツールを有効にしてください。
  3. チャットを開始し、使用するAIモデルを選択してください。
  4. MCPツールをチャットで使うか、AIエージェントに割り当ててください。
  5. MCPに再接続することなく、必要に応じて別のAIモデルに切り替えられます。
選択したAIモデルと有効なMCPツールを使用したTypingMindのチャット
mcp-reposkeinを使ってこのタスクを手伝ってもらえますか?
mcp-reposkein
はい、読みました。
mcp-reposkeinで調べた結果をお伝えします。

よくある質問

mcp-reposkein MCPサーバーは何に使いますか?

mcp-reposkeinは、対応するAIクライアントを外部ツールやコンテキストに接続するためのMCPサーバーです。TypingMindでは、このMCPサーバーを一度追加するだけで、AIワークスペース内でそのツールを利用できるようになります。

TypingMindでmcp-reposkein MCPを複数のAIモデルと併用できますか?

はい。TypingMindはワークスペース単位でMCPツールに接続するため、モデルごとにMCPサーバーを設定する必要はありません。Claude、ChatGPT、Geminiや、TypingMindで設定したその他のAIモデルでmcp-reposkeinを利用できます。

TypingMindでmcp-reposkein MCPを使うメリットは何ですか?

TypingMindは、複数のAIモデル、プロンプト、プラグイン、AIエージェント、APIキー、MCPツールを1つのワークスペースにまとめられる、LLMチャット向けの優れたフロントエンドです。mcp-reposkeinを接続すると、TypingMindでチャットのワークフローを整理しながら、お好みのモデルでそのMCPツールを利用できます。

mcp-reposkein MCPをTypingMindに接続するにはどうすればよいですか?

mcp-reposkeinはTypingMindのローカルMCPコネクタ経由で動作します。MCPサーバーがコンピューター上のローカルファイル、デスクトップアプリ、コマンドラインツール、プライベートリソースにアクセスする必要がある場合に最適です。

TypingMindでmcp-reposkein MCPのどのようなツールを利用できますか?

mcp-reposkeinはMCP機能を提供しています。TypingMindのプラグインページで有効にすると、チャットで使用したり、AIエージェントに割り当てたりできます。

mcp-reposkein MCPを使うには、APIキーをTypingMindと共有する必要がありますか?

いいえ。TypingMindはローカルファーストの設計で、モデルプロバイダー、APIキー、プロンプト、MCP設定をご自身で管理できます。mcp-reposkeinで認証が必要な場合は、接続の作成時に、そのMCPサーバーに必要なヘッダー、OAuth設定、またはローカル設定を追加してください。

関連するMCPサーバー

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇