Appearance
Context7 MCP Setup
Context7 is an MCP server that gives the AI up-to-date, version-specific documentation for many libraries (Next.js, Prisma, Supabase, React, etc.). It’s already configured in this project (.vscode/mcp.json and .cursor/mcp.json). Use “use context7” in prompts when you want current docs for a library.
Rate limits and API key
The project config uses Context7 without an API key. That works but has lower rate limits. If you hit limits or want more usage:
- Get a free API key: Sign in at context7.com, go to the dashboard, and create an API key.
- Enable it in your user config (do not put the key in the repo):
- VS Code: Command Palette → MCP: Open User Configuration. Add or edit the
context7server and set a header, e.g."CONTEXT7_API_KEY": "your-key"in theheadersobject. - Cursor: Edit
~/.cursor/mcp.jsonand add the header to thecontext7entry, e.g."headers": { "CONTEXT7_API_KEY": "your-key" }.
- VS Code: Command Palette → MCP: Open User Configuration. Add or edit the
After adding the key, reload the editor so the updated config is used. See Context7 API keys and Plans & pricing for limits and options.