スキル一覧に戻る
BinkyTwin

context7-mcp

by BinkyTwin

1🍴 0📅 2026年1月9日
GitHubで見るManusで実行

SKILL.md


name: context7-mcp description: Always use Context7 MCP to fetch up-to-date library/API documentation before generating code that depends on external libraries or config. Use when the user asks for setup steps, configuration, or code involving third-party libraries. Prefer Context7 docs over memory. Include citations to the retrieved docs when possible.

Context7 MCP (Up-to-date docs)

Default behavior

Whenever the task involves any external library/framework:

  • Next.js, React, Vite
  • Supabase SDK
  • PyMuPDF, pdfplumber
  • Tailwind, shadcn/ui
  • FastAPI, Pydantic
  • Anthropic SDK
  • Any npm/pip package

Do this:

  1. Resolve the correct library ID in Context7
  2. Pull the relevant docs snippet(s)
  3. Only then generate code/config
  4. If docs conflict with assumptions, prefer docs

Setup (if not installed)

claude mcp add --transport http context7 https://mcp.context7.com/mcp --header "CONTEXT7_API_KEY: YOUR_API_KEY"

Local server (npx)

claude mcp add context7 -- npx -y @upstash/context7-mcp --api-key YOUR_API_KEY

API key is optional for basic usage, but helps with rate limits/private repos.

Available tools

resolve-library-id

Find the correct library identifier:

Input: "react" or "fastapi"
Output: library ID to use with get-library-docs

get-library-docs

Fetch documentation for a library:

Input: library ID + optional topic filter
Output: relevant documentation snippets

Usage patterns

Before writing code

1. User asks: "Add Supabase auth to the app"
2. Claude: resolve-library-id("supabase")
3. Claude: get-library-docs(id, topic="authentication")
4. Claude: Generate code based on current docs

When docs conflict with memory

  • Always prefer Context7 docs (more recent)
  • Mention the source version when relevant
  • If uncertain, cite the doc snippet

"Always use Context7 when I need code generation, setup or configuration steps, or library/API documentation."

Output requirements

When Context7 is used:

  • State what library/topic was looked up
  • Cite version if available
  • Use precise, version-aware steps from docs

Common libraries for DeepRead

LibraryUse case
anthropicClaude API integration
fastapiBackend API routes
pydanticData validation
pymupdfPDF parsing
reactFrontend components
viteBuild tool
tailwindcssStyling
supabase-jsDatabase client

スコア

総合スコア

50/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です