context7
Fetch version-specific external library/framework docs and examples via Context7 MCP when local repo context is insufficient; do not use for repo-local facts.
- License 许可
- MIT
- 最近更新
- 2026-09-14
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- mcp
- { "context7": { "type": "local", "command": [ "npx", "--prefer-offline", "@upstash/context7-mcp@2.1.7" ], "environment": { "CONTEXT7_API_KEY": "{env:CONTEXT7_API_KEY}" } } }
- name
- context7
- agents
- [ "external-context-gatherer", "ask", "builder" ]
- description
- Fetch version-specific external library/framework docs and examples via Context7 MCP when local repo context is insufficient; do not use for repo-local facts.
03 SKILL.md 正文
Context7 MCP Skill
Available MCP tools
resolve-library-id— map a library name or query to a Context7 library ID.query-docs— fetch docs and examples using a Context7 library ID and a query string.
Agent usage guidance
Use Context7 whenever you need reliable library/framework API details, configuration guidance, or version-specific examples.
Preferred workflow:
- If the Context7 library ID is unknown, call
resolve-library-idfirst. - Call
query-docswith the resolved ID and a focused query.
When you already know the exact Context7 library ID, use it directly to skip resolution.
04 同仓库更多 Skills
unslop
Perform sequential slop-cleanup edits in bounded changed-file scope with behavior-preserving rules; do not use for read-only scanning.
unslop-reviewer
Run a read-only, pass-ordered slop scan covering abstraction and locally fixable boundary findings; never edit files.
unslop-coder
Apply unslop-reviewer findings as targeted in-scope code edits in pass order; do not run discovery/scanning in this skill.
serena
Semantic code retrieval, editing, refactoring and debugging tools using LSP servers
read-image
guidance to read images in a lightweight fashion using cwebp
playwright-cli
Drive browser UI checks with playwright-cli commands, snapshots, and test/debug workflows; do not use for backend-only or non-browser tasks.