Context7

Up-to-date library and framework documentation via Context7 MCP. Use when setup, API, or version-specific questions require current documentation.

jetbrains 94d94a3 1.3 KB Updated

File contents

Context7

Provides up-to-date library and framework documentation. Use instead of relying on training data for library-specific questions.

When to Use

  • Setup or configuration questions for any library or framework
  • API references (Spring Boot, Kotlin, React, etc.)
  • Code involving specific libraries where version accuracy matters
  • Any question where "latest docs" are more reliable than training data

How to Use

Step 1 — Identify the library: call resolve-library-id with the library name and the user's question

Step 2 — Choose the best match: select based on name accuracy, trustScore, totalSnippets, and version if mentioned

Step 3 — Retrieve docs: call query-docs with the selected library ID and the user's specific topic (and optional tokens budget)

Step 4 — Respond: incorporate documentation findings with code examples and version citations

Best Practices

  • Be specific with queries — include the user's exact question, not just the library name
  • Respect version preferences when the user specifies one
  • Prefer official package sources over community alternatives when multiple matches exist

jetbrains/junie-extensions/tree/main/extensions/context7/skills/context7 commit 94d94a3b7a

Frequently asked questions

npx skillmds@latest add jetbrains/context7