context7

context7

Provides up-to-date code documentation for LLMs and AI code editors.

MCPDevOpen source
Type
MCP
Transport
http
Open source
Yes
GitHub Stars
★ 57.9k
Source
mcp-github

Overview

The Context7 platform delivers the latest, version-specific code documentation and examples for LLMs and AI code editors. It extracts information directly from source code and injects it into prompts, eliminating issues with outdated or non-existent APIs. Can be installed via CLI + skill mode or MCP mode. Ideal for developers who need current code documentation.

Capabilities

  • Get up-to-date code documentation
  • Version-specific documentation
  • Use directly in prompts
  • Supports multiple programming libraries

Use cases

Generate the latest code examplesRetrieve documentation for specific versionsAvoid outdated API issuesImprove code generation quality

Setup

Requires: API KeyNode.js 18 或更高版本
npx ctx7 setup

This information was compiled by AI from public sources and may contain inaccuracies — please refer to the source.

FAQ

How to get an API Key?

Access context7.com/dashboard to get a free API Key.

Which programming libraries are supported?

Supports multiple mainstream libraries such as Next.js, Supabase, and more.

Related skills