context7
by upstash
Context7 gives AI coding assistants current, version-specific documentation and code examples for software libraries. It aims to reduce outdated code and invented functions in AI-generated answers.
- Stars
- 63.7k +19 a day
- Licence
- MIT
- Runs on
- Your computer
- Setup
- Easy
- Language
- TypeScript
- Age
- 579 days
What you can do with it
- Add 'use context7' to a prompt so your coding agent pulls current library documentation
- Request docs for a specific library version, such as Next.js 16, to get matching code
- Install it as an MCP server or CLI skill in tools such as Cursor or Claude Code
Make money with it
A freelance developer could use it to deliver client web projects faster and with fewer errors, taking on more paid work.
An idea, not financial advice. Check the licence before charging for anything built on it.
Ways a business could use it
- Cut time spent fixing outdated or invented code from AI assistants when building client projects
- Speed up development of products and websites by getting accurate framework setup steps first time
Can you use it commercially?
Free to use, change and sell, including in paid products. Keep the copyright notice.
Not legal advice. Read the project's licence file before building a product on it.
Getting it running
Run 'npx ctx7 setup' (needs Node.js 22.13 or newer) to sign in and install the skill or MCP connection, or add the hosted MCP server URL manually.
Follow the official instructions in the project README.
Things to check
- The repository holds only the MCP server and CLI; the API backend, parsing and crawling engines are private
- Relies on the hosted Context7 service, so it is not fully self-contained
- A free API key is recommended; free usage has rate limits
- Library documentation is community-contributed and its accuracy is not guaranteed
Checked 27 Oct 2026. Summary drafted by AI from the project's README.