Context7
Up-to-date docs for AI agents
作者による説明(英語の原文)
A map of your codebase for AI agents: code graph, search, call paths and change impact. No API key.
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
使っているAIアプリを選んで、設定をコピーしてください。
必要なもの
どのアプリを使っていますか?
上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。
Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます
{
"mcpServers": {
"repomap": {
"command": "npx",
"args": [
"-y",
"@sylphx/repomap",
"mcp"
]
}
}
}ターミナルでこれを実行します
claude mcp add repomap -- npx -y @sylphx/repomap mcpプロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます
{
"mcpServers": {
"repomap": {
"command": "npx",
"args": [
"-y",
"@sylphx/repomap",
"mcp"
]
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
プロジェクトの .vscode/mcp.json に貼り付けます
{
"servers": {
"repomap": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@sylphx/repomap",
"mcp"
]
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。
選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。
この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月7日にチェック
レジストリ名は、リポジトリを所有するGitHubアカウント SylphxAI で確認済みです
このリポジトリはまだGitHubから読み取っていません
このリポジトリはまだGitHubから読み取っていません
これはパソコンで動くため、インターネット上のエンドポイントはありません
パソコンで動き、代わりにローカルの設定を使います
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
GitHubリポジトリの最終更新は–、最新バージョン(1.9.0)がレジストリに届いたのは12 日前です。
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。
同じカテゴリには:Context7, Codebase Memory, Exa
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
Up-to-date docs for AI agents
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
A map of your codebase for AI agents: code graph, search, call paths and change impact. No API key.
Code graph · hybrid search · call paths · change impact · an interactive graph UI.
One Rust binary. Local. No API key. MIT.
npx -y @sylphx/repomap setup
Live demo · Docs · Quickstart · Tools · Graph UI · Benchmarks · Compare
The real UI on excalidraw (687 files, indexed in under half a second): search, a symbol's code and callers, then the blast radius of a change. Try it in your browser , no install needed.
Run it on any repository. This is the real output on repomap's own source (v1.5.0, trimmed): ask what breaks if pagerank changes.
$ npx -y @sylphx/repomap impact pagerank
Changing: function pagerank (crates/repomap-core/src/graph.rs:639) 2 direct callers, 4 symbols affected in total across 6 files and 3 modules; 5 files importing the changed files; 1 test file to run.
One local call, no API key, and an answer your agent can cite as file:line.
npx -y @sylphx/repomap setup # add repomap to Claude Code, Codex, Cursor, VS Code, Claude Desktop, Windsurf, Gemini CLI
npx -y @sylphx/repomap serve # open the graph UI for the current repo
Prefer to wire one client by hand? claude mcp add repomap -- npx -y @sylphx/repomap mcp for Claude Code; the Cursor, VS Code, Codex and Docker snippets follow.
That's it. Add --claude-hooks to also enrich Claude Code's Grep and Glob. setup detects the clients you have, writes their MCP config, and prints every change it made. Run it again and nothing changes. Then ask your agent: *"Use repomap to map this repo."*
Requires Node 18+. Confirm the install in your editor, open your project, and enable the server. Both links run npx -y @sylphx/repomap mcp locally; no API key is needed.
For VS Code from a terminal:
code --add-mcp '{"name":"repomap","command":"npx","args":["-y","@sylphx/repomap","mcp"]}'
Or add the server to .cursor/mcp.json:
{
"mcpServers": { "repomap": { "command": "npx", "args": [ "-y", "@sylphx/repomap", "mcp" ] } } }
For .vscode/mcp.json, use the VS Code servers format:
{
"servers": { "repomap": { "type": "stdio", "command": "npx", "args": [ "-y", "@sylphx/repomap", "mcp" ] } } }
<!-- editor-install:end -->
Manual MCP config
{
"mcpServers": { "repomap": { "command": "npx", "args": ["-y", "@sylphx/repomap", "mcp"] } } }
Claude Code: claude mcp add repomap -- npx -y @sylphx/repomap mcp Claude Desktop, one click: download repomap- .mcpb from the latest release, open it, and pick your project folder. Claude Code plugin: /plugin marketplace add SylphxAI/repomap, then /plugin install repomap@repomap Codex (~/.codex/config.toml):
[mcp_servers.repomap]
command = "npx" args = ["-y", "@sylphx/repomap", "mcp"]
Docker (stdio, amd64/arm64):
{ "mcpServers": { "repomap": { "command": "docker", "args": ["run", "-i", "--rm", "-v", "/path/to/repo:/workspace:ro", "ghcr.io/sylphxai/repomap"] } } }
The server indexes the client's workspace root (or its working directory, or REPOMAP_ROOT). Every tool also takes root.
One issue-text search finds every fix file in the top 10 for 83.0% of SWE-bench Verified issues (semble: 71.0%). File retrieval, not issue resolution.
Chart values and evaluation protocol SWE-bench Verified: every gold fix file in the top k files Method Acc@1 Acc@5 Acc@10 repomap 48.8% 74.8% 83.0% semble 34.0% 61.6% 71.0% BM25 20.8% 45.4% 55.8% Defaults selected on 300 disjoint SWE-bench test instances, excluding every Verified ID, then frozen before one evaluation on all 500 Verified instances. One search per issue, at its base commit; gold files are used only for scoring. All three methods scored 500/500, with zero errors. Split definitions, pinned revisions and full results · Committed chart data
Trade-off: on semble's public code-search set, NDCG@10 is 0.845 versus semble's 0.851 ; semble wins there. This is not a claim of better search on every task. Measured search quality and limitations .
Agents burn most of their context on grep, ls and reading whole files just to work out where things are. repomap gives them the map up front:
parseConfig.file:line.git diff before you commit.All of it comes from a local index: tree-sitter parsing, a resolved import and call graph, PageRank, Louvain communities, BM25 over AST chunks, and a small static code embedding model (33 MB, downloaded once from Hugging Face, then offline). Nothing leaves your machine, and no API is called; the model download is the only network request (set REPOMAP_EMBED=0 to skip it).
Six tools, each with an obvious job:
| Tool | Ask it | Returns |
|---|---|---|
map | "Give me the lay of the land" / focus: "src/server" | Modules, central files, key symbols, entry points; an outline with line numbers when focused |
search | "where are failed requests retried", "parseConfig" | Ranked file:line ranges (functions, methods, classes) by keywords, names and meaning, with the matching lines |
context | SessionStore.refresh, src/auth/token.ts, token.ts:42 | Code, callers (with call sites), callees, subtypes, members, imports, importers, tests |
trace | from: handleRequest, to: db.query | Shortest call path, or the call tree above/below a symbol |
impact | target: verifyToken or changed: true | Risk level, callers by depth, importing files, modules, tests to run |
db | table: users, or url_env: DATABASE_URL for a live database | Tables, keys, indexes, and the code (file:line) that queries each table |
Answers are compact text that cites file:line, so they cost few tokens. Pass format: "json" for structured output.
> impact target=decode
Changing: function decode (src/auth/token.ts:14) 1 direct caller, 3 symbols affected in total across 3 files and 2 modules; 1 file importing the changed files; no tests reach this.
The same commands work in your terminal: repomap map, repomap search "…", repomap context X, repomap trace A B, repomap impact --changed, repomap db.
npx -y @sylphx/repomap serve # live, with code preview
npx -y @sylphx/repomap export # repomap.html: one self-contained file you can publish
Impact. Select a file and press i : everything that depends on it lights up by depth, with a list you can click through. Code. Click a symbol to see its source, callers and callees. Open ↗ jumps to y
冒頭だけを表示しています。続きはリポジトリで読めます