
Context7 MCP
Рекомендуемыйот Context7
Доступ к актуальной документации библиотек и фреймворков.
Установка
npx @context7/mcp-serverОписание
 [](https://cursor.com/en/install-mcp?name=context7&config=eyJ1cmwiOiJodHRwczovL21jcC5jb250ZXh0Ny5jb20vbWNwIn0%3D) [<img alt="Install in VS Code (npx)" src="https://img.shields.io/badge/Install%20in%20VS%20Code-0098FF?style=for-the-badge&logo=visualstudiocode&logoColor=white">](https://insiders.vscode.dev/redirect?url=vscode%3Amcp%2Finstall%3F%7B%22name%22%3A%22context7%22%2C%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22%40upstash%2Fcontext7-mcp%40latest%22%5D%7D) # Context7 MCP - Up-to-date Code Docs For Any Prompt [](https://context7.com) [](https://smithery.ai/server/@upstash/context7-mcp) [](https://www.npmjs.com/package/@upstash/context7-mcp) [](./LICENSE) [](./i18n/README.zh-TW.md) [](./i18n/README.zh-CN.md) [](./i18n/README.ja.md) [](./i18n/README.ko.md) [](./i18n/README.es.md) [](./i18n/README.fr.md) [-purple>)](./i18n/README.pt-BR.md) [](./i18n/README.it.md) [](./i18n/README.id-ID.md) [](./i18n/README.de.md) [](./i18n/README.ru.md) [](./i18n/README.uk.md) [](./i18n/README.tr.md) [](./i18n/README.ar.md) [](./i18n/README.vi.md) ## ❌ Without Context7 LLMs rely on outdated or generic information about the libraries you use. You get: - ❌ Code examples are outdated and based on year-old training data - ❌ Hallucinated APIs that don't even exist - ❌ Generic answers for old package versions ## ✅ With Context7 Context7 MCP pulls up-to-date, version-specific documentation and code examples straight from the source — and places them directly into your prompt. Add `use context7` to your prompt (or [set up a rule](#️-installation) to auto-invoke): ```txt Create a Next.js middleware that checks for a valid JWT in cookies and redirects unauthenticated users to `/login`. use context7 ``` ```txt Configure a Cloudflare Worker script to cache JSON API responses for five minutes. use context7 ``` Context7 fetches up-to-date code examples and documentation right into your LLM's context. - 1️⃣ Write your prompt naturally - 2️⃣ Tell the LLM to `use context7` (or [set up a rule](#️-installation) once) - 3️⃣ Get working code answers No tab-switching, no hallucinated APIs that don't exist, no outdated code generation. > [!NOTE] > This repository hosts the source code of Context7 MCP server. The supporting components — API backend, parsing engine, and crawling engine — are private and not part of this release. ## 📚 Adding Projects Check out our [project addition guide](https://context7.com/docs/adding-libraries) to learn how to add (or update) your favorite libraries to Context7. ## 🛠️ Installation ### Requirements - Node.js >= v18.0.0 - Cursor, Claude Code, VSCode, Windsurf or another MCP Client - Context7 API Key (Optional) for higher rate limits and private repositories (Get yours by creating an account at [context7.com/dashboard](https://context7.com/dashboard)) > [!TIP] > **Recommended Post-Setup: Add a Rule to Auto-Invoke Context7** > > After installing Context7 (see instructions below), enhance your workflow by adding a rule so you don't have to type `use context7` in every prompt. Define a simple rule in your MCP client's rule section to automatically invoke Context7 on any code question: > > - For Windsurf, in `.windsurfrules` file > - For Cursor, from `Cursor Settings > Rules` section > - For Claude Code, in `CLAUDE.md` file > - Or the equivalent in your MCP client > > **Example Rule:** > > ```txt > Always use context7 when I need code generation, setup or configuration steps, or > library/API docum
Отзывы (128)
Пока нет отзывов. Будьте первым!
Статистика
Информация
Технологии
Похожие серверы
GitHub MCP
Полная интеграция с GitHub API: репозитории, issues, pull requests, actions и многое другое.
Filesystem MCP
Безопасный доступ к файловой системе для чтения, записи и управления файлами с настраиваемыми разрешениями.
Serena MCP
Мощный MCP сервер для семантической навигации по коду и рефакторинга.
Figma MCP
Интеграция с Figma: чтение дизайнов, комментарии, экспорт компонентов.