mcp-reposkein
Official
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/*.jsonlfiles, 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 asks | RepoSkein answers โ directly from the graph |
"Who calls | 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:
git clone <repo-url> && cd <repo> && npx @reposkein/mcp initinit 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 reposkeinThe 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:
npx @reposkein/mcp initThis downloads the indexer for your platform, installs git hooks + the navigation skill, builds the initial code graph, and prints an MCP config block. Then:
Add the printed config to your agent (e.g. Claude Code's
.mcp.json):{ "mcpServers": { "reposkein": { "command": "reposkein-mcp", "env": { "REPOSKEIN_REPO_PATH": "/path/to/your/repo" } } } }Verify the graph (
initalready built it):reposkein-mcp doctor . # โ binary โ indexed (N nodes) โ ready git add .reposkein/meta.json .reposkein/config.toml && git commit -m "add RepoSkein config"nodes.jsonlandedges.jsonlare derived from your working tree and git-ignored โ a clone rebuilds them on first use. Re-index after big changes withreposkein-mcp index .(or the agent'sreindex_filetool).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-setupskill โ it installs, indexes, and verifies everything: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(orhttps://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 withreposkein-mcp doctor .per repo and asemantic_findsmoke 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.
Doc | What's in it |
the | |
the | |
the local embedding server โ Docker/GHCR, platforms, GPU | |
Track 1 retrieval benchmark โ method + results | |
Track 2 end-task (SWE-bench) harness | |
release history (Keep a Changelog) | |
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
Tree-sitter โ the parsers behind every language extractor.
Model Context Protocol โ the agent integration standard.
Voyage AI โ
voyage-code-3and the open-weightvoyage-4-nanopowering the optional embeddings tier.Discovery via Glama, skills.sh, mcpservers.org, and the awesome-mcp community lists.
README header by capsule-render.
Contact
๐ Bugs / features: open an issue
๐ฌ Questions / ideas: GitHub Discussions
License
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/reposkein/reposkein'
If you have feedback or need assistance with the MCP directory API, please join our Discord server