Context7 vs code2prompt
Context7 is a developer tool from upstash (MIT licence, local and remote hosting, 65k GitHub stars, last push 2026-11-20); code2prompt is a developer tool from code2prompt (MIT licence, 7.8k GitHub stars, last push 2026-11-06). They share 1 of 3 capabilities and integrations identified for either (overlap 0.60); only Context7 covers Library Docs Lookup; only code2prompt covers Prompt Optimization. Figures as of 2026-11-21. DER
Context7 profilecode2prompt profileOpen in the compare tool
Side-by-side facts
10 of 16 rows differ (marked). Unknown means no source we track states it.
| Field | Context7 | code2prompt |
|---|---|---|
| Type | Developer tool · hosted CUR | Developer tool · hosted CUR |
| Publisher · differs | upstash SRC | code2prompt CUR |
| Licence | MIT SRC | MIT CUR |
| Open source | Yes DER | Yes CUR |
| Pricing model · differs | freemium CUR | open-source CUR |
| Hosting · differs | Remote and local SRC | Unknown |
| Latest version · differs | 4.7.3 SRC | Unknown |
| Languages · differs | typescript SRC | rust CUR |
| GitHub stars · differs | 65k (65,210) SRC | 7.8k (7,771) SRC |
| Forks · differs | 3.3k SRC | 459 SRC |
| Last push · differs | 2026-11-20 SRC | 2026-11-06 SRC |
| Archived | No SRC | No SRC |
| First published · differs | 2025-10-22 SRC | Unknown |
| Versions recorded · differs | 26 SRC | Unknown |
| Verification | Checked by AgentSidekick against official sources CUR | Checked by AgentSidekick against official sources CUR |
| Last verified | 2026-11-21 CUR | 2026-11-21 CUR |
Shared and unique capabilitiesDER
Capabilities are assigned by keyword rules from each description unless a researcher set them; integrations are services named in the description or package metadata.
Both (1)
Only Context7 (1)
Only code2prompt (1)
Platform compatibility
Status per platform from the evidence we hold. No pairing has been tested by AgentSidekick.
No compatibility evidence
For all 47 platforms on record the status is Unknown or Platform discontinued for both: neither product type implements a standard we can check (MCP, Agent Skills, Claude plugins) and neither publisher names a platform.
Maintenance
Repository activity read from the GitHub API. Activity is not quality.
| Measure | Context7 | code2prompt |
|---|---|---|
| Status | Active DER | Active DER |
| Days since last push | 1 DER | 15 DER |
| Open issues | 16 SRC | 6 SRC |
| Latest GitHub release | @upstash/context7-opencode@0.2.2 · 2026-11-17 SRC | v4.2.0 · 2025-12-11 SRC |
| Newest registry version | 4.7.3 · 2026-11-17 SRC | Unknown |
Evaluation dimensions
Separate signals with their evidence; there is no overall score. Hover or focus a status for its evidence.
| Dimension | Context7 | code2prompt |
|---|---|---|
| Source authority | Checked against official sources | Checked against official sources |
| Publisher verification | Organisation account | Organisation account |
| Maintenance activity | Active | Active |
| Licence clarity | MIT | MIT |
| Installation clarity · differs | Machine-readable | Unknown |
| Documentation | Repository / website only | Repository / website only |
| Compatibility evidence | Unknown | Unknown |
| Security review | Not reviewed | Not reviewed |
Which fits which requirementDER
Derived from the differences above, one rule per line. Nothing here says either product is better; check the requirement against your own needs.
Choose Context7 if…
- you need Library Docs Lookup (classified for Context7 only)
- you weigh adoption: 65k vs 7.8k GitHub stars (popularity, not quality)
- you want machine-readable install metadata (packages or endpoints declared in a registry)
Choose code2prompt if…
- you need Prompt Optimization (classified for code2prompt only)
Sources
- Context7 · Official MCP Registry: registry.modelcontextprotocol.io (external)checked
- Context7 · Curated research: context7.com (external)checked
- Context7 · Researcher checked: context7.com (external)checked
- Context7 · Researcher checked: github.com (external)checked
- code2prompt · Curated research: github.com (external)checked
- code2prompt · Researcher checked: github.com (external)checked
Page data last updated .