GitHub
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
作者提供的说明(英文原文)
Repo analysis for coding agents with ranked files, dependency maps, and task-scoped context.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"cartograph": {
"command": "npx",
"args": [
"-y",
"@anthony-maio/cartograph",
"mcp"
]
}
}
}在终端中运行这条命令
claude mcp add cartograph -- npx -y @anthony-maio/cartograph mcp粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"cartograph": {
"command": "npx",
"args": [
"-y",
"@anthony-maio/cartograph",
"mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"cartograph": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@anthony-maio/cartograph",
"mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日
注册名称已通过 GitHub 账户 anthony-maio 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(1.3.0)于9天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:GitHub, Desktop Commander, Cloudflare MCP
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
MCP server for terminal commands, file operations, and process management
Cloudflare MCP servers
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Cartograph provides task-focused repository context for coding agents. It ships a CLI, an MCP server, install adapters for Claude Code, OpenClaw, and Hermes, and agent assets for documentation workflows.
@anthony-maio/cartographio.github.anthony-maio/cartographcartograph.making-minds.aiInstead of dumping an entire repository into context, Cartograph ranks the files that matter, maps dependencies, caches structured artifacts, and lets the next tool or agent pick up from those artifacts.
The primary workflow is:
analyze to map the repopacket to prepare the workcontext --static to load task-matched files without a model callwiki, host installs, and benchmarks are secondary surfaces built around that core path.
npm install
npm run build
For global use from npm:
npm install -g @anthony-maio/cartograph
For MCP host discovery via the official registry:
io.github.anthony-maio/cartographFor Claude Code plugin install from this public repo:
/plugin marketplace add anthony-maio/cartograph
/plugin install cartograph@making-minds-tools
For global use from a local checkout:
npm install -g .
See CONTRIBUTING.md for the development workflow and SECURITY.md for vulnerability reporting.
The npm package includes a small refresh-token example. From a new working directory:
npm init -y
npm install @anthony-maio/cartograph@1.3.0 npx cartograph analyze ./node_modules/@anthony-maio/cartograph/examples/auth-refresh --static npx cartograph packet ./node_modules/@anthony-maio/cartograph/examples/auth-refresh --type bug-fix --task "fix refresh token expiry" npx cartograph context ./node_modules/@anthony-maio/cartograph/examples/auth-refresh --task "fix refresh token expiry" --static --json node --test ./node_modules/@anthony-maio/cartograph/examples/auth-refresh/tests/auth-refresh.test.js
The packet should point to src/auth/refresh.js and tests/auth-refresh.test.js. The context bundle includes the clock helper and leaves unrelated billing/catalog files out. The three behavioral checks should pass. Walk through the investigation for expected results and how to apply the same process to your repository.
The native Hermes plugin exposes cartograph_analyze for repository orientation and cartograph_context for task-focused source excerpts. Both run locally in static mode without a model API call. Install the npm package and its included adapter:
npm install -g @anthony-maio/cartograph@1.3.0
cartograph install hermes hermes plugins enable cartograph cartograph doctor hermes
Run these commands in the same OS environment as Hermes. For Hermes in WSL, use WSL Node and repository paths such as /mnt/d/Development/cartograph. Restart an existing Hermes session to load the tools. The installer binds the plugin to the installed CLI; rerun the install command after moving the package or changing Node.
See the Hermes setup and real-repository example for profile settings, verification, and removal. The plugin caches source excerpts under the selected Hermes profile and supports an optional repository allowlist. Static matching can miss relevant code, so check the returned source before editing.
For a Hermes-managed plugin checkout, see the standalone plugin guide and the commit-pinned installation option.
This repo also acts as a Claude Code plugin marketplace. The cartograph plugin bundles:
/cartograph:analyze, /cartograph:context, /cartograph:wikiuse-cartograph and repo-surveyor skillsrepo-scout, dependency-tracer, context-picker, api-surface-writer, and wiki-writerInstall it with:
/plugin marketplace add anthony-maio/cartograph
/plugin install cartograph@making-minds-tools
If you only remember one thing, remember this:
cartograph analyze <repo> --static
cartograph packet --type --task " " cartograph context --task " " --static --json
analyze maps the repo and tells you what matters.packet turns a concrete job into a reusable working artifact.context --static selects task-matched files and their nearby dependencies and tests, with their contents. It uses local heuristics and needs no API key.The separate model-backed context workflow runs when you omit --static; configure a provider before using it. Neither mode proves that a selected file contains the bug.
cartograph analyze <repo> [options]
cartograph packet --type --task " " [--changed ] cartograph context --task " " [options] cartograph wiki [options] cartograph export --to [--artifact ] cartograph install cartograph uninstall cartograph doctor [target] [--json] cartograph mcp
Legacy compatibility still works:
cartograph <repo> --static
cartograph -c "trace auth flow"
# Map the repo
cartograph analyze ./my-project --static
cartograph packet ./my-project --type bug-fix --task "fix auth refresh bug" --changed src/auth/service.ts tests/auth/service.test.ts
cartograph context ./my-project --task "add user authentication" --static --json
cartograph analyze ./my-project --static --json --include-contents
cartograph wiki ./my-project -p gemini -k $CARTOGRAPH_API_KEY -o wiki.md
cartograph export run-abc123 --to ./artifacts/wiki.md
cartograph mcp
For small repos, analyze --static --json now defaults to compact output instead of embedding top-file contents. That keeps tiny repos readable and lets direct file reads stay cheaper than a giant JSON blob. Use --include-contents when you explicitly want embedded snippets.
The default markdown output from analyze --static is human-first: it highlights what matters, surfaces dependency hubs, and recommends the next commands instead of dumping raw file contents immediately.
geminiopenaiopenrouterollamaSet the API key with --key or CARTOGRAPH_API_KEY. Ollama does not require a key.
Cartograph writes successful runs into the user cache by default:
%USERPROFILE%\\.cartograph\\cache~/.cartograph/cacheEach run gets a manifest plus named artifacts, which keeps agent handoffs lightweight and makes cartograph export deterministic.
Installing the package does not modify host configuration. Use the host-specific installer to copy its assets, then enable the integration in that host.
cartograph install claude
cartograph install openclaw cartograph install mcp cartograph install hermes
What each target installs:
claude: user-scope skills plus the bundled documentation agents under ~/.claudeopenclaw: user-scope skill pack under ~/.openclawmcp: a Cartograph MCP config snippet under ~/.cartograph/mcphermes: a native tool plugin and local runtime binding under the selected Hermes profile; enable it with hermes plugins enable cartographCheck status at any time:
cartograph doctor
cartograph doctor --json
Cartograph's MCP server exposes static repo analysis directly to hosts that prefer MCP over shell commands.
Tools:
analyze_repo: score files, map dependencies, and return compact analysis output or embedded top-file contents for a local repo or GitHub URLget_file_contents: fetch full contents for specific files after analysisbuild_task_packet: return a typed task packet with key files, dependency hubs, validation targets, risks, and task-specific detailsBug-fix packets are tuned to stay focused when you provide --changed or changed_files: they keep explicit change surfaces in view, prefer exact validation targets, and bias toward shared dependencies over peripheral utility scripts.
If you want Cartograph's packaged MCP snippet, run:
cartograph install mcp
That writes a reusable config file that points at:
{
"mcpServers": { "cartograph": { "command": "cartograph", "args": ["mcp"] } } }
Cartograph is published in the official MCP Registry with the server name io.github.anthony-maio/cartograph.
Repo-side metadata lives in:
package.json via the mcpName fieldserver.json for registry metadataThe current install artifact published to npm is:
@anthony-maio/cartographFor repeatable registry releases, this repo also includes a GitHub Actions workflow at publish-mcp.yml. It is set up for npm trusted publishing on GitHub Actions, then authenticates to the MCP Registry with GitHub OIDC and publishes server.json.
The package currently ships:
use-cartograph and repo-surveyorrepo-scout, dependency-tracer, context-picker, api-surface-writer, and wiki-writeruse-cartograph and repo-surveyorSkill roles:
use-cartograph: tool-first path when the CLI or MCP server is availablerepo-surveyor: manual fallback path when Cartograph is unavailable or needs verificationBoth skills are designed to produce the same downstream contract:
These assets are meant to pass run IDs and artifact paths between steps instead of copying large prose into the main context.
The Claude plugin marketplace in this repo ships the same skills and agents, plus plugin-first slash commands and a bundled Cartograph MCP server.
This repo includes a public benchmark pack for task packets under benchmarks/task-packets.
Use it to compare packet quality across large visible repos with a stable set of task prompts:
npm run benchmark:task-packets -- --list
npm run benchmark:task-packets -- --case llama-cpp-bug-fix --dry-run
The benchmark runner writes packet artifacts to benchmarks/task-packets/output/, which is gitignored.
Curated scorecards and public artifact links are also published on the site:
-
只显示了开头部分;其余内容请在仓库中阅读