SEO Tools MCP Serverのロゴ

SEO Tools MCP Server

コミュニティ
Skobyn

A comprehensive stdio MCP server for DataForSEO API

公開者Skobyn
リポジトリdataforseo-mcp-server
言語TypeScript
フォーク
30
スター
82
利用可能なツール
0
通信方式stdio
カテゴリ
ライセンスMIT
リンク
  • ツールをAIワークフローに接続

    SEO Tools MCP Serverは、対応するAIクライアントやAIエージェントから利用できるMCP機能を提供します。

  • 0個の利用可能なツール

    呼び出し可能なアクションを以下で確認できます。サーバーから提供されている場合は、名前や説明も表示されます。

  • コピーして使える設定

    セットアップ用の設定例を使って、お好みのMCPクライアントにこのサーバーを設定できます。

  • オープンソースの注目度

    リンク先のリポジトリには82件のスターと30件のフォークがあります。

SEO Tools MCP Server

MseeP.ai Security Assessment Badge

A comprehensive stdio MCP (Model Context Protocol) server for SEO APIs. This server allows LLMs (Large Language Models) to interact with DataForSEO API functions and other SEO tools.

Note

Version 1.1.0 includes corrections for ~40 endpoint bugs discovered by comparing the wrapper paths against official DataForSEO documentation. See CHANGELOG.md for the full list.

Overview

The SEO Tools MCP Server enables seamless integration between LLMs like Claude and various SEO APIs, making it possible to perform SEO analysis, keyword research, backlink analysis, and many other SEO-related tasks directly through natural language interactions.

This implementation exposes all major DataForSEO API endpoints as MCP tools, which LLMs can call to retrieve specific SEO data. The server uses stdio as its transport layer, making it easy to integrate with various LLM platforms.

Features

  • Comprehensive coverage of DataForSEO API endpoints (see CHANGELOG.md for bugs fixed in this version)
  • Optional integration with Local Falcon and other third-party SEO tools
  • Stdio transport for easy integration
  • Authentication handling
  • Detailed error reporting
  • Type-safe tool definitions with Zod schemas
  • Extensible architecture for adding new API integrations
  • Selective module and tool filtering via environment variables

Sign up for Data for Seo

https://dataforseo.com/?aff=200885

Implemented API Categories

DataForSEO API

  1. SERP API - Search engine results data from Google, Bing, Yahoo, and more
  2. Keywords Data API - Keyword research, suggestions, and search volume data
  3. DataForSEO Labs API - Advanced SEO analytics, domain comparisons, and keyword analysis
  4. Backlinks API - Backlink profiles, referring domains, and anchor text analysis
  5. OnPage API - Website audit, content analysis, and technical SEO checks
  6. Domain Analytics API - Technology stack detection and domain data analysis
  7. Content Analysis API - Content quality evaluation and semantic analysis
  8. Content Generation API - AI-powered content generation tools
  9. Merchant API - E-commerce data from Amazon and Google Shopping
  10. App Data API - Mobile app data from Google Play and App Store
  11. Business Data API - Business listing data from Google My Business, Trustpilot, and more
  12. AI Optimization API - LLM responses, AI scraper, and AI keyword data from ChatGPT, Claude, Gemini, and Perplexity

Local Falcon API (Optional)

  1. Calculate Grid Points - Generate grid coordinates for local ranking analysis
  2. Search GMB Locations - Find Google My Business locations by query
  3. Get Ranking at Coordinate - Check business ranking at specific coordinates
  4. Keyword Search at Coordinate - Test search terms at specific locations
  5. Run Grid Search - Perform full grid-based local ranking analysis

Installation

bash
# Clone the repository
git clone https://github.com/Skobyn/dataforseo-mcp-server.git

# Change to the project directory
cd dataforseo-mcp-server

# Install dependencies
npm install

# Build the project
npm run build

Usage

To use this MCP server, you need API credentials for the services you want to use.

Running the Server with DataForSEO

bash
# Set environment variables for DataForSEO authentication
export DATAFORSEO_LOGIN="your_login"
export DATAFORSEO_PASSWORD="your_password"

# Run the server
npm start

Running the Server with DataForSEO and Local Falcon

