[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"similar-upstash--context7":3,"tool-upstash--context7":61},[4,18,26,36,44,53],{"id":5,"name":6,"github_repo":7,"description_zh":8,"stars":9,"difficulty_score":10,"last_commit_at":11,"category_tags":12,"status":17},4358,"openclaw","openclaw\u002Fopenclaw","OpenClaw 是一款专为个人打造的本地化 AI 助手，旨在让你在自己的设备上拥有完全可控的智能伙伴。它打破了传统 AI 助手局限于特定网页或应用的束缚，能够直接接入你日常使用的各类通讯渠道，包括微信、WhatsApp、Telegram、Discord、iMessage 等数十种平台。无论你在哪个聊天软件中发送消息，OpenClaw 都能即时响应，甚至支持在 macOS、iOS 和 Android 设备上进行语音交互，并提供实时的画布渲染功能供你操控。\n\n这款工具主要解决了用户对数据隐私、响应速度以及“始终在线”体验的需求。通过将 AI 部署在本地，用户无需依赖云端服务即可享受快速、私密的智能辅助，真正实现了“你的数据，你做主”。其独特的技术亮点在于强大的网关架构，将控制平面与核心助手分离，确保跨平台通信的流畅性与扩展性。\n\nOpenClaw 非常适合希望构建个性化工作流的技术爱好者、开发者，以及注重隐私保护且不愿被单一生态绑定的普通用户。只要具备基础的终端操作能力（支持 macOS、Linux 及 Windows WSL2），即可通过简单的命令行引导完成部署。如果你渴望拥有一个懂你",349277,3,"2026-04-06T06:32:30",[13,14,15,16],"Agent","开发框架","图像","数据工具","ready",{"id":19,"name":20,"github_repo":21,"description_zh":22,"stars":23,"difficulty_score":10,"last_commit_at":24,"category_tags":25,"status":17},3808,"stable-diffusion-webui","AUTOMATIC1111\u002Fstable-diffusion-webui","stable-diffusion-webui 是一个基于 Gradio 构建的网页版操作界面，旨在让用户能够轻松地在本地运行和使用强大的 Stable Diffusion 图像生成模型。它解决了原始模型依赖命令行、操作门槛高且功能分散的痛点，将复杂的 AI 绘图流程整合进一个直观易用的图形化平台。\n\n无论是希望快速上手的普通创作者、需要精细控制画面细节的设计师，还是想要深入探索模型潜力的开发者与研究人员，都能从中获益。其核心亮点在于极高的功能丰富度：不仅支持文生图、图生图、局部重绘（Inpainting）和外绘（Outpainting）等基础模式，还独创了注意力机制调整、提示词矩阵、负向提示词以及“高清修复”等高级功能。此外，它内置了 GFPGAN 和 CodeFormer 等人脸修复工具，支持多种神经网络放大算法，并允许用户通过插件系统无限扩展能力。即使是显存有限的设备，stable-diffusion-webui 也提供了相应的优化选项，让高质量的 AI 艺术创作变得触手可及。",162132,"2026-04-05T11:01:52",[14,15,13],{"id":27,"name":28,"github_repo":29,"description_zh":30,"stars":31,"difficulty_score":32,"last_commit_at":33,"category_tags":34,"status":17},1381,"everything-claude-code","affaan-m\u002Feverything-claude-code","everything-claude-code 是一套专为 AI 编程助手（如 Claude Code、Codex、Cursor 等）打造的高性能优化系统。它不仅仅是一组配置文件，而是一个经过长期实战打磨的完整框架，旨在解决 AI 代理在实际开发中面临的效率低下、记忆丢失、安全隐患及缺乏持续学习能力等核心痛点。\n\n通过引入技能模块化、直觉增强、记忆持久化机制以及内置的安全扫描功能，everything-claude-code 能显著提升 AI 在复杂任务中的表现，帮助开发者构建更稳定、更智能的生产级 AI 代理。其独特的“研究优先”开发理念和针对 Token 消耗的优化策略，使得模型响应更快、成本更低，同时有效防御潜在的攻击向量。\n\n这套工具特别适合软件开发者、AI 研究人员以及希望深度定制 AI 工作流的技术团队使用。无论您是在构建大型代码库，还是需要 AI 协助进行安全审计与自动化测试，everything-claude-code 都能提供强大的底层支持。作为一个曾荣获 Anthropic 黑客大奖的开源项目，它融合了多语言支持与丰富的实战钩子（hooks），让 AI 真正成长为懂上",151918,2,"2026-04-12T11:33:05",[14,13,35],"语言模型",{"id":37,"name":38,"github_repo":39,"description_zh":40,"stars":41,"difficulty_score":32,"last_commit_at":42,"category_tags":43,"status":17},2271,"ComfyUI","Comfy-Org\u002FComfyUI","ComfyUI 是一款功能强大且高度模块化的视觉 AI 引擎，专为设计和执行复杂的 Stable Diffusion 图像生成流程而打造。它摒弃了传统的代码编写模式，采用直观的节点式流程图界面，让用户通过连接不同的功能模块即可构建个性化的生成管线。\n\n这一设计巧妙解决了高级 AI 绘图工作流配置复杂、灵活性不足的痛点。用户无需具备编程背景，也能自由组合模型、调整参数并实时预览效果，轻松实现从基础文生图到多步骤高清修复等各类复杂任务。ComfyUI 拥有极佳的兼容性，不仅支持 Windows、macOS 和 Linux 全平台，还广泛适配 NVIDIA、AMD、Intel 及苹果 Silicon 等多种硬件架构，并率先支持 SDXL、Flux、SD3 等前沿模型。\n\n无论是希望深入探索算法潜力的研究人员和开发者，还是追求极致创作自由度的设计师与资深 AI 绘画爱好者，ComfyUI 都能提供强大的支持。其独特的模块化架构允许社区不断扩展新功能，使其成为当前最灵活、生态最丰富的开源扩散模型工具之一，帮助用户将创意高效转化为现实。",108322,"2026-04-10T11:39:34",[14,15,13],{"id":45,"name":46,"github_repo":47,"description_zh":48,"stars":49,"difficulty_score":32,"last_commit_at":50,"category_tags":51,"status":17},6121,"gemini-cli","google-gemini\u002Fgemini-cli","gemini-cli 是一款由谷歌推出的开源 AI 命令行工具，它将强大的 Gemini 大模型能力直接集成到用户的终端环境中。对于习惯在命令行工作的开发者而言，它提供了一条从输入提示词到获取模型响应的最短路径，无需切换窗口即可享受智能辅助。\n\n这款工具主要解决了开发过程中频繁上下文切换的痛点，让用户能在熟悉的终端界面内直接完成代码理解、生成、调试以及自动化运维任务。无论是查询大型代码库、根据草图生成应用，还是执行复杂的 Git 操作，gemini-cli 都能通过自然语言指令高效处理。\n\n它特别适合广大软件工程师、DevOps 人员及技术研究人员使用。其核心亮点包括支持高达 100 万 token 的超长上下文窗口，具备出色的逻辑推理能力；内置 Google 搜索、文件操作及 Shell 命令执行等实用工具；更独特的是，它支持 MCP（模型上下文协议），允许用户灵活扩展自定义集成，连接如图像生成等外部能力。此外，个人谷歌账号即可享受免费的额度支持，且项目基于 Apache 2.0 协议完全开源，是提升终端工作效率的理想助手。",100752,"2026-04-10T01:20:03",[52,13,15,14],"插件",{"id":54,"name":55,"github_repo":56,"description_zh":57,"stars":58,"difficulty_score":32,"last_commit_at":59,"category_tags":60,"status":17},4721,"markitdown","microsoft\u002Fmarkitdown","MarkItDown 是一款由微软 AutoGen 团队打造的轻量级 Python 工具，专为将各类文件高效转换为 Markdown 格式而设计。它支持 PDF、Word、Excel、PPT、图片（含 OCR）、音频（含语音转录）、HTML 乃至 YouTube 链接等多种格式的解析，能够精准提取文档中的标题、列表、表格和链接等关键结构信息。\n\n在人工智能应用日益普及的今天，大语言模型（LLM）虽擅长处理文本，却难以直接读取复杂的二进制办公文档。MarkItDown 恰好解决了这一痛点，它将非结构化或半结构化的文件转化为模型“原生理解”且 Token 效率极高的 Markdown 格式，成为连接本地文件与 AI 分析 pipeline 的理想桥梁。此外，它还提供了 MCP（模型上下文协议）服务器，可无缝集成到 Claude Desktop 等 LLM 应用中。\n\n这款工具特别适合开发者、数据科学家及 AI 研究人员使用，尤其是那些需要构建文档检索增强生成（RAG）系统、进行批量文本分析或希望让 AI 助手直接“阅读”本地文件的用户。虽然生成的内容也具备一定可读性，但其核心优势在于为机器",93400,"2026-04-06T19:52:38",[52,14],{"id":62,"github_repo":63,"name":64,"description_en":65,"description_zh":66,"ai_summary_zh":66,"readme_en":67,"readme_zh":68,"quickstart_zh":69,"use_case_zh":70,"hero_image_url":71,"owner_login":72,"owner_name":73,"owner_avatar_url":74,"owner_bio":75,"owner_company":76,"owner_location":76,"owner_email":77,"owner_twitter":72,"owner_website":78,"owner_url":79,"languages":80,"stars":93,"forks":94,"last_commit_at":95,"license":96,"difficulty_score":32,"env_os":97,"env_gpu":98,"env_ram":97,"env_deps":99,"category_tags":104,"github_topics":105,"view_count":32,"oss_zip_url":76,"oss_zip_packed_at":76,"status":17,"created_at":110,"updated_at":111,"faqs":112,"releases":142},6872,"upstash\u002Fcontext7","context7","Context7 Platform -- Up-to-date code documentation for LLMs and AI code editors","Context7 是一个专为大语言模型（LLM）和 AI 代码编辑器设计的实时文档增强平台。它致力于解决 AI 编程中常见的痛点：由于训练数据滞后，AI 往往会提供过时的代码示例、虚构不存在的 API，或给出针对旧版本库的通用建议。\n\n通过直接连接官方源，Context7 能够抓取特定版本的最新文档和代码范例，并将其无缝注入到用户的提示词上下文中。这意味着开发者在请求生成 Next.js 中间件或配置 Cloudflare Worker 时，AI 能立即基于当前最新的库版本输出准确代码，无需人工切换标签页查证，也杜绝了“幻觉”代码的产生。\n\n该工具主要面向软件开发者和技术团队，特别是那些深度依赖 Cursor、Claude 等 AI 辅助编程工具的用户。其独特亮点在于提供了灵活的集成模式：既支持通过 CLI 命令引导 Agent 主动获取文档，也支持标准的 MCP（模型上下文协议）服务器模式，让 AI 代理能原生调用文档工具。只需一条命令即可完成安装与认证，Context7 让 AI 编程助手真正具备了“与时俱进”的能力，显著提升了代码生成的准确性与开发效率。","![Cover](https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002Fupstash_context7_readme_af93bb255190.png)\n\n[![Install MCP Server](https:\u002F\u002Fcursor.com\u002Fdeeplink\u002Fmcp-install-dark.svg)](https:\u002F\u002Fcursor.com\u002Fen\u002Finstall-mcp?name=context7&config=eyJ1cmwiOiJodHRwczovL21jcC5jb250ZXh0Ny5jb20vbWNwIn0%3D)\n\n# Context7 Platform - Up-to-date Code Docs For Any Prompt\n\n[![Website](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FWebsite-context7.com-blue)](https:\u002F\u002Fcontext7.com) [![smithery badge](https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002Fupstash_context7_readme_c4556bbef170.png)](https:\u002F\u002Fsmithery.ai\u002Fserver\u002F@upstash\u002Fcontext7-mcp) [![NPM Version](https:\u002F\u002Fimg.shields.io\u002Fnpm\u002Fv\u002F%40upstash%2Fcontext7-mcp?color=red)](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002F@upstash\u002Fcontext7-mcp) [![MIT licensed](https:\u002F\u002Fimg.shields.io\u002Fnpm\u002Fl\u002F%40upstash%2Fcontext7-mcp)](.\u002FLICENSE)\n\n[![繁體中文](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fdocs-繁體中文-yellow)](.\u002Fi18n\u002FREADME.zh-TW.md) [![简体中文](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fdocs-简体中文-yellow)](.\u002Fi18n\u002FREADME.zh-CN.md) [![日本語](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fdocs-日本語-b7003a)](.\u002Fi18n\u002FREADME.ja.md) [![한국어 문서](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fdocs-한국어-green)](.\u002Fi18n\u002FREADME.ko.md) [![Documentación en Español](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fdocs-Español-orange)](.\u002Fi18n\u002FREADME.es.md) [![Documentation en Français](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fdocs-Français-blue)](.\u002Fi18n\u002FREADME.fr.md) [![Documentação em Português (Brasil)](\u003Chttps:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fdocs-Português%20(Brasil)-purple>)](.\u002Fi18n\u002FREADME.pt-BR.md) [![Documentazione in italiano](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fdocs-Italian-red)](.\u002Fi18n\u002FREADME.it.md) [![Dokumentasi Bahasa Indonesia](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fdocs-Bahasa%20Indonesia-pink)](.\u002Fi18n\u002FREADME.id-ID.md) [![Dokumentation auf Deutsch](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fdocs-Deutsch-darkgreen)](.\u002Fi18n\u002FREADME.de.md) [![Документация на русском языке](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fdocs-Русский-darkblue)](.\u002Fi18n\u002FREADME.ru.md) [![Українська документація](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fdocs-Українська-lightblue)](.\u002Fi18n\u002FREADME.uk.md) [![Türkçe Doküman](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fdocs-Türkçe-blue)](.\u002Fi18n\u002FREADME.tr.md) [![Arabic Documentation](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fdocs-Arabic-white)](.\u002Fi18n\u002FREADME.ar.md) [![Tiếng Việt](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fdocs-Tiếng%20Việt-red)](.\u002Fi18n\u002FREADME.vi.md)\n\n## ❌ Without Context7\n\nLLMs rely on outdated or generic information about the libraries you use. You get:\n\n- ❌ Code examples are outdated and based on year-old training data\n- ❌ Hallucinated APIs that don't even exist\n- ❌ Generic answers for old package versions\n\n## ✅ With Context7\n\nContext7 pulls up-to-date, version-specific documentation and code examples straight from the source — and places them directly into your prompt.\n\n```txt\nCreate a Next.js middleware that checks for a valid JWT in cookies\nand redirects unauthenticated users to `\u002Flogin`. use context7\n```\n\n```txt\nConfigure a Cloudflare Worker script to cache\nJSON API responses for five minutes. use context7\n```\n\n```txt\nShow me the Supabase auth API for email\u002Fpassword sign-up.\n```\n\nContext7 fetches up-to-date code examples and documentation right into your LLM's context. No tab-switching, no hallucinated APIs that don't exist, no outdated code generation.\n\nWorks in two modes:\n\n- **CLI + Skills** — installs a skill that guides your agent to fetch docs using `ctx7` CLI commands (no MCP required)\n- **MCP** — registers a Context7 MCP server so your agent can call documentation tools natively\n\n## Installation\n\n> [!NOTE]\n> **API Key Recommended**: Get a free API key at [context7.com\u002Fdashboard](https:\u002F\u002Fcontext7.com\u002Fdashboard) for higher rate limits.\n\nSet up Context7 for your coding agents with a single command:\n\n```bash\nnpx ctx7 setup\n```\n\nAuthenticates via OAuth, generates an API key, and installs the appropriate skill. You can choose between CLI + Skills or MCP mode. Use `--cursor`, `--claude`, or `--opencode` to target a specific agent.\n\nTo configure manually, use the Context7 server URL `https:\u002F\u002Fmcp.context7.com\u002Fmcp` with your MCP client and pass your API key via the `CONTEXT7_API_KEY` header. See the link below for client-specific setup instructions.\n\n**[Manual Installation \u002F Other Clients →](https:\u002F\u002Fcontext7.com\u002Fdocs\u002Fresources\u002Fall-clients)**\n\n## Important Tips\n\n### Use Library Id\n\nIf you already know exactly which library you want to use, add its Context7 ID to your prompt. That way, Context7 can skip the library-matching step and directly retrieve docs.\n\n```txt\nImplement basic authentication with Supabase. use library \u002Fsupabase\u002Fsupabase for API and docs.\n```\n\nThe slash syntax tells Context7 exactly which library to load docs for.\n\n### Specify a Version\n\nTo get documentation for a specific library version, just mention the version in your prompt:\n\n```txt\nHow do I set up Next.js 14 middleware? use context7\n```\n\nContext7 will automatically match the appropriate version.\n\n### Add a Rule\n\nIf you installed via `ctx7 setup`, a skill is configured automatically that triggers Context7 for library-related questions. To set up a rule manually instead, add one to your coding agent:\n\n- **Cursor**: `Cursor Settings > Rules`\n- **Claude Code**: `CLAUDE.md`\n- Or the equivalent in your coding agent\n\n**Example rule:**\n\n```txt\nAlways use Context7 when I need library\u002FAPI documentation, code generation, setup or configuration steps without me having to explicitly ask.\n```\n\n## Available Tools\n\n### CLI Commands\n\n- `ctx7 library \u003Cname> \u003Cquery>`: Searches the Context7 index by library name and returns matching libraries with their IDs.\n- `ctx7 docs \u003ClibraryId> \u003Cquery>`: Retrieves documentation for a library using a Context7-compatible library ID (e.g., `\u002Fmongodb\u002Fdocs`, `\u002Fvercel\u002Fnext.js`).\n\n### MCP Tools\n\n- `resolve-library-id`: Resolves a general library name into a Context7-compatible library ID.\n  - `query` (required): The user's question or task (used to rank results by relevance)\n  - `libraryName` (required): The name of the library to search for\n- `query-docs`: Retrieves documentation for a library using a Context7-compatible library ID.\n  - `libraryId` (required): Exact Context7-compatible library ID (e.g., `\u002Fmongodb\u002Fdocs`, `\u002Fvercel\u002Fnext.js`)\n  - `query` (required): The question or task to get relevant documentation for\n\n## More Documentation\n\n- [CLI Reference](https:\u002F\u002Fcontext7.com\u002Fdocs\u002Fclients\u002Fcli) - Full CLI documentation\n- [MCP Clients](https:\u002F\u002Fcontext7.com\u002Fdocs\u002Fresources\u002Fall-clients) - Manual MCP installation for 30+ clients\n- [Adding Libraries](https:\u002F\u002Fcontext7.com\u002Fdocs\u002Fadding-libraries) - Submit your library to Context7\n- [Troubleshooting](https:\u002F\u002Fcontext7.com\u002Fdocs\u002Fresources\u002Ftroubleshooting) - Common issues and solutions\n- [API Reference](https:\u002F\u002Fcontext7.com\u002Fdocs\u002Fapi-guide) - REST API documentation\n- [Developer Guide](https:\u002F\u002Fcontext7.com\u002Fdocs\u002Fresources\u002Fdeveloper) - Run Context7 MCP locally\n\n## Disclaimer\n\n1- Context7 projects are community-contributed and while we strive to maintain high quality, we cannot guarantee the accuracy, completeness, or security of all library documentation. Projects listed in Context7 are developed and maintained by their respective owners, not by Context7. If you encounter any suspicious, inappropriate, or potentially harmful content, please use the \"Report\" button on the project page to notify us immediately. We take all reports seriously and will review flagged content promptly to maintain the integrity and safety of our platform. By using Context7, you acknowledge that you do so at your own discretion and risk.\n\n2- This repository hosts the MCP server’s source code. The supporting components — API backend, parsing engine, and crawling engine — are private and not part of this repository.\n\n## 🤝 Connect with Us\n\nStay updated and join our community:\n\n- 📢 Follow us on [X](https:\u002F\u002Fx.com\u002Fcontext7ai) for the latest news and updates\n- 🌐 Visit our [Website](https:\u002F\u002Fcontext7.com)\n- 💬 Join our [Discord Community](https:\u002F\u002Fupstash.com\u002Fdiscord)\n\n## 📺 Context7 In Media\n\n- [Better Stack: \"Free Tool Makes Cursor 10x Smarter\"](https:\u002F\u002Fyoutu.be\u002F52FC3qObp9E)\n- [Cole Medin: \"This is Hands Down the BEST MCP Server for AI Coding Assistants\"](https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=G7gK8H6u7Rs)\n- [Income Stream Surfers: \"Context7 + SequentialThinking MCPs: Is This AGI?\"](https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=-ggvzyLpK6o)\n- [Julian Goldie SEO: \"Context7: New MCP AI Agent Update\"](https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=CTZm6fBYisc)\n- [JeredBlu: \"Context 7 MCP: Get Documentation Instantly + VS Code Setup\"](https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=-ls0D-rtET4)\n- [Income Stream Surfers: \"Context7: The New MCP Server That Will CHANGE AI Coding\"](https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=PS-2Azb-C3M)\n- [AICodeKing: \"Context7 + Cline & RooCode: This MCP Server Makes CLINE 100X MORE EFFECTIVE!\"](https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=qZfENAPMnyo)\n- [Sean Kochel: \"5 MCP Servers For Vibe Coding Glory (Just Plug-In & Go)\"](https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=LqTQi8qexJM)\n\n## ⭐ Star History\n\n[![Star History Chart](https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002Fupstash_context7_readme_244d0673c577.png)](https:\u002F\u002Fwww.star-history.com\u002F#upstash\u002Fcontext7&Date)\n\n## 📄 License\n\nMIT\n","![封面](https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002Fupstash_context7_readme_af93bb255190.png)\n\n[![安装 MCP 服务器](https:\u002F\u002Fcursor.com\u002Fdeeplink\u002Fmcp-install-dark.svg)](https:\u002F\u002Fcursor.com\u002Fen\u002Finstall-mcp?name=context7&config=eyJ1cmwiOiJodHRwczovL21jcC5jb250ZXh0Ny5jb20vbWNwIn0%3D)\n\n# Context7 平台 - 针对任何提示的最新代码文档\n\n[![官网](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FWebsite-context7.com-blue)](https:\u002F\u002Fcontext7.com) [![smithery 徽章](https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002Fupstash_context7_readme_c4556bbef170.png)](https:\u002F\u002Fsmithery.ai\u002Fserver\u002F@upstash\u002Fcontext7-mcp) [![NPM 版本](https:\u002F\u002Fimg.shields.io\u002Fnpm\u002Fv\u002F%40upstash%2Fcontext7-mcp?color=red)](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002F@upstash\u002Fcontext7-mcp) [![MIT 许可](https:\u002F\u002Fimg.shields.io\u002Fnpm\u002Fl\u002F%40upstash%2Fcontext7-mcp)](.\u002FLICENSE)\n\n[![繁體中文](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fdocs-繁體中文-yellow)](.\u002Fi18n\u002FREADME.zh-TW.md) [![简体中文](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fdocs-简体中文-yellow)](.\u002Fi18n\u002FREADME.zh-CN.md) [![日本語](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fdocs-日本語-b7003a)](.\u002Fi18n\u002FREADME.ja.md) [![한국어 문서](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fdocs-한국어-green)](.\u002Fi18n\u002FREADME.ko.md) [![Documentación en Español](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fdocs-Español-orange)](.\u002Fi18n\u002FREADME.es.md) [![Documentation en Français](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fdocs-Français-blue)](.\u002Fi18n\u002FREADME.fr.md) [![Documentação em Português (Brasil)](\u003Chttps:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fdocs-Português%20(Brasil)-purple>)](.\u002Fi18n\u002FREADME.pt-BR.md) [![Documentazione in italiano](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fdocs-Italian-red)](.\u002Fi18n\u002FREADME.it.md) [![Dokumentasi Bahasa Indonesia](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fdocs-Bahasa%20Indonesia-pink)](.\u002Fi18n\u002FREADME.id-ID.md) [![Dokumentation auf Deutsch](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fdocs-Deutsch-darkgreen)](.\u002Fi18n\u002FREADME.de.md) [![Документация на русском языке](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fdocs-Русский-darkblue)](.\u002Fi18n\u002FREADME.ru.md) [![Українська документація](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fdocs-Українська-lightblue)](.\u002Fi18n\u002FREADME.uk.md) [![Türkçe Doküman](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fdocs-Türkçe-blue)](.\u002Fi18n\u002FREADME.tr.md) [![Arabic Documentation](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fdocs-Arabic-white)](.\u002Fi18n\u002FREADME.ar.md) [![Tiếng Việt](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fdocs-Tiếng%20Việt-red)](.\u002Fi18n\u002FREADME.vi.md)\n\n## ❌ 没有 Context7\n\nLLM 依赖于你所使用库的过时或通用信息。你会遇到：\n\n- ❌ 代码示例过时，基于多年前的训练数据\n- ❌ 幻觉出根本不存在的 API\n- ❌ 针对旧版本包的通用答案\n\n## ✅ 使用 Context7\n\nContext7 直接从源中提取最新、特定版本的文档和代码示例，并将其直接放入你的提示中。\n\n```txt\n创建一个 Next.js 中间件，检查 Cookie 中的有效 JWT，\n并将未认证用户重定向到 `\u002Flogin`。使用 context7\n```\n\n```txt\n配置 Cloudflare Worker 脚本，将 JSON API 响应缓存五分钟。使用 context7\n```\n\n```txt\n向我展示 Supabase 的电子邮件\u002F密码注册认证 API。\n```\n\nContext7 会将最新的代码示例和文档直接获取到你的 LLM 上下文中。无需切换标签页，没有不存在的幻觉 API，也不会生成过时的代码。\n\n支持两种模式：\n\n- **CLI + 技能** — 安装一个技能，引导你的代理使用 `ctx7` CLI 命令来获取文档（无需 MCP）\n- **MCP** — 注册一个 Context7 MCP 服务器，以便你的代理可以原生调用文档工具\n\n## 安装\n\n> [!NOTE]\n> **推荐 API 密钥**：在 [context7.com\u002Fdashboard](https:\u002F\u002Fcontext7.com\u002Fdashboard) 获取免费 API 密钥，以获得更高的速率限制。\n\n只需一条命令即可为你的编码代理设置 Context7：\n\n```bash\nnpx ctx7 setup\n```\n\n通过 OAuth 进行身份验证，生成 API 密钥，并安装相应的技能。你可以选择 CLI + 技能或 MCP 模式。使用 `--cursor`、`--claude` 或 `--opencode` 来指定特定的代理。\n\n要手动配置，请使用 Context7 服务器 URL `https:\u002F\u002Fmcp.context7.com\u002Fmcp` 与你的 MCP 客户端配合，并通过 `CONTEXT7_API_KEY` 头传递你的 API 密钥。有关特定客户端的设置说明，请参阅下方链接。\n\n**[手动安装 \u002F 其他客户端 →](https:\u002F\u002Fcontext7.com\u002Fdocs\u002Fresources\u002Fall-clients)**\n\n## 重要提示\n\n### 使用库 ID\n\n如果你已经确切知道要使用哪个库，可以在提示中添加其 Context7 ID。这样，Context7 就可以跳过库匹配步骤，直接检索文档。\n\n```txt\n使用 Supabase 实现基本认证。使用库 \u002Fsupabase\u002Fsupabase 获取 API 和文档。\n```\n\n斜杠语法告诉 Context7 精确加载哪个库的文档。\n\n### 指定版本\n\n要获取特定库版本的文档，只需在提示中提及版本：\n\n```txt\n如何设置 Next.js 14 的中间件？使用 context7\n```\n\nContext7 会自动匹配相应的版本。\n\n### 添加规则\n\n如果你通过 `ctx7 setup` 安装，系统会自动配置一个技能，该技能会在涉及库相关问题时触发 Context7。如果你想手动设置规则，可以将其添加到你的编码代理中：\n\n- **Cursor**：`Cursor 设置 > 规则`\n- **Claude Code**：`CLAUDE.md`\n- 或者在你的编码代理中找到等效选项\n\n**示例规则：**\n\n```txt\n当我需要库\u002FAPI 文档、代码生成、设置或配置步骤时，始终使用 Context7，而无需我明确请求。\n```\n\n## 可用工具\n\n### CLI 命令\n\n- `ctx7 library \u003Cname> \u003Cquery>`：按库名搜索 Context7 索引，返回匹配的库及其 ID。\n- `ctx7 docs \u003ClibraryId> \u003Cquery>`：使用 Context7 兼容的库 ID 获取库的文档（例如 `\u002Fmongodb\u002Fdocs`、`\u002Fvercel\u002Fnext.js`）。\n\n### MCP 工具\n\n- `resolve-library-id`：将通用库名解析为 Context7 兼容的库 ID。\n  - `query`（必填）：用户的提问或任务（用于按相关性对结果排序）\n  - `libraryName`（必填）：要搜索的库名\n- `query-docs`：使用 Context7 兼容的库 ID 获取库的文档。\n  - `libraryId`（必填）：精确的 Context7 兼容库 ID（例如 `\u002Fmongodb\u002Fdocs`、`\u002Fvercel\u002Fnext.js`）\n  - `query`（必填）：需要获取相关文档的问题或任务\n\n## 更多文档\n\n- [CLI 参考](https:\u002F\u002Fcontext7.com\u002Fdocs\u002Fclients\u002Fcli) — 完整的 CLI 文档\n- [MCP 客户端](https:\u002F\u002Fcontext7.com\u002Fdocs\u002Fresources\u002Fall-clients) — 适用于 30 多种客户端的手动 MCP 安装\n- [添加库](https:\u002F\u002Fcontext7.com\u002Fdocs\u002Fadding-libraries) — 提交你的库到 Context7\n- [故障排除](https:\u002F\u002Fcontext7.com\u002Fdocs\u002Fresources\u002Ftroubleshooting) — 常见问题及解决方案\n- [API 参考](https:\u002F\u002Fcontext7.com\u002Fdocs\u002Fapi-guide) — REST API 文档\n- [开发者指南](https:\u002F\u002Fcontext7.com\u002Fdocs\u002Fresources\u002Fdeveloper) — 在本地运行 Context7 MCP\n\n## 免责声明\n\n1- Context7 上的项目均由社区贡献，尽管我们致力于保持高质量，但我们无法保证所有库文档的准确性、完整性或安全性。Context7 中列出的项目由其各自的维护者开发和维护，而非由 Context7 维护。如果您遇到任何可疑、不当或可能有害的内容，请使用项目页面上的“举报”按钮立即通知我们。我们会认真对待每一条举报，并及时审查被标记的内容，以维护平台的完整性和安全性。使用 Context7 即表示您确认这是基于您的自主判断并自担风险。\n\n2- 本仓库托管 MCP 服务器的源代码。配套组件——API 后端、解析引擎和爬虫引擎——均为私有，不属于本仓库的一部分。\n\n## 🤝 与我们联系\n\n保持更新，加入我们的社区：\n\n- 📢 关注我们在 [X](https:\u002F\u002Fx.com\u002Fcontext7ai) 的账号，获取最新消息和更新\n- 🌐 访问我们的 [官网](https:\u002F\u002Fcontext7.com)\n- 💬 加入我们的 [Discord 社区](https:\u002F\u002Fupstash.com\u002Fdiscord)\n\n## 📺 Context7 媒体报道\n\n- [Better Stack: “免费工具让光标智能提升10倍”](https:\u002F\u002Fyoutu.be\u002F52FC3qObp9E)\n- [Cole Medin: “这无疑是 AI 编码助手的最佳 MCP 服务器”](https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=G7gK8H6u7Rs)\n- [Income Stream Surfers: “Context7 + SequentialThinking MCP：这就是 AGI 吗？”](https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=-ggvzyLpK6o)\n- [Julian Goldie SEO: “Context7：新的 MCP AI 助手更新”](https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=CTZm6fBYisc)\n- [JeredBlu: “Context 7 MCP：即时获取文档 + VS Code 设置”](https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=-ls0D-rtET4)\n- [Income Stream Surfers: “Context7：将改变 AI 编码的新 MCP 服务器”](https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=PS-2Azb-C3M)\n- [AICodeKing: “Context7 + Cline & RooCode：这款 MCP 服务器让 CLINE 效率提升100倍！”](https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=qZfENAPMnyo)\n- [Sean Kochel: “5 款用于氛围编码的 MCP 服务器（即插即用）”](https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=LqTQi8qexJM)\n\n## ⭐ 星标历史\n\n[![星标历史图表](https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002Fupstash_context7_readme_244d0673c577.png)](https:\u002F\u002Fwww.star-history.com\u002F#upstash\u002Fcontext7&Date)\n\n## 📄 许可证\n\nMIT","# Context7 快速上手指南\n\nContext7 是一款专为 AI 编程助手设计的工具，能够实时获取最新、特定版本的库文档和代码示例，直接注入到 LLM 的上下文中。它有效解决了大模型因训练数据过时导致的“幻觉 API\"、代码示例陈旧等问题。\n\n## 环境准备\n\n*   **操作系统**：Windows, macOS, 或 Linux\n*   **前置依赖**：\n    *   Node.js (建议 v18 及以上版本)\n    *   npm 或 npx\n    *   支持的 AI 编程助手（如 Cursor, Claude Code, OpenCode 等）\n*   **网络要求**：需能访问 `context7.com` 及相关 MCP 服务地址。\n\n## 安装步骤\n\n推荐使用一键安装命令，该命令会自动处理 OAuth 认证、生成 API Key 并配置对应的技能（Skill）。\n\n1.  **执行安装命令**\n    在终端中运行以下命令：\n    ```bash\n    npx ctx7 setup\n    ```\n\n2.  **选择模式与目标代理**\n    *   命令执行后，跟随提示完成浏览器登录授权。\n    *   你可以选择 **CLI + Skills** 模式（无需 MCP 服务器，通过 CLI 命令获取文档）或 **MCP** 模式（注册原生 MCP 服务器）。\n    *   若需指定特定的编程助手，可添加参数：\n        ```bash\n        npx ctx7 setup --cursor\n        # 或\n        npx ctx7 setup --claude\n        # 或\n        npx ctx7 setup --opencode\n        ```\n\n3.  **获取 API Key（可选但推荐）**\n    为了获得更高的请求速率限制，建议访问 [Context7 Dashboard](https:\u002F\u002Fcontext7.com\u002Fdashboard) 获取免费的 API Key。若手动配置 MCP，需在客户端设置中将 `CONTEXT7_API_KEY` 作为 Header 传入，服务器地址为 `https:\u002F\u002Fmcp.context7.com\u002Fmcp`。\n\n## 基本使用\n\n安装完成后，Context7 会自动拦截涉及库文档、API 查询或代码生成的请求。你只需在提示词（Prompt）中自然表达需求即可。\n\n### 1. 基础用法\n直接在对话中提及需要使用 Context7，或描述具体的库操作任务：\n\n```text\nCreate a Next.js middleware that checks for a valid JWT in cookies and redirects unauthenticated users to `\u002Flogin`. use context7\n```\n\n```text\nShow me the Supabase auth API for email\u002Fpassword sign-up.\n```\n\n### 2. 指定库 ID（提高准确率）\n如果你知道确切的库名称，可以使用斜杠语法指定 Context7 ID，跳过匹配步骤直接获取文档：\n\n```text\nImplement basic authentication with Supabase. use library \u002Fsupabase\u002Fsupabase for API and docs.\n```\n\n### 3. 指定版本\n在提示词中直接提及版本号，Context7 会自动拉取对应版本的文档：\n\n```text\nHow do I set up Next.js 14 middleware? use context7\n```\n\n### 4. 配置自动规则（可选）\n如果未使用自动安装的技能，可以在你的编程助手配置中添加规则，使其自动调用 Context7：\n\n*   **Cursor**: `Cursor Settings > Rules`\n*   **Claude Code**: 编辑 `CLAUDE.md`\n\n**规则示例：**\n```text\nAlways use Context7 when I need library\u002FAPI documentation, code generation, setup or configuration steps without me having to explicitly ask.\n```\n\n### 5. 命令行直接使用\n你也可以直接在终端使用 CLI 命令查询文档：\n\n*   **搜索库**：\n    ```bash\n    ctx7 library \u003Cname> \u003Cquery>\n    ```\n*   **获取文档**：\n    ```bash\n    ctx7 docs \u003ClibraryId> \u003Cquery>\n    # 示例：ctx7 docs \u002Fvercel\u002Fnext.js \"how to create middleware\"\n    ```","一位全栈开发者正在为电商项目集成最新版的 Stripe 支付接口，需要快速实现复杂的订阅管理逻辑。\n\n### 没有 context7 时\n- **代码过时失效**：LLM 基于旧训练数据生成的代码使用了已废弃的 Stripe API 参数，导致运行时直接报错。\n- **幻觉函数频发**：模型“发明”了不存在的辅助方法，开发者不得不花费大量时间查阅官方文档去伪存真。\n- **版本匹配困难**：无法自动识别项目当前安装的 Stripe 具体版本号，给出的示例往往与现有依赖冲突。\n- **上下文切换频繁**：为了验证代码准确性，开发者需在 IDE、浏览器文档和 StackOverflow 之间反复横跳，打断心流。\n\n### 使用 context7 后\n- **实时精准同步**：context7 直接从源头拉取最新版 Stripe 文档，生成的代码立即包含当前有效的参数和结构。\n- **杜绝虚假 API**：所有推荐的函数和方法均经过实时文档校验，彻底消除了模型幻觉带来的无效代码。\n- **版本感知生成**：自动检测项目环境，输出完全匹配当前依赖版本的代码片段，无需手动调整兼容性。\n- **无缝嵌入工作流**：文档内容直接注入提示词上下文，开发者在编辑器内即可获得可信答案，无需离开当前界面。\n\ncontext7 通过将实时、版本特定的官方文档无缝接入 AI 上下文，让代码生成从“猜谜游戏”变成了“精准执行”。","https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002Fupstash_context7_af93bb25.png","upstash","Upstash","https:\u002F\u002Foss.gittoolsai.com\u002Favatars\u002Fupstash_da8c4568.png","Serverless Data Platform",null,"support@upstash.com","https:\u002F\u002Fupstash.com","https:\u002F\u002Fgithub.com\u002Fupstash",[81,85,89],{"name":82,"color":83,"percentage":84},"TypeScript","#3178c6",91.2,{"name":86,"color":87,"percentage":88},"JavaScript","#f1e05a",8.6,{"name":90,"color":91,"percentage":92},"Dockerfile","#384d54",0.3,52390,2475,"2026-04-12T07:33:19","MIT","未说明","无需求",{"notes":100,"python":97,"dependencies":101},"该工具是一个基于 MCP (Model Context Protocol) 的文档检索服务，主要通过 CLI (npx ctx7) 或 MCP 服务器模式运行。它不依赖本地 GPU 或大型模型文件，而是通过 API 连接远程服务获取最新文档。需要网络连接，建议注册获取免费 API Key 以提高速率限制。支持 Cursor、Claude Code 等编程助手集成。",[102,103],"Node.js (运行 npx 命令)","@upstash\u002Fcontext7-mcp",[14,35],[106,107,108,109],"llm","mcp","mcp-server","vibe-coding","2026-03-27T02:49:30.150509","2026-04-12T21:08:47.479883",[113,118,123,127,132,137],{"id":114,"question_zh":115,"answer_zh":116,"source_url":117},30992,"在 Windows 上配置 Context7 MCP 服务器时遇到错误或无法启动，该如何解决？","Windows 用户常因 npm 缓存或 Node 环境路径问题导致启动失败。请尝试以下步骤：\n1. 删除 npm 缓存文件夹：`C:\\Users\\\u003C用户名>\\AppData\\Local\\npm-cache\\_npx`。\n2. 在配置文件中指定使用 `cmd` 和特定版本运行，例如：\n```json\n\"context7\": {\n  \"command\": \"cmd\",\n  \"args\": [\n    \"\u002Fc\",\n    \"npx\",\n    \"-y\",\n    \"@upstash\u002Fcontext7-mcp@1.0.12\"\n  ]\n}\n```\n如果是 Codex 或其他客户端报错 \"program not found\"，请确保配置中包含系统环境变量：\n```toml\n[mcp_servers.context7]\ncommand = \"cmd\"\nargs = [\"\u002Fc\", \"npx\", \"-y\", \"@upstash\u002Fcontext7-mcp\"]\nenv = { SystemRoot=\"C:\\\\Windows\" }\nstartup_timeout_ms = 20000\n```","https:\u002F\u002Fgithub.com\u002Fupstash\u002Fcontext7\u002Fissues\u002F19",{"id":119,"question_zh":120,"answer_zh":121,"source_url":122},30993,"遇到 'TypeError: fetch failed' 或 'ReadableStream is not defined' 错误怎么办？","这通常是因为系统中安装了多个 Node.js 版本，或者当前使用的 Node 版本过低（低于 v18）。Context7 MCP 需要 Node.js 18+ 才能正常运行（因为 `ReadableStream` 在 Node 18 中才成为全局对象）。\n解决方案：\n1. 确认系统中只有一个较新的 Node.js 版本（推荐 v18 或 v20+）。\n2. 如果是在 Claude Desktop 等环境中，需在配置文件中显式指定高版本 Node 的路径。例如在 `claude_desktop_config.json` 中添加：\n```json\n\"env\": {\n  \"PATH\": \"\u002FUsers\u002F\u003C用户名>\u002F.nvm\u002Fversions\u002Fnode\u002Fv20.19.6\u002Fbin:\u002Fopt\u002Fhomebrew\u002Fbin:\u002Fusr\u002Flocal\u002Fbin:\u002Fusr\u002Fbin:\u002F\"\n}\n```\n请将路径替换为你实际的高版本 Node 安装路径。","https:\u002F\u002Fgithub.com\u002Fupstash\u002Fcontext7\u002Fissues\u002F716",{"id":124,"question_zh":125,"answer_zh":126,"source_url":122},30994,"为什么一直提示 'Unauthorized. Please check your API key.'，即使我刚生成了新的密钥？","如果确认 API Key 是新生成且正确的，该错误通常不是密钥本身的问题，而是本地环境配置导致的。最常见的原因是客户端（如 Claude Desktop）使用了过旧的 Node.js 版本（如 v16），导致内部请求失败从而返回授权错误。\n请检查你的客户端使用的 Node 版本，确保其为 v18 或以上。如果是 Claude Desktop，请参考上一条问答，在配置文件中强制指定高版本 Node 的路径。",{"id":128,"question_zh":129,"answer_zh":130,"source_url":131},30995,"Context7 仪表盘（Dashboard）页面内容为空或无法加载，无法生成 API Key，如何解决？","这通常是由于 DNS 解析问题、网络阻断或浏览器 CORS 策略引起的。\n1. 检查浏览器控制台（Console）是否有 CORS 错误或网络请求失败日志。\n2. 尝试访问相关依赖资源（如 Supabase 链接）看是否被拦截。\n3. 切换网络环境（如切换 Wi-Fi、使用手机热点）或修改 DNS 设置（如改为 8.8.8.8）后刷新页面重试。\n4. 清除浏览器缓存后再次尝试。大多数情况下，这是暂时性的网络连接问题，稍后会自动恢复。","https:\u002F\u002Fgithub.com\u002Fupstash\u002Fcontext7\u002Fissues\u002F663",{"id":133,"question_zh":134,"answer_zh":135,"source_url":136},30996,"在 Windsurf 或 VS Code 中使用本地 npx 启动 Context7 导致其他 MCP 服务失效或无限刷新，怎么办？","在 Windows 环境下，直接在配置中使用 `npx` 命令启动本地 Context7 可能会阻塞事件循环或导致进程冲突，进而使整个 MCP 市场陷入刷新循环。\n建议方案：\n1. 优先使用远程服务器模式配置，避免本地执行开销：\n```json\n\"context7\": {\n  \"serverUrl\": \"https:\u002F\u002Fmcp.context7.com\u002Fmcp\",\n  \"headers\": {\n    \"CONTEXT7_API_KEY\": \"你的密钥\"\n  }\n}\n```\n2. 如果必须使用本地模式，请确保不要与其他本地 MCP 服务（如 Python 编写的服务）产生端口或进程冲突，并尝试将 `npx` 包装在具体的 shell 命令中（参考 Windows 配置方案）。","https:\u002F\u002Fgithub.com\u002Fupstash\u002Fcontext7\u002Fissues\u002F829",{"id":138,"question_zh":139,"answer_zh":140,"source_url":141},30997,"VS Code 新版本无法连接远程 MCP 服务器是怎么回事？","这通常是 VS Code 特定版本（如 v1.105 预览版）的临时兼容性问题。维护者表示会在正式版发布后验证修复情况。\n如果遇到此问题：\n1. 尝试回退到 VS Code 的稳定版本（Stable Release）。\n2. 关注官方 Issue 动态，通常在新版本正式推送后会自行修复。\n3. 临时解决方案是继续使用远程 URL 配置，并确保网络通畅，若问题持续可等待后续补丁更新。","https:\u002F\u002Fgithub.com\u002Fupstash\u002Fcontext7\u002Fissues\u002F738",[143,148,153,158,163,168,173,178,183,188,193,198,203,208,213,218,223,228,233,238],{"id":144,"version":145,"summary_zh":146,"released_at":147},222885,"ctx7@0.3.11","### 补丁变更\n\n-   bc8eaf1：为 `ctx7 skills install` 添加 `--all-agents` 和 `--yes` 支持，以实现非交互式的多智能体安装。\n","2026-04-09T08:52:02",{"id":149,"version":150,"summary_zh":151,"released_at":152},222886,"@upstash\u002Fcontext7-tools-ai-sdk@0.2.3","### 补丁变更\n\n- 8322879：改进解析库 ID 工具的提示信息，确保 `libraryName` 查询采用正确格式。","2026-04-06T17:42:36",{"id":154,"version":155,"summary_zh":156,"released_at":157},222887,"ctx7@0.3.10","### 补丁变更\n\n-   fb29170：在 setup 命令中添加 Gemini CLI 支持\n-   89d4862：使用 GITHUB_TOKEN\u002FGH_TOKEN 或 gh CLI 身份验证来下载技能，以避免 GitHub API 的速率限制，并支持私有仓库\n-   8322879：改进解析 libraryar ID 工具提示，确保 libraryName 查询采用正确格式\n","2026-04-06T17:42:33",{"id":159,"version":160,"summary_zh":161,"released_at":162},222888,"@upstash\u002Fcontext7-mcp@2.1.7","### 补丁变更\n\n-   658ec67：为 MCP CLI 添加 --version\u002F-v 标志\n-   8322879：改进解析 libraryar ID 工具的提示，以提供格式正确的 libraryName 查询\n","2026-04-06T17:42:30",{"id":164,"version":165,"summary_zh":166,"released_at":167},222889,"ctx7@0.3.9","### 补丁变更\n\n-   6961bdd：在 ctx7 设置中允许重新选择已配置的代理，并覆盖现有的 MCP 配置条目，而不是跳过它们。修复 TOML 替换逻辑，使其正确处理子节，并防止在重复运行时出现空白字符漂移。","2026-03-27T21:33:55",{"id":169,"version":170,"summary_zh":171,"released_at":172},222890,"@upstash\u002Fcontext7-mcp@2.1.6","### 补丁变更\n\n-   a667712：更新搜索筛选器警告\n-   be1a39a：更新服务器元数据和说明。\n","2026-03-27T14:17:44",{"id":174,"version":175,"summary_zh":176,"released_at":177},222891,"ctx7@0.3.8","### 补丁变更\n\n-   a667712：更新搜索过滤器警告\n\n-   d739f9b：修复 OpenCode MCP 设置，以解析所有配置文件变体（opencode.json、opencode.jsonc、.opencode.json、.opencode.jsonc）\n\n-   4f13168：在 `ctx7 setup` 中将规则与技能一同安装，以提高触发率\n    -   CLI 设置现在会为每个代理安装一个规则文件（此前仅安装技能）\n    -   规则内容从 GitHub 获取，并针对不同代理进行特定格式化处理（Cursor 使用 alwaysApply）\n    -   更新了 find-docs 技能的描述，以提升调用率（从 66% 提升至 98%）\n    -   通过追加 AGENTS.md 文件，增加了对 Codex 代理的支持\n    -   OpenCode 现在将规则写入 AGENTS.md，而非 .opencode\u002Frules\u002F\n    -   提供选择性的规则内容，并附带明确的使用场景说明\n\n-   c3c2647：对于全局通用技能的安装，改用 ~\u002F.agents\u002Fskills 路径，而非 ~\u002F.config\u002Fagents\u002Fskills","2026-03-27T14:17:41",{"id":179,"version":180,"summary_zh":181,"released_at":182},222892,"ctx7@0.3.6","### 补丁变更\n\n-   fae6127：在 whoami 命令的输出中添加当前活动的 teamspace 名称\n-   4b63117：重新排序设置模式选项，将 MCP 服务器选项置于首位\n-   18b3292：添加令牌刷新支持，集中管理认证常量，将 whoami 命令切换至使用 teamspace 显示的内部 API 端点，并为 CLI 认证工具和命令添加单元测试\n","2026-03-16T10:26:32",{"id":184,"version":185,"summary_zh":186,"released_at":187},222893,"ctx7@0.3.5","### 补丁变更\n\n-   7e60d05: - 新增（CLI）：当通过 `ctx7 setup` 安装技能时，跟踪安装次数事件\n","2026-03-11T22:02:36",{"id":189,"version":190,"summary_zh":191,"released_at":192},222894,"ctx7@0.3.4","### 补丁变更\n\n-   62dc278: - 功能（CLI）：在技能搜索、安装和推荐结果中，使用四星评分体系展示流行度\n    -   功能（CLI）：在技能悬停详情中显示安装次数范围和信任得分\n    -   修复（CLI）：在设置输出和提示中将“docs”技能重命名为“find-docs”\n-   04130b5：将技能统一归入 `\u002Fskills` 目录，并明确其规范来源：将 `docs` 重命名为 `find-docs`，`ctx7-cli` 重命名为 `context7-cli`，新增 `context7-mcp` 作为 MCP 的规范技能。MCP 设置现在会从 GitHub 下载技能，而非使用硬编码内容。\n-   d418405：为 `ctx7` 设置添加 CLI 模式，以便在无需配置 MCP 的情况下安装 `docs` 技能。\n","2026-03-11T14:15:39",{"id":194,"version":195,"summary_zh":196,"released_at":197},222895,"ctx7@0.3.3","### Patch Changes\n\n-   31b4fb8: Align CLI library output format with MCP: use labeled fields (Title, Context7-compatible library ID, Description, Code Snippets, Source Reputation, Benchmark Score, Versions) and categorical reputation labels (High\u002FMedium\u002FLow\u002FUnknown) instead of numeric trust scores\n-   9de3f06: Display warning when public library access filter is being used to filter libraries.\n-   05a4406: Remove default selection of Universal agent target during skills install prompt\n-   9aae852: Show source repository next to skill name in search and suggest results for easier disambiguation\n","2026-03-10T14:20:43",{"id":199,"version":200,"summary_zh":201,"released_at":202},222896,"@upstash\u002Fcontext7-mcp@2.1.4","### Patch Changes\n\n-   9de3f06: Display warning when public library access filter is being used to filter libraries.\n","2026-03-10T14:20:40",{"id":204,"version":205,"summary_zh":206,"released_at":207},222897,"ctx7@0.3.2","### Patch Changes\n\n-   df60e3e: Add `library` and `docs` commands for querying library documentation from the terminal\n","2026-03-06T13:22:08",{"id":209,"version":210,"summary_zh":211,"released_at":212},222898,"@upstash\u002Fcontext7-mcp@2.1.3","### Patch Changes\n\n-   9523522: Reject GET requests on MCP endpoints with 405 to eliminate idle SSE connection timeouts\n-   59d0327: Include source field in search result response\n","2026-03-04T12:51:39",{"id":214,"version":215,"summary_zh":216,"released_at":217},222899,"@upstash\u002Fcontext7-mcp@2.1.2","### Patch Changes\n\n-   617d8ed: Remove unnecessary warning and update tool descriptions\n","2026-02-23T10:06:57",{"id":219,"version":220,"summary_zh":221,"released_at":222},222900,"ctx7@0.3.1","### Patch Changes\n\n-   c66950a: Install documentation-lookup skill during `ctx7 setup`\n","2026-02-18T13:34:48",{"id":224,"version":225,"summary_zh":226,"released_at":227},222901,"ctx7@0.3.0","### Minor Changes\n\n-   3d66191: Add `ctx7 setup` command for configuring Context7 MCP and rules across Claude Code, Cursor, and OpenCode\n","2026-02-16T14:19:13",{"id":229,"version":230,"summary_zh":231,"released_at":232},222902,"ctx7@0.2.4","### Patch Changes\n\n-   4663c15: - Adopt `.agents\u002Fskills` as universal install target, supporting multiple agents with a single installation\n    -   Replace `--codex`, `--opencode`, and `--amp` flags with single `--universal` flag\n    -   Improve checkbox UI with aligned column headers for better readability\n","2026-02-10T10:14:13",{"id":234,"version":235,"summary_zh":236,"released_at":237},222903,"ctx7@0.2.3","### Patch Changes\n\n-   0981656: Add `skills suggest` command that scans your project's dependencies (package.json, requirements.txt, pyproject.toml) and recommends relevant skills. Results show install counts, trust scores, and which dependency each skill matches.\n","2026-02-03T14:40:08",{"id":239,"version":240,"summary_zh":241,"released_at":242},222904,"ctx7@0.2.2","### Patch Changes\n\n-   6328ed1: Skill search & generate command improvements:\n    -   Add \"Installs\" and \"Trust(0-10)\" columns to skill search results with aligned column headers\n    -   Auto-login via OAuth when the generate command requires authentication instead of showing an error\n    -   Reorder question options so the recommended choice always appears first with a \"✓ Recommended\" badge\n    -   Add \"View skill\" action that opens generated content in the user's default editor (`$EDITOR`)\n    -   Revamp generate wizard copy: do\u002Fdon't examples for skill descriptions, rename \"libraries\" to \"sources\", and clarify follow-up question and generation spinner text\n","2026-02-02T12:50:25"]