Dataforseo MCP Server

A Model Context Protocol (MCP) server for the DataForSEO API, enabling modular and extensible integration of DataForSEO endpoints with support for

Local serverstdioTypeScript

What is the Dataforseo MCP server?

Connect Dataforseo to Claude, Cursor or any other MCP client and it stops being a tab you switch to. A Model Context Protocol (MCP) server for the DataForSEO API, enabling modular and extensible integration of DataForSEO endpoints with support for both HTTP and SSE transports. The dataforseo mcp server is what makes that connection.

What the server does

Model Context Protocol (MCP) server implementation for DataForSEO, enabling AI assistants to interact with selected DataForSEO APIs and obtain SEO data through a standardized interface.

  • 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;

Available tools

The toolset is worth reading before you wire it up, because it tells you what the integration is really for:

  • Configuration — The worker uses the same environment variables as the standard server:

Installation

Installation goes through your MCP client rather than a global install: point it at dataforseo-mcp-server on npm and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.

Credentials and setup notes

Configuration is passed through the environment: ENABLED_MODULES, ENABLED_PROMPTS, DATAFORSEO_USERNAME, DATAFORSEO_PASSWORD, DATAFORSEO_FULL_RESPONSE, DATAFORSEO_SIMPLE_FILTER. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

  • Node.js (v14 or higher) - DataForSEO API credentials (API login and password)

Where it fits

This sits in the search and retrieval group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Dataforseo's toolset — Configuration — is a fair guide to whether it matches your workflow. It is maintained by GitHub Actions; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Dataforseo's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Worth knowing first

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
ConfigurationThe worker uses the same environment variables as the standard server:

How to install the Dataforseo MCP server

{
  "mcpServers": {
    "dataforseo-1": {
      "command": "npx",
      "args": ["-y", "dataforseo-mcp-server"],
      "env": {
        "ENABLED_MODULES": "your-value",
        "ENABLED_PROMPTS": "your-value",
        "DATAFORSEO_USERNAME": "your-value",
        "DATAFORSEO_PASSWORD": "your-value",
        "DATAFORSEO_FULL_RESPONSE": "your-value",
        "DATAFORSEO_SIMPLE_FILTER": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

  • Node.js (v14 or higher) - DataForSEO API credentials (API login and password)
VariableDescriptionRequired
ENABLED_MODULESConfiguration value read at startup.Optional
ENABLED_PROMPTSConfiguration value read at startup.Optional
DATAFORSEO_USERNAMEConfiguration value read at startup.Optional
DATAFORSEO_PASSWORDConfiguration value read at startup.Optional
DATAFORSEO_FULL_RESPONSEConfiguration value read at startup.Optional
DATAFORSEO_SIMPLE_FILTERConfiguration value read at startup.Optional

Example prompts to try

  • Use Dataforseo to Configuration.

Frequently asked questions

It connects Dataforseo to MCP-compatible AI assistants such as Claude and Cursor, exposing 1 tool (Configuration) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Dataforseo directly.