bash
# Set environment variables for all API authentications
export DATAFORSEO_LOGIN="your_login"
export DATAFORSEO_PASSWORD="your_password"
export LOCALFALCON_API_KEY="your_localfalcon_api_key"
# Optional: Set custom Local Falcon API URL if needed
# export LOCALFALCON_API_URL="https://custom-localfalcon-url.com/api"

# Run the server
npm start

Filtering Modules and Tools

The server exposes hundreds of tools by default. When used with LLMs, the full tool list consumes significant context window space. You can reduce the number of exposed tools using environment variables to enable only the modules or tools you need.

Why filter?

  • Reduce context usage
  • Faster tool discovery for the LLM
  • More focused responses

Filter by Module

Use ENABLED_MODULES to enable only specific API categories (comma-separated, case-insensitive):

bash
export ENABLED_MODULES="SERP,BUSINESS_DATA,LABS"

Available modules:

  • SERP - Search engine results
  • KEYWORDS_DATA - Keyword research
  • LABS or DATAFORSEO_LABS - Advanced SEO analytics
  • BACKLINKS - Backlink analysis
  • ONPAGE - Website audits
  • DOMAIN_ANALYTICS - Domain data
  • CONTENT_ANALYSIS - Content evaluation
  • CONTENT_GENERATION - AI content generation
  • MERCHANT - E-commerce data
  • APP_DATA - Mobile app data
  • BUSINESS_DATA - Business listings
  • AI_OPTIMIZATION - LLM responses and AI data

Filter by Individual Tool

Use ENABLED_TOOLS for fine-grained control over specific tools (comma-separated, case-insensitive):

bash
export ENABLED_TOOLS="serp_google_maps_live,business_data_google_my_business_info"

If neither variable is set, all modules and tools are enabled by default.

Module-scoped subscriptions and 404s

DataForSEO access is often granted per module, not as a single all-or-nothing subscription. That means some endpoints may work while others return 404.

Important interpretation rule:

  • 404 on known live endpoints such as SERP, App Data, DataForSEO Labs App Store, or Content Generation can mean the module is not enabled for the current account
  • this is not necessarily a bug in the MCP server or a wrong endpoint path
  • free discovery endpoints such as locations or languages may still work even when paid live endpoints in the same broad area are unavailable

The server now normalizes known module-scope 404 responses into a clearer message:

  • DataForSEO module not enabled: <module> ...

When this happens, enable the module in the DataForSEO dashboard or switch to tools from modules that are already enabled for the current account.

Using with Claude or other LLMs

This server implements the Model Context Protocol, which allows LLMs to interact with external systems in a standardized way. To use it with Claude, you'll need to integrate it with your LLM platform according to their specific MCP implementation.

See the examples directory for usage examples.

Development

bash
# Run in development mode with hot reloading
npm run dev

# Run tests
npm test

Examples

Check out the examples directory for sample code showing how to use the SEO Tools MCP Server.

The basic example demonstrates:

  • Starting the server
  • Connecting to it from a client
  • Making calls to different API endpoints
  • Handling the results

Available Tools

The server exposes hundreds of tools across all integrated API categories. Below are some examples of the most commonly used tools:

DataForSEO SERP API Tools

  • serp_google_organic_live - Get Google organic search results
  • serp_google_organic_task_post - Create a Google organic search task
  • serp_google_maps_live - Get Google Maps search results

DataForSEO Keywords Data Tools

  • keywords_google_ads_search_volume - Get search volume for keywords
  • keywords_google_ads_keywords_for_site - Get keyword suggestions for a domain
  • keywords_google_trends_explore - Explore keyword trends over time

DataForSEO Labs Tools

  • labs_google_keyword_ideas - Get keyword ideas based on seed keywords
  • labs_google_related_keywords - Get related keywords
  • labs_google_domain_rank_overview - Get domain ranking overview

DataForSEO Backlinks Tools

  • backlinks_summary - Get a summary of a domain's backlink profile
  • backlinks_backlinks - Get a list of backlinks for a domain
  • backlinks_referring_domains - Get referring domains for a target
  • backlinks_history - Get historical backlink data for a target
  • backlinks_timeseries_summary - Get time series data on backlinks
  • backlinks_bulk_new_lost_backlinks - Get new and lost backlinks for multiple targets
  • backlinks_bulk_new_lost_referring_domains - Get new and lost referring domains for multiple targets
  • backlinks_bulk_pages_summary - Get page summaries for multiple targets

