BeClaude

context7

30.2kOfficial PluginDevelopmentby Anthropic

Upstash Context7 MCP server for up-to-date documentation lookup. Pull version-specific documentation and code examples directly from source repositories into your LLM context.

Python3272 forks747 issuesUpdated 6/16/2026First seen 4/17/2026

Summary

The context7 skill integrates an Upstash MCP server into Claude Code, enabling real-time retrieval of version-specific documentation and code examples from source repositories.

  • It helps developers quickly access accurate, up-to-date library references without leaving their coding environment, reducing context-switching and improving productivity.

Install & Usage

1
Open your MCP config
~/.claude.json
2
Add the server config

Add the configuration to "mcpServers": { "context7": { "command": "...", "args": [] } }

3
Restart Claude Code
/mcp

Use Cases

Fetch the latest API documentation for a specific version of a library while coding.
Pull code examples from a repository to understand how to use a function or method.
Verify deprecated or changed parameters in a library update without manual web searches.
Get contextual documentation for a dependency directly within a conversation with Claude.
Compare documentation across different versions of a package to plan migrations.
Retrieve usage examples for a specific framework or tool from its official source repository.

Usage Examples

1

/context7 fetch docs for axios version 1.6.0

2

Show me the latest API docs for React 18 useEffect hook using context7

3

/context7 get examples for lodash merge function from the source repo

View source on GitHub
documentationmcpcommunity-managedclaude-codeskills

Security Audits

LicenseUnknownSourcePassRepositoryPass

Frequently Asked Questions

What is context7?

The context7 skill integrates an Upstash MCP server into Claude Code, enabling real-time retrieval of version-specific documentation and code examples from source repositories. It helps developers quickly access accurate, up-to-date library references without leaving their coding environment, reducing context-switching and improving productivity.

How to install context7?

To install context7: open your mcp config (~/.claude.json), then add the config to "mcpServers": { "context7": { "command": "...", "args": [] } }. Finally, /mcp in Claude Code.

What is context7 best for?

context7 is a mcp categorized under Development. It is designed for: documentation, mcp, community-managed. Created by Anthropic.

What can I use context7 for?

context7 is useful for: Fetch the latest API documentation for a specific version of a library while coding.; Pull code examples from a repository to understand how to use a function or method.; Verify deprecated or changed parameters in a library update without manual web searches.; Get contextual documentation for a dependency directly within a conversation with Claude.; Compare documentation across different versions of a package to plan migrations.; Retrieve usage examples for a specific framework or tool from its official source repository..