
Context7
Plugin接入 Upstash 托管的 Context7 远程 MCP,按需拉取各类库指定版本的最新文档与代码示例,减少过时与臆造的 API;无需本地 Node,匿名即可使用,配置 API Key 可提高限额。Upstash 维护。
Context7
Context7 solves a common problem with AI coding assistants: outdated training data and hallucinated APIs. Instead of relying on stale knowledge, Context7 fetches current documentation and code examples directly from source repositories.
This plugin connects Claude Code to Context7's hosted remote MCP server (https://mcp.context7.com/mcp) — no local Node.js, npm, or npx required.
Available Tools
resolve-library-id— searches for libraries and returns Context7-compatible identifiers (e.g./vercel/next.js) plus available versions.query-docs— fetches documentation for a specific library, ranked by relevance to your question.
API Key (optional)
Without an API key the plugin connects anonymously and shares the anonymous rate limits. To use your own plan, create an API key in the Context7 dashboard and export it as an environment variable before launching Claude Code:
# e.g. in ~/.zshrc or ~/.bashrc
export CONTEXT7_API_KEY="your-api-key"
The plugin's MCP server configuration picks up CONTEXT7_API_KEY automatically. Restart Claude Code after setting it, then verify usage in the dashboard.
Usage
The plugin works automatically when you ask about libraries:
- "How do I set up authentication in Next.js 15?"
- "Show me React Server Components examples"
- "What's the Prisma syntax for relations?"
To get documentation for a specific version, include the version in the library ID (e.g. /vercel/next.js/v15.1.8). The resolve-library-id tool returns available versions, so you can pick the one that matches your project.
Maintained by Upstash. Source and full plugin (with skills, agents, and commands): upstash/context7.
相关资源

Context7 CLI (ctx7)
CLIUpstash 官方的 Context7 命令行(ctx7):在终端检索库并拉取最新版本的文档,也能一键为 Claude Code、Cursor 等 agent 配置 Context7 MCP 与规则。查询文档无需登录,登录后调用额度更高。
upstash/context763.2k
Context7
MCP把各类库与框架的最新版本文档和代码示例注入 agent 上下文,减少使用过时或臆造的 API。Upstash 出品,匿名可用,免费申请 API Key 可提高限额。
upstash/context763.1k
Context Mode
Plugin把大段工具输出放进沙箱处理,只把结果送回上下文;用 SQLite 与 FTS5 记录会话事件,上下文压缩后也能接着干。支持 Claude Code、Codex 等十多个客户端,ELv2 许可。
mksglu/context-mode30.1k
Rulesync
CLI以 .rulesync 目录下的统一规则文件为源,为 Claude Code、Cursor、Copilot、Codex 等数十种 AI 编程工具生成规则、MCP、命令、子代理、技能与钩子配置,也能导入已有配置或在工具之间直接互转。
dyoshikawa/rulesync1.5k
Serena
MCP借助语言服务器(LSP)为编码 agent 提供类 IDE 的符号级代码检索、编辑与重构工具,支持 40 多种语言,并带跨会话记忆;可选付费的 JetBrains 插件作后端(额外支持断点调试)。需先用 uv 安装。
oraios/serena30.3k
Episodic Memory
Plugin对 Claude Code、Codex 等工具的历史会话做语义检索:会话结束自动建索引,通过 MCP 工具与子代理找回过去的讨论、决策与取舍。向量化与检索都在本地完成,Superpowers 作者出品。
obra/episodic-memory491