← 返回 Skills 市场
9585
总下载
17
收藏
77
当前安装
4
版本数
在 OpenClaw 中安装
/install context7
功能描述
Context7 MCP - Intelligent documentation search and context for any library
安全使用建议
Install only if you are comfortable sending documentation search terms and questions to Context7. Use a dedicated Context7 API key, keep any .env file out of source control and logs, rotate the key if exposed, and avoid including credentials, private URLs, customer data, or proprietary code in queries.
功能分析
Type: OpenClaw Skill
Name: context7
Version: 1.0.3
The skill is designed to query the Context7 API for documentation, which aligns with its stated purpose. The `query.ts` script reads an API key from environment variables or a local `.env` file and uses it to authenticate requests to `https://context7.com` endpoints. There is no evidence of data exfiltration to unauthorized destinations, malicious code execution, persistence mechanisms, or prompt injection attempts in `SKILL.md`. While the `package-lock.json` reveals dependencies like `cross-spawn` and web server frameworks (`express`, `hono`) within the `mcp-client` SDK, these are not directly utilized in a harmful way by the provided `query.ts` script, nor are there instructions for the agent to misuse them. The overall behavior is consistent with a legitimate API client.
能力评估
Purpose & Capability
The stated purpose, instructions, and code align: it searches Context7 libraries and fetches documentation context, then prints results locally.
Instruction Scope
The skill tells users to send library names and free-form questions to Context7 for ranking and context; this is purpose-aligned but users should avoid putting secrets or confidential project details in queries.
Install Mechanism
Installation is user-directed with npm dependencies and a local TypeScript CLI. The instructions reference .env.example, but that file is not included; this is a setup/documentation issue, not evidence of hidden behavior.
Credentials
The CLI reads CONTEXT7_API_KEY from the environment or a local .env file and sends it only as a Bearer token to context7.com API endpoints, which is proportionate for the service.
Persistence & Privilege
No background service, autostart, destructive action, broad local indexing, or account mutation is present. The only persistence is the user-created .env credential file.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install context7 - 安装完成后,直接呼叫该 Skill 的名称或使用
/context7触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.3
Added best practices section for search, context, versioning, and quality filtering
v1.0.2
Added search command and updated documentation
v1.0.1
Added .gitignore to protect API keys, published local customizations
v1.0.0
Initial release: CLI wrapper for Context7 MCP endpoint providing up-to-date library documentation and API examples
元数据
常见问题
Context7 MCP 是什么?
Context7 MCP - Intelligent documentation search and context for any library. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 9585 次。
如何安装 Context7 MCP?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install context7」即可一键安装,无需额外配置。
Context7 MCP 是免费的吗?
是的,Context7 MCP 完全免费(开源免费),可自由下载、安装和使用。
Context7 MCP 支持哪些平台?
Context7 MCP 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Context7 MCP?
由 Seth Rose(@thesethrose)开发并维护,当前版本 v1.0.3。
推荐 Skills