Skip to main content
Glama
SEO Tools MCP Server

SEO Tools MCP Server

by Skobyn

SEO Tools MCP Server

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.

Related MCP server: DataForSEO MCP Server

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

# 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

# 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

# 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):

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):

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

# 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

  • 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

Available Tools

146 tools
app_data_app_store_app_infoD

Inputs: app_id (required), language_code, language_name, location_code, +1 more.

app_data_app_store_languagesD

Inputs: no named parameters.

app_data_app_store_locationsD

Inputs: country.

app_data_app_store_reviewsD

Inputs: app_id (required), depth, language_code, language_name, +5 more.

app_data_google_play_app_infoD

Inputs: app_id (required), language_code, language_name, location_code, +1 more.

app_data_google_play_languagesD

Inputs: no named parameters.

app_data_google_play_locationsD

Inputs: country.

app_data_google_play_reviewsD

Inputs: app_id (required), depth, language_code, language_name, +5 more.

business_data_business_listings_categoriesD

Inputs: country.

business_data_business_listings_locationsD

Inputs: country.

business_data_facebook_overviewD

Inputs: id (required), language_code, language_name.

business_data_google_hotels_infoD

Inputs: hotel_id (required), check_in, check_out, currency, +5 more.

business_data_google_hotels_reviewsD

Inputs: hotel_id (required), depth, language_code, language_name, +2 more.

business_data_google_languagesD

Inputs: no named parameters.

business_data_google_locationsD

Inputs: country.

business_data_google_my_business_infoD

Inputs: keyword (required), language_code, language_name, location_code, +1 more.

business_data_google_reviewsD

Inputs: depth, keyword, language_code, language_name, +2 more.

business_data_pinterest_infoD

Inputs: url (required), language_code, language_name.

business_data_reddit_infoD

Inputs: url (required), language_code, language_name.

business_data_tripadvisor_reviewsD

Inputs: location_id (required), depth, language_code, language_name, +2 more.

business_data_trustpilot_reviewsD

Inputs: domain (required), depth, language_code, language_name, +3 more.

content_analysis_categoryD

Inputs: url (required), language_code, language_name.

content_analysis_rating_distributionD

Inputs: rating_values (required), algo.

content_analysis_sentiment_analysisD

Inputs: text (required), language_code, language_name.

content_analysis_summaryD

Inputs: url (required), calculate_adult_score, calculate_information_score, calculate_keyword_density, +5 more.

content_generation_explain_codeD

Inputs: code (required), code_language, explanation_type, language_code, +1 more.

content_generation_meta_tagsD

Inputs: creative_level, language_code, language_name, text, +1 more.

content_generation_paraphraseD

Inputs: text (required), creative_level, language_code, language_name, +1 more.

content_generation_summarizeD

Inputs: language_code, language_name, summary_size, text, +1 more.

content_generation_textD

Inputs: topic (required), creative_level, language_code, language_name, +5 more.

content_generation_titleD

Inputs: creative_level, language_code, language_name, text, +1 more.

domain_analytics_technologies_domains_by_html_termsD

Inputs: terms (required), intersection_mode, limit, offset.

domain_analytics_technologies_domains_by_technologyD

Inputs: technology_name (required), category, limit, offset, +1 more.

domain_analytics_technologies_domain_technologiesD

Inputs: target (required), limit, offset.

domain_analytics_technologies_summaryD

Inputs: category, technology_group, technology_name.

domain_analytics_technologies_technologiesD

Inputs: category, technology_group, technology_name.

domain_analytics_technologies_technology_statsD

Inputs: technology_name (required), limit, offset.

domain_analytics_whois_overviewD

Inputs: domain (required).

keywords_bing_keywords_for_keywordsD

Inputs: keyword (required), language_code, location_code.

keywords_google_ads_categoriesD

Inputs: no named parameters.

keywords_google_ads_keywords_for_keywordD

Inputs: keyword (required), language_code, location_code.

keywords_google_ads_keywords_for_siteD

Inputs: target (required), language_code, location_code.

keywords_google_ads_languagesD

Inputs: no named parameters.

keywords_google_ads_locationsD

Inputs: country.

keywords_google_ads_search_volumeD