DataForSEO AI Optimization Tools

  • ai_chatgpt_models - Get list of available ChatGPT models
  • ai_chatgpt_llm_responses_live - Get live responses from ChatGPT
  • ai_chatgpt_scraper_locations - Get available locations for ChatGPT scraper
  • ai_chatgpt_scraper_languages - Get available languages for ChatGPT scraper
  • ai_claude_models - Get list of available Claude models
  • ai_claude_llm_responses_live - Get live responses from Claude
  • ai_gemini_models - Get list of available Gemini models
  • ai_gemini_llm_responses_live - Get live responses from Gemini
  • ai_perplexity_models - Get list of available Perplexity models
  • ai_perplexity_llm_responses_live - Get live responses from Perplexity
  • ai_keyword_data_search_volume_live - Get AI keyword search volume data
  • ai_keyword_data_locations_and_languages - Get available locations and languages for AI keyword data

Local Falcon Tools (If Configured)

  • localfalcon_calculate_grid_points - Calculate grid points around a base coordinate
  • localfalcon_search_gmb_locations - Search for Google My Business locations
  • localfalcon_get_ranking_at_coordinate - Get business ranking at specific coordinate
  • localfalcon_keyword_search_at_coordinate - Search keywords at a specific location
  • localfalcon_run_grid_search - Run a full grid search for local rankings

Complete Tool List

For a complete list of all available tools and their parameters, check the implementation in the src/api directory.

Extending the Server

The server is designed to be extensible. To add support for additional SEO APIs:

  1. Create a new directory in src/api/ for your integration
  2. Implement client handling and tool registration
  3. Add your integration to src/index.ts
  4. Add environment variable handling for authentication

See the Local Falcon integration in src/api/localfalcon/ for a template.

Security

  • Credentials (DATAFORSEO_LOGIN, DATAFORSEO_PASSWORD, LOCALFALCON_API_KEY) are read from environment variables only. Never commit them.
  • Copy .env.example to .env and fill in your own credentials.
  • The .gitignore excludes .env, .env.*.local, and other secret-storing paths.
  • Before contributing, run npm audit and fix any high/critical vulnerabilities.

License

MIT

インストール

TypingMind
{
  "mcpServers": {
    "dataforseo-mcp-server": {
      "command": "npx",
      "args": [
        "dataforseo-mcp-server"
      ],
      "env": {
        "DATAFORSEO_LOGIN": "<DATAFORSEO_LOGIN>",
        "DATAFORSEO_PASSWORD": "<DATAFORSEO_PASSWORD>"
      }
    }
  }
}

SEO Tools MCP ServerのMCPを複数のAIモデルで活用

TypingMindはワークスペース単位でMCPツールに接続します。そのため、一度SEO Tools MCP Serverに接続すれば、モデルごとに個別に設定することなく、TypingMind内のさまざまなAIモデルで利用できます。 このMCPは、デバイス上のTypingMind MCPコネクタを通じてローカルで動作します。

ローカルコネクタのセットアップガイド

MCPサーバーが、お使いのコンピューター上のローカルファイル、アプリ、非公開リソースにアクセスする必要がある場合は、この方法を使います。

1

MCP設定を開く

TypingMindで「設定」、「詳細設定」、「MCP」の順に進み、「コネクタを設定」を選択してください。

  1. ブラウザでTypingMindを開いてください。
  2. 設定アイコンをクリックしてください。
  3. 「詳細設定」に移動してください。
  4. 「MCP」セクションを開いてください。
  5. 「コネクタを設定」をクリックし、「このデバイス」を選択してください。
「このデバイス」が選択されたTypingMindのMCPコネクタ設定画面
2

コネクタのコマンドを実行

