Skip to content
Development
Command

/context7

Searches technical documentation using MCP's Context7.

From plugin
claude-code-cookbook
1.1k39 skills9 agents39 commands8 MCP
Install
> /plugin marketplace add wasabeef/claude-code-cookbook

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/context7

Context preview

What this command does when you run it.

Searches technical documentation using MCP's Context7.

Command definition

context7.md

Search technical documentation via Context7 MCP

Searches technical documentation using MCP's Context7.

Usage

# Format for requesting Claude
"Search for [search keyword] using context7"

Basic Examples

# Research React hooks
"Search for React hooks using context7"

# Search for error solutions
"Search for TypeScript type errors using context7"

Collaboration with Claude

# Request technical research
"Search for information about Rust's ownership system using context7 and explain it for beginners"

# Request error solution
"Search for common causes and solutions for Python's ImportError using context7"

# Confirm best practices
"Search for best practices for React performance optimization using context7"

Detailed Examples

# Research from multiple perspectives
"Search for GraphQL using context7 from the following perspectives:
1. Basic concepts and differences from REST API
2. Implementation methods and best practices
3. Common issues and solutions"

# Research specific versions or environments
"Search for new features in Next.js 14 using context7, focusing on how to use App Router"

Notes

If information cannot be found with Context7, Claude will automatically suggest other methods such as web search.

Ships withclaude-code-cookbook

A collection of commands, roles, and automation scripts for Claude Code. Automate your workflow without unnecessary confirmations, allowing you to focus on what matters.

Get the whole plugin