The SEO Tools MCP Server enables seamless integration between Large Language Models (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.
# 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
To use this MCP server, you need API credentials for the services you want to use.
# Set environment variables for DataForSEO authentication
export DATAFORSEO_LOGIN="your_login"
export DATAFORSEO_PASSWORD="your_password"
# Run the server
npm start
# 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
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.
# Run in development mode with hot reloading
npm run dev
Check out the examples
directory for sample code showing how to use the SEO Tools MCP Server.
The basic example demonstrates:
The server exposes hundreds of tools across all integrated API categories. Below are some examples of the most commonly used tools:
serp_google_organic_live
- Get Google organic search resultsserp_google_organic_task_post
- Create a Google organic search taskserp_google_maps_live
- Get Google Maps search resultskeywords_google_ads_search_volume
- Get search volume for keywordskeywords_google_ads_keywords_for_site
- Get keyword suggestions for a domainkeywords_google_trends_explore
- Explore keyword trends over timelabs_google_keyword_ideas
- Get keyword ideas based on seed keywordslabs_google_related_keywords
- Get related keywordslabs_google_domain_rank_overview
- Get domain ranking overviewbacklinks_summary
- Get a summary of a domain's backlink profilebacklinks_backlinks
- Get a list of backlinks for a domainbacklinks_referring_domains
- Get referring domains for a targetlocalfalcon_calculate_grid_points
- Calculate grid points around a base coordinatelocalfalcon_search_gmb_locations
- Search for Google My Business locationslocalfalcon_get_ranking_at_coordinate
- Get business ranking at specific coordinatelocalfalcon_keyword_search_at_coordinate
- Search keywords at a specific locationlocalfalcon_run_grid_search
- Run a full grid search for local rankingsFor a complete list of all available tools and their parameters, check the implementation in the src/api
directory.
The server is designed to be extensible. To add support for additional SEO APIs:
src/api/
for your integrationsrc/index.ts
See the Local Falcon integration in src/api/localfalcon/
for a template.
MIT
A comprehensive stdio MCP server for DataForSEO API
No releases published
No packages published
Languages