← All Comparisons (/vs)
HEAD-TO-HEAD TECHNICAL COMPARISON (2026)

codegraph vs context7

Side-by-side 2026 comparison in Coding, Skills & MCP: colbymchenry/codegraph leads both total GitHub adoption (★ 79.5k) and recent 7-day momentum. Licensing: MIT · Commercial Friendly vs MIT · Commercial Friendly.

Cumulative Star Gain Chart (Embeddable SVG)

Backed by independent 6-hour D1 snapshots. Embed in GitHub READMEs or technical blogs.

codegraph vs context7 — 14-Day Star Velocity Comparison on RepoForAI.com 14-DAY CUMULATIVE STAR GAIN COMPARISON REPOFORAI.COM codegraph ★ 79.5k (+545/7d) context7 ★ 65.8k (+333/7d) +1.2k +614 0 11-21 11-28 12-04 (D1 snapshot)
colbymchenry/codegraph (Health A+ 96/100) vs upstash/context7 (Health A+ 96/100) multi-day star momentum.
Compare different repos →

Key Metrics Matrix

Dimensioncolbymchenry/codegraphupstash/context7
Total GitHub Stars★ 79,521★ 65,830
24h / 7d Velocity+27 / +545+39 / +333
7-Day Trend Curve
Engineering HealthA+ · 96/100A+ · 96/100
Deployment SignalsLocal AI · CLIMCP · CLI · API
Primary LanguageTypeScriptTypeScript
Commercial LicenseMIT · Commercial FriendlyMIT · Commercial Friendly
ActivityUpdated todayUpdated today
Latest Releasev1.6.7@upstash/context7-mcp@4.9.3
Best ForTeams using MCP-capable coding agents on repositories where architecture questions, onboarding, and cross-module refactors repeatedly require reconstructing dependencies or call pathsTeams using coding agents that frequently need version-specific library examples and can rely on a hosted documentation index
Maintaining codegraph, context7, or an open-source alternative? Reach engineers comparing this stack.
Feature Repo ($19)Sponsor Track

codegraph · Highlights & Quickstart

Agent integration: codegraph install configures the MCP server for clients including Claude Code, Codex CLI, Cursor, and GitHub Copilot.
Parser architecture: The native Rust kernel covers 20 languages and can fall back per file to the reference engine.
Cross-file context: codegraph_explore returns relevant definitions, usage sites, and source snippets without requiring the agent to visit each file.
Framework semantics: Django routes link to views, while supported Next.js and Expo Router patterns can produce navigation edges.
# macOS / Linux
curl -fsSL https://raw.githubusercontent.com/colbymchenry/codegraph/main/install.sh | sh

# Windows (PowerShell)
irm https://raw.githubusercontent.com/colbymchenry/codegraph/main/install.ps1 | iex

context7 · Highlights & Quickstart

Tool contract: resolve-library-id matches a name in the context of the task; query-docs retrieves by exact library ID.
Retrieval controls: Name the target version in the prompt, bypass matching with a known ID, or use the optional language argument to prioritize code examples.
Integration modes: CLI + Skills works without MCP; MCP gives compatible clients a native tool interface.
Package boundaries: Separate packages provide the MCP server, ctx7 CLI, TypeScript SDK, Vercel AI SDK tools, and pi.dev extension.
npx ctx7 setup

codegraph vs context7 FAQ

How do codegraph and context7 differ on commercial licensing?

colbymchenry/codegraph uses MIT · Commercial Friendly (Permissive license allowing commercial use, modification, and proprietary distribution.), whereas upstash/context7 uses MIT · Commercial Friendly (Permissive license allowing commercial use, modification, and proprietary distribution.).

Which is growing faster in 2026: codegraph or context7?

According to RepoForAI's 6-hour GitHub telemetry, codegraph has 79,521 stars (+545 in 7d) vs. context7 with 65,830 stars (+333 in 7d).

When should engineering teams pick codegraph vs context7?

Choose codegraph (TypeScript) for: Teams using MCP-capable coding agents on repositories where architecture questions, onboarding, and cross-module refactors repeatedly require reconstructing dependencies or call paths. Choose context7 (TypeScript) for: Teams using coding agents that frequently need version-specific library examples and can rely on a hosted documentation index.

More Head-to-Head Comparisons

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