> ## Documentation Index
> Fetch the complete documentation index at: https://student-213fb9fc.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Claude Code での MCP によるウェブ検索とスクレイピング

> 2分で Claude Code にウェブ検索とスクレイピングを追加

Firecrawl の MCP を使って、Claude Code にウェブ検索とスクレイピング機能を追加します。

<div id="quick-setup">
  ## クイックセットアップ
</div>

<div id="1-get-your-api-key">
  ### 1. APIキーを取得する
</div>

[firecrawl.dev/app](https://firecrawl.dev/app) にサインアップし、APIキーをコピーします。

<div id="2-add-firecrawl-mcp-server">
  ### 2. Firecrawl MCP サーバーの追加
</div>

```bash theme={null}
claude mcp add firecrawl -e FIRECRAWL_API_KEY=your-api-key -- npx -y firecrawl-mcp
```

`your-api-key` を実際の Firecrawl API キーに置き換えてください。

完了です！これで Claude Code からウェブを検索・スクレイピングできます。

<div id="quick-demo">
  ## クイックデモ
</div>

Claude Code で以下を試してみてください:

**Web を検索:**

```
Search for the latest Next.js 15 features
```

**ページをスクレイプする:**

```
firecrawl.dev をスクレイピングして、何をするものか教えて
```

**ドキュメントを参照:**

```
Stripe APIドキュメントのpayment intentsを検索してスクレイピング
```

Claude は Firecrawl の検索・スクレイピングツールを自動的に利用して、情報を取得します。
