context7-cli
Skill63k starsChanged 6 months agoMITView on GitHub
Use the ctx7 CLI to fetch library documentation, manage AI coding skills, and configure Context7 MCP. Activate when the user mentions "ctx7" or "context7", needs current docs for any library, wants to install/search/generate skills, or needs to set up Context7 for their AI coding agent.
- Reads credentials
- Installs packages
6 other projects use a version of this, 2 of them edited; 1 of 2 edited versions we compared changed its rules; 0 new projects in the last 4 weeks, against 1 the 4 before.
How people change it
1 of 2 edited versions changed its rules.
Of the 2 edited versions we compared: 1 keep every rule, 1 made changes of their own.
We split this file and each edited version into the rules they give an agent and match them by wording. A version that adds no rule of its own and has not changed since this file last did reads as an older text, so what it lacks is not counted as dropped. We keep no past texts of a file, so that is inferred, and an edited version that started from an older text still counts its gaps as drops.
Adopted by
Cooling: 0 new projects took it in the last 4 weeks, 0× the 4 weeks before.thin data
Most recently taken up by
- rakaarwaky/agents-arwakyedited, first seen Oct 6, 2026
- zz-zhi54/skillsword for word, first seen Oct 5, 2026
- jd-solanki/krutrimboxword for word, first seen Sep 27, 2026
- sagnikmitra/skillsedited, first seen Jun 8, 2026
- X-FRI/skillsword for word, first seen Apr 2, 2026
- strantalis/agent-skillstheir own version, first seen Jan 5, 2026
Who's talking about upstash/context7
- angular/angular“docs: add context7.json config”GitHub · Aug 4, 2025 · 6 reactions
- AAswordman/OperitMCPMarket“context7”GitHub · Oct 21, 2025 · 5 reactions
- @marcf.be“Are you using MCPs already? Heard of Context7? Me neither but this is an MCP you don’t want to miss Even …”Bluesky · Jun 9, 2025 · 5 likes
- @github-trending-js.bsky.social“🔥 Hot Repo! 🔥 (100+ new stars) 📦 upstash / context7 ⭐ 31,588 (+136) 🗒 JavaScript Context7 MCP Server -- …”Bluesky · Sep 26, 2025 · 4 likes
- @nick-tune.me“It's cool to see all the holes and imperfections being gradually addressed in the overall AI coding …”Bluesky · Jul 9, 2025 · 4 likes
The biggest 5 of 87 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 87
Talked about on GitHub, Bluesky and Hacker News (87 times).
On GitHub · 50
- Aug 4, 2025docs: add context7.json config — angular/angular6 reactions · 2 comments
- Oct 21, 2025context7 — AAswordman/OperitMCPMarket5 reactions
- Oct 18, 2025"Configuration file not found" error when installing extension — google-gemini/gemini-cli2 reactions · 6 comments
- Jul 29, 2025added to context7 — harehare/mq2 reactions · 1 comment
- Jul 21, 2025利用Context7实时代码文档上下文引擎 增强参数推荐的精准度 — ATH-MaaS/ComfyUI-Copilot2 reactions · 1 comment
45 more on GitHub
- May 11, 2026[BUG] Wrong .metadata.json after `skillshare update --all` — runkids/skillshare1 reaction · 2 comments
- Apr 18, 2026Investigate Context7 for inclusion in our coding agent — fullsend-ai/fullsend1 reaction · 4 comments
- Mar 25, 2026What AI tools to use with Claude Code — onmyway133/blog1 reaction
- Dec 29, 2025chore: migrate AI rules to Ruler — feedforagents/feed1 reaction · 3 comments
- Oct 11, 2025📚 [DOCS] - Acknowledge Key Inspirations and References — Anselmoo/mcp-ai-agent-guidelines1 reaction
- Oct 8, 2025feat: add Context7 MCP server integration to scout workflow — github/gh-aw1 reaction · 4 comments
- Sep 13, 2025記事の校閲エージェントを作成する — onc-limb/knowledge-hub1 reaction
- Sep 10, 2025Added context7.json for better context to LLMs — kurrent-io/KurrentDB1 reaction
- Aug 18, 2025[docs-infra] Support context7 MCP — mui/mui-public1 reaction · 3 comments
- Aug 3, 2025Make sure to get the best MCP servers for developers — STAFE-GROUP-AB/2do-developer1 reaction
- Jul 23, 2025feat: add context7 mcp server for up-to-date docs — skills/exercise-creator1 reaction
- Jul 9, 2025Add Context7 mcp server — stacklok/toolhive1 reaction
- Jul 9, 2025fix mcp service install commands — cassler/awesome-claude-code-setup1 reaction · 1 comment
- Jun 25, 2025Add MCP server configuration — laurentkempe/myblog1 reaction
- Jun 2, 2025轻松玩转 AI 编程:"Vibe Coding" 与 Cursor Agent 实战心得 — shuangmianxiaoQ/myblog1 reaction · 2 comments
- Nov 20, 2026claude-code-marketplaces.github.upstash.context7: 9782e8e → b1e3611 — sudosubin/agents.nix0 reactions
- Nov 20, 2026codex-marketplaces.github.upstash.context7: 9782e8e → b1e3611 — sudosubin/agents.nix0 reactions
- Nov 20, 2026agent-skills.github.upstash.context7: 0-unstable-2026-11-17 → 0-unstable-2026-11-20 — sudosubin/agents.nix0 reactions
- Nov 20, 2026claude-code-marketplaces.github.upstash.context7: 0-unstable-2026-11-19 → 0-unstable-2026-11-20 — sudosubin/agents.nix0 reactions
- Nov 20, 2026codex-marketplaces.github.upstash.context7: 0-unstable-2026-11-19 → 0-unstable-2026-11-20 — sudosubin/agents.nix0 reactions
- Nov 20, 2026kiro-powers.github.upstash.context7: 0-unstable-2026-11-17 → 0-unstable-2026-11-20 — sudosubin/agents.nix0 reactions
- Nov 20, 2026agent-plugins.github.upstash.context7: 0-unstable-2026-11-17 → 0-unstable-2026-11-20 — sudosubin/agents.nix0 reactions
- Nov 19, 2026claude-code-marketplaces.github.upstash.context7: 0-unstable-2026-11-18 → 0-unstable-2026-11-19 — sudosubin/agents.nix0 reactions
- Nov 19, 2026codex-marketplaces.github.upstash.context7: 0-unstable-2026-11-18 → 0-unstable-2026-11-19 — sudosubin/agents.nix0 reactions
- Nov 18, 2026claude-code-marketplaces.github.upstash.context7: 0-unstable-2026-11-17 → 0-unstable-2026-11-18 — sudosubin/agents.nix0 reactions
- Nov 18, 2026codex-marketplaces.github.upstash.context7: 0-unstable-2026-11-17 → 0-unstable-2026-11-18 — sudosubin/agents.nix0 reactions
- Nov 17, 2026agent-skills.github.upstash.context7: 0-unstable-2026-11-12 → 0-unstable-2026-11-17 — sudosubin/agents.nix0 reactions
- Nov 17, 2026agent-plugins.github.upstash.context7: 0-unstable-2026-11-12 → 0-unstable-2026-11-17 — sudosubin/agents.nix0 reactions
- Nov 17, 2026Bump the non-breaking group across 1 directory with 5 updates — keyute/dotfiles0 reactions
- Nov 17, 2026chore(deps): bump @upstash/context7-mcp from 4.3.0 to 4.7.0 in /upstreams — jonfairbanks/mcp-gateway0 reactions
- Nov 17, 2026chore(deps): update agent skills (plugins/agentic-engineering/skills/context7-mcp) — devantler-tech/agent-plugins0 reactions · 6 comments
- Nov 16, 2026chore(deps): bump the minor-and-patch group across 1 directory with 2 updates — Jartan-LLC/enchantments0 reactions
- Nov 16, 2026Upstream release: ctx7@0.12.1 — TheophilusChinomona/ctx-cli0 reactions
- Nov 16, 2026Upstream release: ctx7@0.12.1 — VedanthB/context7-cli0 reactions
- Nov 16, 2026chore(deps): bump the minor-and-patch group with 7 updates — laparo-coding/hemera0 reactions · 1 comment
- Nov 16, 2026chore(deps-dev): bump the all-dependencies group with 2 updates — synmux/syn-horse-notifications0 reactions
- Nov 10, 2026chore(deps): bump @upstash/context7-mcp from 4.3.0 to 4.5.1 in /upstreams — jonfairbanks/mcp-gateway0 reactions · 1 comment
- Nov 10, 2026[Vulnerability] upstash/context7: Privilege Escalation / Unauthorized Access — Danyw24/mcp-radar0 reactions · 1 comment
- Nov 9, 2026Upstream release: @upstash/context7-mcp@4.6.0 — TheophilusChinomona/ctx-cli0 reactions
- Nov 9, 2026Upstream release: @upstash/context7-mcp@4.6.0 — VedanthB/context7-cli0 reactions
- Nov 1, 2026build(deps): Bump @upstash/context7-mcp from 4.1.1 to 4.4.4 in /stack-ai/mcp-gateway — deymosh/bastion0 reactions
- Oct 30, 2026chore(codex): add scoped Context7 and read-only Supabase MCPs — pascalnanousympathie-alt/LudoMada0 reactions
- Oct 27, 2026chore(deps): bump @upstash/context7-mcp from 4.3.0 to 4.4.4 in /upstreams — jonfairbanks/mcp-gateway0 reactions · 1 comment
- Oct 26, 2026Upstream release: @upstash/context7-sdk@0.6.0 — TheophilusChinomona/ctx-cli0 reactions
- Oct 26, 2026Upstream release: @upstash/context7-sdk@0.6.0 — VedanthB/context7-cli0 reactions
On Bluesky · 36
- Jun 9, 2025Are you using MCPs already? Heard of Context7? Me neither but this is an MCP you don’t want to miss Even includes ABAP cheat sheet with… — @marcf.be5 likes and reposts · 2 replies
- Sep 26, 2025🔥 Hot Repo! 🔥 (100+ new stars) 📦 upstash / context7 ⭐ 31,588 (+136) 🗒 JavaScript Context7 MCP Server -- Up-to-date code documentation… — @github-trending-js.bsky.social4 likes and reposts
- Jul 9, 2025It's cool to see all the holes and imperfections being gradually addressed in the overall AI coding developer experience. This week I've… — @nick-tune.me4 likes and reposts
- Apr 30, 2025The most useful MCP server I've seen so far - up to date code docs in LLMs by Upstash github.com/upstash/cont... — @labhaus.bsky.social3 likes and reposts
- Sep 30, 2026been wiring Cursor / Claude Code with more MCP lately found upstash/context7 — current lib docs into the agent so it stops guessing stale… — @cdevmkt.bsky.social2 likes and reposts · 1 reply
31 more on Bluesky
- Sep 4, 2026📦 upstash / context7 ⭐ 61,607 (+47) 🗒 TypeScript Context7 Platform -- Up-to-date code documentation for LLMs and AI code editors — @github-trending-js.bsky.social2 likes and reposts
- Jan 24, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 upstash / context7 ⭐ 43,286 (+166) 🗒 TypeScript Context7 MCP Server -- Up-to-date code documentation… — @github-trending-js.bsky.social2 likes and reposts
- Sep 19, 2025github.com/upstash/cont... — @randalschwartz.bsky.social2 likes and reposts · 1 reply
- Aug 21, 2025If you’re using any MCP-compatible agents, check out Context7, it’ll grab any relevant documentation for whatever you’re doing. — @erisianrite.com2 likes and reposts · 1 reply
- Jul 14, 2025not sure exactly what you mean, maybe this? context7.com (MCP server: github.com/upstash/cont...) — @indexx.dev2 likes and reposts
- Jul 6, 2025🚀 Skyrocketing! 🚀 (200+ new stars) 📦 upstash / context7 ⭐ 18,029 (+257) 🗒 JavaScript Context7 MCP Server -- Up-to-date code… — @github-trending-js.bsky.social2 likes and reposts
- Jul 3, 2025there's a few of these; the one I hear about most often is github.com/upstash/cont... but I haven't used it — @philpax.me2 likes and reposts · 1 reply
- Nov 17, 20262. github.com/AnswerDotAI... a markdown map of your docs at /llms.txt. Chrome's Lighthouse now checks sites for one 3.… — @astrodevil1.bsky.social1 likes and repost · 1 reply
- Oct 26, 2026Platforma Context7 -- aktuální dokumentace pro AI agenty — @365tipu.cz1 likes and repost
- Jul 18, 2026📦 upstash / context7 ⭐ 59,321 (+71) 🗒 TypeScript Context7 Platform -- Up-to-date code documentation for LLMs and AI code editors — @github-trending-js.bsky.social1 likes and repost
- Apr 30, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 upstash / context7 ⭐ 54,067 (+113) 🗒 TypeScript Context7 Platform -- Up-to-date code documentation for… — @github-trending-js.bsky.social1 likes and repost
- Mar 12, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 upstash / context7 ⭐ 48,692 (+160) 🗒 TypeScript Context7 Platform -- Up-to-date code documentation for… — @github-trending-js.bsky.social1 likes and repost
- Feb 20, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 upstash / context7 ⭐ 46,174 (+130) 🗒 TypeScript Context7 MCP Server -- Up-to-date code documentation… — @github-trending-js.bsky.social1 likes and repost
- Jan 25, 2026The Context7 approach of re-indexing libraries and offering an MCP server that can search all of it is interesting. It doesn't surface new… — @smachlis.bsky.social1 likes and repost
- Jan 16, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 upstash / context7 ⭐ 42,150 (+135) 🗒 TypeScript Context7 MCP Server -- Up-to-date code documentation… — @github-trending-js.bsky.social1 likes and repost
- Dec 30, 2025🔥 Hot Repo! 🔥 (100+ new stars) 📦 upstash / context7 ⭐ 40,454 (+100) 🗒 TypeScript Context7 MCP Server -- Up-to-date code documentation… — @github-trending-js.bsky.social1 likes and repost
- Nov 11, 2025🔥 Hot Repo! 🔥 (100+ new stars) 📦 upstash / context7 ⭐ 36,799 (+106) 🗒 JavaScript Context7 MCP Server -- Up-to-date code documentation… — @github-trending-js.bsky.social1 likes and repost
- Nov 7, 2025🔥 Hot Repo! 🔥 (100+ new stars) 📦 upstash / context7 ⭐ 36,312 (+140) 🗒 JavaScript Context7 MCP Server -- Up-to-date code documentation… — @github-trending-js.bsky.social1 likes and repost
- Oct 28, 2025🔥 Hot Repo! 🔥 (100+ new stars) 📦 upstash / context7 ⭐ 35,288 (+145) 🗒 JavaScript Context7 MCP Server -- Up-to-date code documentation… — @github-trending-js.bsky.social1 likes and repost
- Oct 13, 2025🔥 Hot Repo! 🔥 (100+ new stars) 📦 upstash / context7 ⭐ 33,497 (+152) 🗒 JavaScript Context7 MCP Server -- Up-to-date code documentation… — @github-trending-js.bsky.social1 likes and repost
- Oct 4, 2025github.com/upstash/cont... — @trag.dev1 likes and repost
- Oct 3, 2025🔥 Hot Repo! 🔥 (100+ new stars) 📦 upstash / context7 ⭐ 32,415 (+105) 🗒 JavaScript Context7 MCP Server -- Up-to-date code documentation… — @github-trending-js.bsky.social1 likes and repost
- Sep 15, 2025🔥 Hot Repo! 🔥 (100+ new stars) 📦 upstash / context7 ⭐ 30,254 (+152) 🗒 JavaScript Context7 MCP Server -- Up-to-date code documentation… — @github-trending-js.bsky.social1 likes and repost
- Aug 15, 2025It’s an MCP server. github.com/upstash/cont... — @pkellner.bsky.social1 likes and repost
- Jul 15, 2025I think the closest to that is context7 github.com/upstash/cont... which your local AI could call and you can self host the mcp server. — @gempir.com1 likes and repost
- Jul 8, 2025바이브 코딩할 때 사용하는 라이브러리를 LLM이 잘 모르거나, LLM의 컷오프 이후에 라이브러리가 갱신되어서 API가 많이 달라지는 경우가 있지요. 그럴 때 Context7을 MCP로 연결하면 꽤 쓸만합니다. 찾아보니 제가 만든 라이브러리인… — @hongminhee.hackers.pub.ap.brid.gy1 likes and repost
- Jun 27, 2025🚀 Skyrocketing! 🚀 (200+ new stars) 📦 upstash / context7 ⭐ 15,257 (+240) 🗒 JavaScript Context7 MCP Server -- Up-to-date code… — @github-trending-js.bsky.social1 likes and repost
- Jun 23, 2025Get better answers and less hallucinations with github.com/upstash/cont... LLMs are typically trained on data that's 6-18 months old by the… — @akhansari.tech1 likes and repost
- Apr 25, 2025Set up Context7 via MCP settings & learn more: github.com/upstash/con... — @thankscline.bsky.social1 likes and repost
- Aug 30, 2025library devs you should know about these guys: github.com/upstash/context7 they scrape your library docs to inject into LLMs. they have… — @0x4d6165.wanderingwires.net.ap.brid.gy0 likes and reposts · 2 replies
- Jul 12, 2025Context 7 - has latest docs for most used programming languages github.com/upstash/cont... — @debashishsahu.com0 likes and reposts · 1 reply
On Hacker News · 1
- Apr 22, 2025Context7 MCP Server: Up-to-date documentation for LLMs and AI code editors3 points
Other versions6 projects use a version of this.
Word for word · 3
- X-FRI/skills★ 2100% same
- jd-solanki/krutrimbox★ 1100% same
- zz-zhi54/skills★ 1100% same
Edited · 2
- sagnikmitra/skills★ 177% same
- rakaarwaky/agents-arwaky★ 081% same
Wrote their own version · 1
- strantalis/agent-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository2 other files it gives its agents.
- context7-mcpSkill
- find-docsSkill
The file
We split this skill into the rules it gives an agent
2 rules. 1 is common, 0 are distinctive, and 1 is very specific to this project.
1
Common
Most of the 3 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Common: line 10
Make sure the CLI is up to date before running commands:
- Very specific: line 70
Always run ctx7 library first — ctx7 docs react "hooks" will fail without a valid ID
“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
ctx7 CLI
The Context7 CLI does three things: fetches up-to-date library documentation, manages AI coding skills, and sets up Context7 MCP for your editor.
Make sure the CLI is up to date before running commands:
npm install -g ctx7@latestOr run directly without installing:
npx ctx7@latest <command>What this skill covers
- Documentation — Fetch current docs for any library. Use when writing code, verifying API signatures, or when training data may be outdated.
- Skills management — Install, search, suggest, list, remove, and generate AI coding skills.
- Setup — Configure Context7 MCP for Claude Code / Cursor / OpenCode.
Quick Reference
# Documentation
ctx7 library <name> <query> # Step 1: resolve library ID
ctx7 docs <libraryId> <query> # Step 2: fetch docs
# Skills
ctx7 skills install /owner/repo # Install from a repo (interactive)
ctx7 skills install /owner/repo name # Install a specific skill
ctx7 skills search <keywords> # Search the registry
ctx7 skills suggest # Auto-suggest based on project deps
ctx7 skills list # List installed skills
ctx7 skills remove <name> # Uninstall a skill
ctx7 skills generate # Generate a custom skill with AI (requires login)
# Setup
ctx7 setup # Configure Context7 MCP (interactive)
ctx7 login # Log in for higher rate limits + skill generation
ctx7 whoami # Check current login statusAuthentication
ctx7 login # Opens browser for OAuth
ctx7 login --no-browser # Prints URL instead of opening browser
ctx7 logout # Clear stored tokens
ctx7 whoami # Show current login status (name + email)Most commands work without login. Exceptions: skills generate always requires it; ctx7 setup requires it unless --api-key or --oauth is passed. Login also unlocks higher rate limits on docs commands.
Set an API key via environment variable to skip interactive login entirely:
export CONTEXT7_API_KEY=your_keyCommon Mistakes
- Library IDs require a
/prefix —/facebook/reactnotfacebook/react - Always run
ctx7 libraryfirst —ctx7 docs react "hooks"will fail without a valid ID - Repository format for skills is
/owner/repo— e.g.,ctx7 skills install /anthropics/skills skills generaterequires login — runctx7 loginfirst
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