Inputs: keywords (required), language_code, location_code.

labs_amazon_bulk_search_volumeD

Inputs: keywords (required), language_code, location_code.

labs_amazon_product_competitorsD

Inputs: asin (required), language_code, limit, location_code, +2 more.

labs_amazon_ranked_keywordsD

Inputs: target (required), filters, language_code, limit, +3 more.

labs_app_store_app_competitorsD

Inputs: app_id (required), language_code, limit, location_code, +1 more.

labs_app_store_keywords_for_appD

Inputs: app_id (required), language_code, limit, location_code, +1 more.

labs_app_store_ranked_appsD

Inputs: keyword (required), filters, include_seed_keyword, language_code, +3 more.

labs_available_historyD

Inputs: engine (required), function (required).

labs_bing_competitors_domainD

Inputs: target (required), filters, language_code, limit, +2 more.

labs_bing_domain_rank_overviewD

Inputs: target (required), language_code, limit, location_code, +1 more.

labs_bing_keywords_for_siteD

Inputs: target (required), include_serp_info, language_code, limit, +2 more.

labs_bing_ranked_keywordsD

Inputs: target (required), filters, include_serp_info, language_code, +3 more.

labs_categoriesD

Inputs: engine (required), category_code, language_code.

labs_google_bulk_keyword_difficultyD

Inputs: keywords (required), language_code, location_code.

labs_google_bulk_traffic_estimationD

Inputs: targets (required), language_code, location_code.

labs_google_categories_for_domainD

Inputs: target (required), language_code, limit, location_code, +1 more.

labs_google_competitors_domainD

Inputs: target (required), filters, language_code, limit, +2 more.

labs_google_domain_intersectionD

Inputs: domains (required), filters, language_code, limit, +2 more.

labs_google_domain_rank_overviewD

Inputs: target (required), language_code, limit, location_code, +1 more.

labs_google_historical_search_volumeD

Inputs: keywords (required), include_serp_info, language_code, location_code.

labs_google_keyword_ideasD

Inputs: keyword (required), include_seed_keyword, language_code, limit, +2 more.

labs_google_keywords_for_siteD

Inputs: target (required), include_serp_info, language_code, limit, +2 more.

labs_google_keyword_suggestionsD

Inputs: keyword (required), include_seed_keyword, language_code, limit, +2 more.

labs_google_play_app_competitorsD

Inputs: app_id (required), language_code, limit, location_code, +1 more.

labs_google_play_keywords_for_appD

Inputs: app_id (required), language_code, limit, location_code, +1 more.

labs_google_play_ranked_appsD

Inputs: keyword (required), filters, include_seed_keyword, language_code, +3 more.

labs_google_ranked_keywordsD

Inputs: target (required), filters, include_serp_info, language_code, +3 more.

labs_google_relevant_pagesD

Inputs: target (required), filters, language_code, limit, +2 more.

labs_google_search_intentD

Inputs: keywords (required), language_code, location_code.

labs_google_subdomainsD

Inputs: target (required), filters, language_code, limit, +2 more.

labs_languagesD

Inputs: engine (required).

labs_locationsD

Inputs: engine (required), country.

localfalcon_calculate_grid_pointsD

Inputs: distance (required), lat (required), lng (required), points, +1 more.

localfalcon_get_ranking_at_coordinateD

Inputs: keyword (required), lat (required), lng (required), place_id (required), +2 more.

localfalcon_keyword_search_at_coordinateD

Inputs: keyword (required), lat (required), lng (required), country, +2 more.

localfalcon_search_gmb_locationsD

Inputs: query (required), include_sabs, lat, lng.

merchant_amazon_languagesD

Inputs: no named parameters.

merchant_amazon_locationsD

Inputs: country.

merchant_amazon_product_infoD

Inputs: asin (required), language_code, language_name, location_code, +1 more.

merchant_amazon_reviewsD

Inputs: asin (required), depth, language_code, language_name, +3 more.

merchant_google_languagesD

Inputs: no named parameters.

merchant_google_locationsD

Inputs: country.

merchant_google_product_infoD

Inputs: product_id (required), language_code, language_name, location_code, +1 more.

merchant_google_product_specsD

Inputs: product_id (required), language_code, language_name, location_code, +1 more.

merchant_google_reviewsD

Inputs: product_id (required), depth, language_code, language_name, +3 more.

merchant_google_sellersD

Inputs: product_id (required), language_code, language_name, location_code, +1 more.

onpage_duplicate_contentD

Inputs: id (required), limit, offset.

onpage_pagesD

Inputs: id (required), filters, limit, offset.

onpage_resourcesD

Inputs: id (required), url (required), filters, limit, +1 more.

onpage_summaryD

Inputs: id (required).

onpage_task_force_stopD

Inputs: id (required).

onpage_task_postD

Inputs: target (required), enable_javascript, limit, load_resources, +1 more.

onpage_tasks_readyD

Inputs: no named parameters.

serp_baidu_organic_liveD

Inputs: keyword (required), language_code (required), location_code (required), depth, +3 more.

serp_bing_organic_liveD

Inputs: keyword (required), language_code (required), location_code (required), depth, +3 more.

serp_google_images_liveD

Inputs: keyword (required), language_code (required), location_code (required), depth, +3 more.

serp_google_jobs_liveD

Inputs: keyword (required), language_code (required), location_code (required), depth, +3 more.

serp_google_languagesD

Inputs: no named parameters.

serp_google_locationsD

Inputs: country.

serp_google_maps_liveD

Inputs: keyword (required), language_code (required), location_code (required), depth, +4 more.

serp_google_news_liveD

Inputs: keyword (required), language_code (required), location_code (required), depth, +3 more.

serp_google_organic_liveD

Inputs: keyword (required), language_code (required), location_code (required), depth, +3 more.

serp_google_organic_task_getD

Inputs: id (required).

serp_google_organic_task_postD

Inputs: keyword (required), language_code (required), location_code (required), depth, +7 more.

serp_google_organic_task_readyD

Inputs: no named parameters.

serp_google_shopping_liveD

Inputs: keyword (required), language_code (required), location_code (required), depth, +3 more.

serp_yahoo_organic_liveD

Inputs: keyword (required), language_code (required), location_code (required), depth, +3 more.

serp_youtube_organic_liveD

Inputs: keyword (required), language_code (required), location_code (required), depth, +3 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    D1.9/5.0

    Scored across 146 tools

    Disambiguation4/5

    The tools are organized into clear categories (e.g., backlinks, keywords, serp) with distinct purposes within each category, reducing overlap. However, some categories like 'labs' have many similar-sounding tools (e.g., google_keywords_for_site, google_ranked_keywords) that could cause minor confusion without descriptions.

    Naming Consistency5/5

    Tool names follow a highly consistent pattern of category_subcategory_action (e.g., backlinks_summary, keywords_google_ads_search_volume) throughout the entire set. This structured naming makes it easy to predict tool functions and navigate the large collection.

    Tool Count2/5

    With 146 tools, the count is excessively high for an MCP server, likely overwhelming for agents and users. While SEO is a broad domain, this many tools suggests poor scoping or aggregation of multiple services into one server, making it cumbersome and inefficient.

    Completeness5/5

    The tool set comprehensively covers SEO domains including backlinks, keywords, SERP, content analysis, and more, with no obvious gaps. Each category includes multiple related tools, providing extensive coverage for typical SEO workflows and data needs.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      C
      quality
      Not graded
      maintenance
      Enables AI assistants to interact with DataForSEO APIs and obtain SEO data including SERP results, keyword research, on-page metrics, backlink analysis, and domain analytics through a standardized interface.
      76
      12,753 npm
      -
    • -
      license
      C
      quality
      Not graded
      maintenance
      Enables AI assistants to access comprehensive SEO data through DataForSEO APIs, including SERP results, keyword research, backlink analysis, on-page metrics, and domain analytics. Supports real-time search engine data from Google, Bing, and Yahoo with customizable filtering and multiple deployment options.
      36
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      Connects AI assistants to SEO APIs for backlinks analysis, keyword research, and traffic analysis.
      124 npm
      28
      MIT
    • F
      license
      B
      quality
      D
      maintenance
      Enables SEO analysis and data retrieval through DataForSEO API, including keyword research, backlinks, competitor analysis, and on-page audits.
      24
      -