# Context7

> 透過 Context7 MCP 搜尋技術文件。「查文件」「查看官方文件」「函式庫怎麼用？」等觸發。

- Skill: `wasabeef/context7-8` (Agent Skill)
- Install (CLI): `npx skillmds@latest add wasabeef/context7-8`
- Raw SKILL.md: https://api.skillmd.com/api/skills/wasabeef/context7-8/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: wasabeef (https://skillmd.com/u/wasabeef)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/wasabeef/context7-8

---


# 透過 Context7 MCP 搜尋技術文件

使用 MCP 的 Context7 搜索技術文檔。

## 使用方法

```bash
# 以請求 Claude 的形式
"用 context7 搜索 [搜索關鍵詞]"
```

## 基本示例

```bash
# React hooks 調研
"用 context7 搜索 React hooks"

# 錯誤解決方法搜索
"用 context7 查找 TypeScript 的類型錯誤"
```

## 與 Claude 的協作

```bash
# 技術調研請求
"用 context7 查找 Rust 的所有權系統，並以初學者友好的方式解釋"

# 錯誤解決請求
"用 context7 搜索 Python 的 ImportError 常見原因和解決方法"

# 最佳實践確認
"用 context7 查找 React 性能優化的最佳實践"
```

## 詳细示例

```bash
# 從多個角度調研
"用 context7 從以下角度調研 GraphQL：
1. 基本概念和與 REST API 的區別
2. 實現方法和最佳實践
3. 常見問題和解決方法"

# 特定版本或環境的調研
"用 context7 搜索 Next.js 14 的新功能，重點說明 App Router 的使用方法"
```

## 注意事項

如果 Context7 找不到資訊，Claude 會自動建議其他方法，如 Web 搜索等。

