← Back to Leaderboard
Ckingbootoshi

kingbootoshi/cartographer

Local SQLite code graph with CLI and MCP for focused agent context and removal audits

View on GitHub ↗
Engineering Health (Methodology)
C · 31/100
Maintenance Activity
● Updated 6mo ago
Latest Release
Rolling commits (main)
Commercial License Check
Custom / Check Repo

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance6/35
Fork Adoption13/25
Release Cadence6/20
License Clarity6/20
CLIMCP
Total Stars
★ 856
24h Growth
+0
7d Growth
+1
Forks
65

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

kingbootoshi/cartographer Star History (2026-01-12 - 2026-12-04) ALL-TIME STAR HISTORY (2026-01 – 2026-12) +855 in 326d · avg +3/day 904 452 0 2026-01-12: ★ 12026-02-07: ★ 4312026-02-28: ★ 4792026-03-21: ★ 5042026-04-11: ★ 5272026-05-02: ★ 5392026-05-23: ★ 5692026-06-13: ★ 5752026-07-04: ★ 5882026-07-25: ★ 5972026-08-15: ★ 6362026-09-05: ★ 6672026-09-26: ★ 7262026-10-17: ★ 7712026-11-06: ★ 8212026-12-04: ★ 856 ★ 856 2026-01 2026-06 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

Cartographer separates two workflows. The v2 graph engine is a TypeScript CLI run with Bun, with zod and typescript listed as dependencies and cartographer as the binary entrypoint. index turns a checkout into local artifacts: .cartographer/graph.sqlite, manifest.json, JSON schemas, and CODEBASE_MAP.md. A file-hash cache in SQLite lets it reuse artifacts when the repository is unchanged.

The MCP entrypoint is a thin, newline-delimited stdio wrapper over graph operations, not a second indexing engine. The legacy Claude Code plugin takes a different path: a scanner respects .gitignore and counts tokens, the plugin splits work by token budget, and parallel Sonnet subagents analyze their portions before the reports are combined into docs/CODEBASE_MAP.md and referenced from CLAUDE.md.

Key Capabilities & Differentiators

brief compiles bounded context for a path, package, symbol, environment variable, DB or IaC object, audit ledger, or changed files. audit removal creates a task-specific ledger for audit verify to check. Evidence-backed notes have explicit ingest, audit, accept, and retire operations, so agent workflows can distinguish curated notes from material that has not been accepted or is no longer current.

Operators can inspect an existing graph with view, compare artifact directories with diff, and explicitly export the full graph as debug JSON or JSONL. Broad selectors on compatibility and debug surfaces such as slice and impact require opt-in. adoption scores graph-first behavior from runtime traces; it measures how the agent used context, not whether the resulting code change was correct.

Trade-offs & Limitations

Compared with ripgrep or editor navigation, Cartographer adds a persistent graph, bounded agent context, and task-specific ledgers. Those are useful for work spanning packages or configuration boundaries, but the index introduces a freshness obligation: use verify --fresh before relying on artifacts for a consequential change. Interpret a passing removal audit in light of the graph's extraction coverage; it is not proof that every runtime reference has been removed.

The v2 graph path keeps storage local and avoids running a new parallel model pass for each query. The legacy plugin instead produces narrative documentation, with token use that can grow materially as the checkout and number of subagents grow. No language-by-language coverage or performance benchmarks are available, so pilot with representative code and migrations. The unspecified license is a separate adoption gate for commercial use or redistribution.

Hardware & Deployment Guide

For v2, install dependencies with bun install, build an index with bun run cartographer:index -- --root . --out .cartographer, and launch the MCP process with bun run cartographer:mcp. The graph is a local SQLite file; no separate database service or model call is part of the listed index-and-query commands. The index consumes local disk, while scanning and graph construction consume CPU and memory. No measured resource figures are available, so size the workflow against representative checkouts.

The legacy path installs through the Claude Code marketplace and uses Python tiktoken for scanner token counts. Sonnet is the default for parallel analysis, with Haiku an option when token cost matters more than depth. The shift to v2 is visible in the command surface—brief, audit, and notes rather than just map generation—but there is no tagged release to use as a version milestone. The evaluation examples also reference a machine-specific external checkout path, so verify that setup before treating the profiles as portable CI checks.

Local persistence: index writes a SQLite graph, manifest, JSON schemas, and CODEBASE_MAP.md.
Index lifecycle: File hashes support artifact reuse, and verify --fresh fails when artifacts drift from the live repo.
Agent transport: A newline-delimited MCP stdio wrapper exposes graph operations separately from the legacy Claude Code skill.
Context selection: brief accepts selectors including symbols, environment variables, DB/IaC objects, and changed files.
Review workflow: Removal ledgers have a verification step, and evidence-backed notes can be ingested, audited, accepted, or retired.
Diagnostics: Full graph export is explicit in debug JSON or JSONL, and adoption scores graph-first behavior from runtime traces.
Best For

Teams that want coding agents to share bounded repository context and maintain verifiable removal ledgers during cross-package migrations.

Skip If

Live text search is sufficient, you cannot maintain fresh graph artifacts, or procurement requires clear license terms before a pilot.

Reviewed on 2026-12-04 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

CLIMCP
bun install

Comparison vs. Top Coding, Skills & MCP Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
cartographer ★856+1TypeScript—Local SQLite code graph with CLI and MCP for focused agent context and removal a
rea488.8k+7.6kTypeScriptMITA local CLI and MCP server for evidence-backed app and binary analysis
chrome-devtools-mcp60.4k+760TypeScriptApache-2.0Chrome DevTools via MCP and CLI for live browser debugging and performance analy
skills42.3k+1.1kTypeScriptMITTypeScript CLI for distributing and restoring skills across coding agents

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/kingbootoshi/cartographer.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

kingbootoshi/cartographer Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about cartographer

How do I connect an agent to Cartographer's graph?

Build the index for the target checkout first, then configure the client to launch bun run cartographer:mcp over stdio. The wrapper exchanges newline-delimited MCP messages and exposes graph operations. Use verify --fresh when the index must match the current checkout. The v2 MCP path is separate from the legacy /cartographer skill.

What hardware and runtime overhead should I plan for?

No GPU or dedicated VRAM is specified for v2 graph indexing and querying. Budget local CPU, RAM, and disk for scanning the checkout, building the graph, and storing or exporting artifacts; no measured sizing figures are available. The legacy mapping workflow adds token-counting overhead and model usage that varies with repository size, model choice, and parallelism.

Can we self-host it or use it commercially?

The CLI can run locally and keep its graph in a local SQLite file, but the repository's license is unspecified. Local execution does not grant commercial-use, modification, or redistribution rights. Confirm those rights before adoption, and separately review source-handling rules for any Claude Code model-backed runs.

When is this a better fit than ripgrep or editor navigation?

Use ripgrep or editor navigation when you need live matches or a quick definition lookup without maintaining an index. Use Cartographer when several agents need repeatable, bounded context across repository concerns, or when a migration needs a removal ledger. Validate graph coverage for your stack before replacing any existing navigation or review step.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining kingbootoshi/cartographer? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature kingbootoshi/cartographer on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare