Skip to main content

context7-mcp

Retrieve official library documentation and API references. Use when the user asks for "docs", "API signature", "usage examples", or "how to use" a specific package.

インストールへ移動

ソース情報

リポジトリ
lollipopkit/cc-skills
ソースの最終更新活動
2025年12月25日 03:35
検出された SKILL.md の言語
英語
スター
1
フォーク
0

インストール方法

デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。

ソースファイルを確認

インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。

SKILL.md を表示中

SKILL.md
ソースの指示 · 読み取り専用プレビュー
name
context7-mcp
description
Retrieve official library documentation and API references. Use when the user asks for "docs", "API signature", "usage examples", or "how to use" a specific package.
# Use Context7 MCP for library APIs ## Instructions 1) When asked about a library/package API, first resolve it: call `resolve-library-id` with the package name. 2) If a valid ID is returned, fetch docs with `get-library-docs` (mode `code` for API/reference; `info` for conceptual) and a topic if relevant (e.g., hooks, routing). 3) Cite snippets from retrieved docs; avoid guessing. Prefer latest page unless user specifies version. 4) If multiple matches, pick the closest and mention ambiguity briefly before proceeding. 5) If no match, ask for clarification or alternate names instead of inventing APIs. 6) Do not rely on memory for API shapes when Context7 docs are available; re-fetch as needed for accuracy. ## Example prompts - "查下某个 npm 包的 hook 签名,用 context7 搜" - "给我 next.js app router 的官方用法,先用 context7 mcp" - "mongodb driver 的插入示例,走 context7 的文档"
GitHubで見る