Skip to Content

Context7

Connect with Context7 to retrieve the latest documentation for libraries and frameworks.

Key Features

  • Resolve a library or framework name to a Context7-compatible library ID
  • Retrieve the latest documentation for a specific library ID
  • Support topic-based documentation lookup and summarization

Basic Information

Authentication Method

No separate authentication is required.

Input Parameters

There are no integration-level settings to enter when adding this Integration. Library names, library IDs, and topics are provided when calling the resolve_library_id and get_library_docs tools.

Supported MCP Tools

resolve_library_id

Resolves a library or framework name to a Context7-compatible library ID.

get_library_docs

Fetches the latest documentation for a specific library ID.

Usage Examples

For example,

  • When you input “Find the latest React Router docs and summarize them” as a prompt,
  • The LLM calls the resolve_library_id tool through MCP to identify the library ID and then retrieves the docs using the get_library_docs tool.
  • Then, it responds in the chat based on the tool call results.

Topic-specific Documentation Lookup

  • Prompt: “Find the latest docs about caching in Next.js App Router”
  • The LLM uses resolve_library_id to identify the library ID, then calls get_library_docs to retrieve documentation for the topic.

Setup Method

You can use this Integration without configuring an API key or workspace.

Notes

  • It is recommended to call resolve_library_id first to find a Context7-compatible library ID.
  • Results may vary depending on Context7’s documentation index and supported library coverage.
Last updated on