「このデバイス」を選択し、TypingMindからコマンドをコピーしてターミナルで実行してください。MCPの使用中は、プロセスを実行したままにしてください。

  1. TypingMindに表示されるセットアップコマンドをコピーしてください。
  2. macOSではターミナルを、WindowsではWindows Terminalを開いてください。
  3. コマンドを貼り付けて実行してください。
  4. ターミナルで続行の確認を求められた場合は、パッケージのインストールを承認してください。
  5. MCPツールの使用中は、ターミナルウィンドウを開いたまま、プロセスの実行を継続してください。
3

SEO Tools MCP Serverをサーバーとして追加

コネクタのステータスが「準備完了」になったら、「サーバーを編集」をクリックし、MCPサーバーの設定を貼り付けてください。

  1. コネクタのステータスが「準備完了」になるまでお待ちください。
  2. 「サーバーを編集」をクリックしてください。
  3. SEO Tools MCP ServerのMCPサーバー設定を貼り付けてください。
  4. サーバー一覧を保存してください。
  5. コネクタが引き続き使用可能か確認するには、更新してください。
稼働中のサーバーと「サーバーを編集」ボタンが表示されたTypingMindのMCP設定画面
{
  "mcpServers": {
    "dataforseo-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "dataforseo-mcp-server"
      ]
    }
  }
}
4

複数のモデルで同じ接続を使用

サーバー一覧を保存し、「プラグイン」を開いてSEO Tools MCP ServerのMCPツールを有効にしてください。その後、TypingMindで対応するAIモデルを選択し、チャットでツールを使うか、AIエージェントに割り当ててください。

  1. TypingMindの「プラグイン」ページを開いてください。
  2. SEO Tools MCP ServerのMCPツールを有効にしてください。
  3. チャットを開始し、使用するAIモデルを選択してください。
  4. MCPツールをチャットで使うか、AIエージェントに割り当ててください。
  5. MCPに再接続することなく、必要に応じて別のAIモデルに切り替えられます。
選択したAIモデルと有効なMCPツールを使用したTypingMindのチャット
SEO Tools MCP Serverを使ってこのタスクを手伝ってもらえますか?
SEO Tools MCP Server
はい、読みました。
SEO Tools MCP Serverで調べた結果をお伝えします。

よくある質問

SEO Tools MCP Server MCPサーバーは何に使いますか?

SEO Tools MCP Serverは、対応するAIクライアントを外部ツールやコンテキストに接続するためのMCPサーバーです。TypingMindでは、このMCPサーバーを一度追加するだけで、AIワークスペース内でそのツールを利用できるようになります。

TypingMindでSEO Tools MCP Server MCPを複数のAIモデルと併用できますか?

はい。TypingMindはワークスペース単位でMCPツールに接続するため、モデルごとにMCPサーバーを設定する必要はありません。Claude、ChatGPT、Geminiや、TypingMindで設定したその他のAIモデルでSEO Tools MCP Serverを利用できます。

TypingMindでSEO Tools MCP Server MCPを使うメリットは何ですか?

TypingMindは、複数のAIモデル、プロンプト、プラグイン、AIエージェント、APIキー、MCPツールを1つのワークスペースにまとめられる、LLMチャット向けの優れたフロントエンドです。SEO Tools MCP Serverを接続すると、TypingMindでチャットのワークフローを整理しながら、お好みのモデルでそのMCPツールを利用できます。

SEO Tools MCP Server MCPをTypingMindに接続するにはどうすればよいですか?

SEO Tools MCP ServerはTypingMindのローカルMCPコネクタ経由で動作します。MCPサーバーがコンピューター上のローカルファイル、デスクトップアプリ、コマンドラインツール、プライベートリソースにアクセスする必要がある場合に最適です。

TypingMindでSEO Tools MCP Server MCPのどのようなツールを利用できますか?

SEO Tools MCP ServerはMCP機能を提供しています。TypingMindのプラグインページで有効にすると、チャットで使用したり、AIエージェントに割り当てたりできます。

SEO Tools MCP Server MCPを使うには、APIキーをTypingMindと共有する必要がありますか?

いいえ。TypingMindはローカルファーストの設計で、モデルプロバイダー、APIキー、プロンプト、MCP設定をご自身で管理できます。SEO Tools MCP Serverで認証が必要な場合は、接続の作成時に、そのMCPサーバーに必要なヘッダー、OAuth設定、またはローカル設定を追加してください。

関連するMCPサーバー

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