🔌

context7-plugin

🔌Plugin

upstash/context7

VibeIndex|
What it does
|

An MCP server that pulls up-to-date, version-specific library documentation and code examples directly into your AI coding assistant prompt, eliminating outdated or hallucinated API suggestions.

Overview

Context7 MCP is a Model Context Protocol server that solves a fundamental problem with AI coding assistants: outdated training data. When you ask an LLM to write code using a library, it often generates examples based on old versions or hallucinates APIs that do not exist. Context7 fixes this by fetching current, version-specific documentation and code examples directly from the source and injecting them into your prompt context. Simply add "use context7" to any prompt, or configure a rule for automatic invocation.

Key Features

  • Real-time documentation retrieval: Pulls up-to-date docs and code examples for any library, matched to the specific version you need, directly into your LLM context
  • Broad client support: Works with Cursor, Claude Code, Opencode, and 30+ other MCP-compatible clients via both remote (HTTP) and local (stdio) connections
  • Library resolution tools: Provides resolve-library-id to find the right library and query-docs to fetch relevant documentation based on your specific question or task
  • Flexible authentication: Supports API key authentication (free tier available) and OAuth 2.0 for MCP clients that implement the OAuth specification
  • Auto-invocation rules: Configure your editor to automatically call Context7 for code-related questions without typing "use context7" every time
  • Version-specific lookups: Mention a specific library version in your prompt and Context7 automatically matches the appropriate documentation

Who is this for?

  • Developers using AI coding assistants (Cursor, Claude Code, or similar) who are frustrated by outdated code suggestions and hallucinated APIs
  • Teams working with rapidly evolving libraries and frameworks where training data quickly becomes stale
  • Anyone who wants to eliminate tab-switching between documentation sites and their AI coding environment
🏪

Part of

upstash-context7

Installation

Add marketplace in Claude Code:
/plugin marketplace add upstash/context7
Step 2. Install plugin:
/plugin install context7-plugin@context7-marketplace
58,697
-
Last UpdatedJul 7, 2026