HelloPixDig

Directory › Development › Context7

Context7 — visuel officiel du projet
Image: official project repository

> GEM DEVELOPMENT

Context7

by Upstash

When you ask for code, your agent reads the current documentation of the library (Next.js, Supabase…) instead of answering from an older version it remembers.

65.6 k stars GitHub MIT Open sourceFreemium
View on GitHub →

What it does

  • Two MCP tools: find the library by name, then read its documentation. You can also write "use library /supabase/supabase" or give the version in your prompt
  • One command, "npx ctx7 setup": sign-in, API key creation and setup of your agent (Claude Code, Cursor, OpenCode…), in command + skill mode or MCP mode
  • Free plan: 1,000 calls per month. Pro plan: $10 per seat per month, 2,000 calls per seat ($5 per 1,000 beyond that) and private repos (prices read on 27 Oct 2026)

! The documentation comes from Upstash's online service: your queries go through their servers. On the free plan, once the month's 1,000 calls are used, access is blocked until the next month (20 bonus calls per day). The MCP server code is MIT licensed; the API key is obtained at context7.com/dashboard. Only the MCP server code is public: the API, parsing and crawling engines are private. Only the documentation lookup query and the library name are sent, not your code (according to Upstash).

Install it

Requirements: Node.js 22.13+ and a supported coding agent (Claude Code, Cursor, VS Code, OpenCode…).

Run the setup, then choose "command + skill" or "MCP"
npx ctx7 setup

The prompt for your agent

Paste it into your coding agent: it checks the requirements and installs it for you.

Claude CodeCodexCursorGemini CLIopencode
Prompt
Help me get started with Context7 (https://github.com/upstash/context7).
1. Summarize what the tool can do for me: When you ask for code, your agent reads the current documentation of the library (Next.js, Supabase…) instead of answering from an older version it remembers.
2. Explain how to create an account and check current pricing on the official site.
3. Suggest a first concrete use case, step by step.

Always review what your agent is about to run, especially install commands.