Skip to content

DataForSEO MCP Server

A Model Context Protocol server that enables Claude to interact with DataForSEO APIs, allowing access to SEO data including SERPs, keyword research, on-page metrics, and domain analytics.

124
GitHub Stars
Apache 2.0
License
899
Weekly Downloads
analyze.research.web_summaryautomate.revenue_ops.personalizationautomate.browser.scraping#author:official#environment:network#hosting:remote-capable

Install DataForSEO MCP Server in your MCP client

DataForSEO MCP Server is a Model Context Protocol server. Add it to your MCP client config once, restart, and the server's tools become available to your AI assistant. The same JSON snippet below works across all four major clients — only the config file path differs.

  1. Locate your client's MCP config file.
    • Cursor: ~/.cursor/mcp.json
    • Claude Desktop (macOS): ~/Library/Application Support/Claude/claude_desktop_config.json
    • Claude Desktop (Windows): %APPDATA%\Claude\claude_desktop_config.json
    • VS Code: Settings → Extensions → MCP
    • Windsurf: Settings → MCP Servers
  2. Add DataForSEO MCP Server to the mcpServers map — paste the snippet below into your config file. If you already have other MCP servers, merge the entry into the existing mcpServers object.
  3. Restart your client so it picks up the new server.
  4. Verify — ask the assistant to list available tools; DataForSEO MCP Server's tools should appear.
{
  "mcpServers": {
    "dataforseo-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@dataforseo-mcp-server/mcp-server"
      ],
      "note": "Replace with the actual package name from the server's documentation.",
      "env": {
        "DATAFORSEO_USERNAME": "<your-dataforseo-username>",
        "DATAFORSEO_PASSWORD": "<your-dataforseo-password>"
      }
    }
  }
}

Install DataForSEO MCP Server in Cursor

Open ~/.cursor/mcp.json in your editor, paste the snippet above into mcpServers, save, and restart Cursor. DataForSEO MCP Server will show up in the assistant's tool list on next launch.

Install DataForSEO MCP Server in Claude Desktop (macOS)

Open ~/Library/Application Support/Claude/claude_desktop_config.json in your editor, paste the snippet above into mcpServers, save, and restart Claude Desktop (macOS). DataForSEO MCP Server will show up in the assistant's tool list on next launch.

Install DataForSEO MCP Server in Claude Desktop (Windows)

Open %APPDATA%\Claude\claude_desktop_config.json in your editor, paste the snippet above into mcpServers, save, and restart Claude Desktop (Windows). DataForSEO MCP Server will show up in the assistant's tool list on next launch.

Install DataForSEO MCP Server in VS Code

Open Settings → Extensions → MCP in your editor, paste the snippet above into mcpServers, save, and restart VS Code. DataForSEO MCP Server will show up in the assistant's tool list on next launch.

Tools exposed by DataForSEO MCP Server

Once installed, DataForSEO MCP Server exposes the following MCP tools to your AI assistant. Each tool can be called directly by the assistant whenever its capability is relevant to your prompt.

  • AI_OPTIMIZATION API

    Provides data for keyword discovery, conversational optimization, and real-time LLM benchmarking.

  • SERP API

    Real-time Search Engine Results Page (SERP) data for Google, Bing, and Yahoo.

  • KEYWORDS_DATA API

    Keyword research and clickstream data, including search volume, cost-per-click, and other metrics.

  • ONPAGE API

    Allows crawling websites and webpages according to customizable parameters to obtain on-page SEO performance metrics.

  • DATAFORSEO LABS API

    Data on keywords, SERPs, and domains based on DataForSEO's in-house databases and proprietary algorithms.

  • BACKLINKS API

    Comprehensive backlink analysis including referring domains, anchor text distribution, and link quality metrics.

  • BUSINESS DATA API

    Publicly available data on any business entity.

  • DOMAIN ANALYTICS API

    Data on website traffic, technologies, and Whois details.

  • CONTENT ANALYSIS API

    Robust source of data for brand monitoring, sentiment analysis, and citation management.

Required environment variables

DataForSEO MCP Server needs the following environment variables set before it can run. Add them to the env block of your mcpServers entry, or export them in your shell before launching the client.

  • DATAFORSEO_USERNAME
  • DATAFORSEO_PASSWORD

Basic Authentication can also be used.

Transport

DataForSEO MCP Server supports the following MCP transports. Most AI clients use stdio by default for locally-installed servers.

stdiohttp

Other Model Context Protocol servers in the same space as DataForSEO MCP Server. Each one adds different capabilities to your AI assistant — pick based on the data sources or workflows you need.

Browse the full MCP server directory or use Stork's one-line install to let your agent pick the right server automatically.