> ## Documentation Index
> Fetch the complete documentation index at: https://docs.firecrawl.dev/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>

**オプション A: リモートでホストされた URL (推奨) **

```bash theme={null}
claude mcp add --transport http firecrawl https://mcp.firecrawl.dev/your-api-key/v2/mcp
```

**オプション B: ローカル (npx)**

```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で以下を試してください:

**ウェブを検索する:**

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

**ページをスクレイピングする:**

```
Scrape firecrawl.dev and tell me what it does
```

**ドキュメントを取得:**

```
Find and scrape the Stripe API docs for payment intents
```

Claude は、情報を取得するために Firecrawl の検索ツールとスクレイピングツールを自動的に使用します。
