Skip to main content
Glama

MCP Server Firecrawl

by Msparihar

Firecrawl MCP サーバー

Firecrawl API を使用して Web スクレイピング、コンテンツ検索、サイト クロール、およびデータ抽出を行うための Model Context Protocol (MCP) サーバー。

特徴

  • Webスクレイピング: カスタマイズ可能なオプションを使用して、任意のWebページからコンテンツを抽出します
    • モバイルデバイスのエミュレーション
    • 広告とポップアップのブロック
    • コンテンツフィルタリング
    • 構造化データ抽出
    • 複数の出力形式
  • コンテンツ検索:インテリジェントな検索機能
    • 多言語サポート
    • 位置情報に基づく結果
    • カスタマイズ可能な結果制限
    • 構造化された出力形式
  • サイトクロール:高度なウェブクロール機能
    • 深度制御
    • パスフィルタリング
    • レート制限
    • 進捗状況の追跡
    • サイトマップの統合
  • サイトマッピング: サイト構造マップを生成する
    • サブドメインのサポート
    • 検索フィルタリング
    • リンク分析
    • 視覚的な階層
  • データ抽出: 複数の URL から構造化データを抽出します
    • スキーマ検証
    • バッチ処理
    • ウェブ検索の強化
    • カスタム抽出プロンプト

インストール

# Global installation npm install -g @modelcontextprotocol/mcp-server-firecrawl # Local project installation npm install @modelcontextprotocol/mcp-server-firecrawl

クイックスタート

  1. 開発者ポータルからFirecrawl APIキーを取得します
  2. API キーを設定します:Unix/Linux/macOS (bash/zsh):
    export FIRECRAWL_API_KEY=your-api-key
    Windows (コマンドプロンプト):
    set FIRECRAWL_API_KEY=your-api-key
    Windows (PowerShell):
    $env:FIRECRAWL_API_KEY = "your-api-key"
    代替案: .env ファイルの使用 (開発に推奨):
    # Install dotenv npm install dotenv # Create .env file echo "FIRECRAWL_API_KEY=your-api-key" > .env
    次にコード内で次の操作を行います。
    import dotenv from 'dotenv'; dotenv.config();
  3. サーバーを実行します。
    mcp-server-firecrawl

統合

クロードデスクトップアプリ

MCP 設定に追加:

{ "firecrawl": { "command": "mcp-server-firecrawl", "env": { "FIRECRAWL_API_KEY": "your-api-key" } } }

クロード VSCode 拡張機能

MCP 構成に追加:

{ "mcpServers": { "firecrawl": { "command": "mcp-server-firecrawl", "env": { "FIRECRAWL_API_KEY": "your-api-key" } } } }

使用例

ウェブスクレイピング

// Basic scraping { name: "scrape_url", arguments: { url: "https://example.com", formats: ["markdown"], onlyMainContent: true } } // Advanced extraction { name: "scrape_url", arguments: { url: "https://example.com/blog", jsonOptions: { prompt: "Extract article content", schema: { title: "string", content: "string" } }, mobile: true, blockAds: true } }

サイトクロール

// Basic crawling { name: "crawl", arguments: { url: "https://example.com", maxDepth: 2, limit: 100 } } // Advanced crawling { name: "crawl", arguments: { url: "https://example.com", maxDepth: 3, includePaths: ["/blog", "/products"], excludePaths: ["/admin"], ignoreQueryParameters: true } }

サイトマッピング

// Generate site map { name: "map", arguments: { url: "https://example.com", includeSubdomains: true, limit: 1000 } }

データ抽出

// Extract structured data { name: "extract", arguments: { urls: ["https://example.com/product1", "https://example.com/product2"], prompt: "Extract product details", schema: { name: "string", price: "number", description: "string" } } }

構成

詳細なセットアップ オプションについては、構成ガイドを参照してください。

APIドキュメント

エンドポイントの詳細な仕様については、 API ドキュメントを参照してください。

発達

# Install dependencies npm install # Build npm run build # Run tests npm test # Start in development mode npm run dev

さらなる使用例については、例のディレクトリを確認してください。

エラー処理

サーバーは堅牢なエラー処理を実装しています。

  • 指数バックオフによるレート制限
  • 自動再試行
  • 詳細なエラーメッセージ
  • デバッグログ

安全

  • APIキーの保護
  • リクエストの検証
  • ドメイン許可リスト
  • レート制限
  • 安全なエラーメッセージ

貢献

貢献ガイドラインについてはCONTRIBUTING.md を参照してください。

ライセンス

MIT ライセンス - 詳細についてはライセンスを参照してください。

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Firecrawl API を使用して Web スクレイピングとインテリジェントなコンテンツ検索機能を提供するサーバー。AI エージェントが Web サイトから構造化データを抽出し、コンテンツ検索を実行できるようになります。

  1. 特徴
    1. インストール
      1. クイックスタート
        1. 統合
          1. クロードデスクトップアプリ
          2. クロード VSCode 拡張機能
        2. 使用例
          1. ウェブスクレイピング
          2. サイトクロール
          3. サイトマッピング
          4. データ抽出
        3. 構成
          1. APIドキュメント
            1. 発達
                1. エラー処理
                  1. 安全
                    1. 貢献
                      1. ライセンス

                        Related MCP Servers

                        • A
                          security
                          A
                          license
                          A
                          quality
                          This server enables AI systems to integrate with Tavily's search and data extraction tools, providing real-time web information access and domain-specific searches.
                          Last updated -
                          2
                          8,040
                          437
                          JavaScript
                          MIT License
                          • Apple
                          • Linux
                        • A
                          security
                          F
                          license
                          A
                          quality
                          A server that provides tools to scrape websites and extract structured data from them using Firecrawl's APIs, supporting both basic website scraping in multiple formats and custom schema-based data extraction.
                          Last updated -
                          2
                          JavaScript
                        • -
                          security
                          A
                          license
                          -
                          quality
                          A Model Context Protocol server that enables AI assistants to perform advanced web scraping, crawling, searching, and data extraction through the Firecrawl API.
                          Last updated -
                          16,506
                          MIT License
                          • Apple
                          • Linux
                        • -
                          security
                          A
                          license
                          -
                          quality
                          Empowers AI agents to perform web browsing, automation, and scraping tasks with minimal supervision using natural language instructions and Selenium.
                          Last updated -
                          1
                          Python
                          Apache 2.0
                          • Apple

                        View all related MCP servers

                        MCP directory API

                        We provide all the information about MCP servers via our MCP API.

                        curl -X GET 'https://glama.ai/api/mcp/v1/servers/Msparihar/mcp-server-firecrawl'

                        If you have feedback or need assistance with the MCP directory API, please join our Discord server