MCP Ecommerce
D

Installation guide

How to install DataForSEO MCP Server

In Claude, ChatGPT, Gemini, Microsoft Copilot, Perplexity, Cursor and Claude Code, with what to check before you start and the first prompts to run.

DataForSEO offers two routes. The local route runs `npx dataforseo-mcp-server` on your machine with your API login and password in environment variables. The hosted route uses the streamable HTTP endpoint `https://mcp.dataforseo.com/mcp`, with no local setup. The documentation says the HTTP options are for clients other than Claude, and that ChatGPT with the remote server needs an authorization header with your API login and password in Base64.

A developer or technical SEO lead should do this, using the agency's DataForSEO account. Use the API credentials, not the dashboard login. Every call spends DataForSEO balance, so start with small read-only lookups and check the balance afterwards.

DataForSEO MCP Server setup guide: DataForSEO's MCP documentation page on dataforseo.com, shown in a browser frame (seo MCP server for e-commerce)
DataForSEO MCP Server setup guide preview: DataForSEO’s documentation on dataforseo.com, captured Nov 11, 2026. The page may have changed since; the link opens the live version.

Before you start

  • A DataForSEO account with funded balance, since every call is billed against it
  • Your DataForSEO API login and API password (the documentation says these differ from your dashboard login)
  • The latest Node.js for the local route (old versions cause a "Fetch not defined" error)
  • An MCP-compatible client; the vendor publishes separate setup guides for Claude Desktop, Claude Code, Gemini CLI, ChatGPT, Docker, Cursor and n8n
  • For the hosted endpoint, a client that supports streamable HTTP (the documentation says not Claude)
How it runs
Remote or local
Access
Read-only
Server address
https://mcp.dataforseo.com/mcp

DataForSEO MCP Server in Claude

  1. The documentation says the HTTP mode and the hosted endpoint are not for Claude, so use the local stdio route for Claude Desktop.
  2. Install the latest Node.js and have your DataForSEO API login and password ready.
  3. Open the Claude Desktop MCP config file (claude_desktop_config.json, reachable from the developer settings) and add the entry below, replacing the placeholders.
  4. Restart Claude Desktop fully so it loads the server.
  5. The vendor has a dedicated Claude Desktop guide; follow it if your setup differs. The exact config format is not in the page text we used, so check it against the vendor guide.
claude_desktop_config.json
{
  "mcpServers": {
    "dataforseo": {
      "command": "npx",
      "args": [
        "dataforseo-mcp-server"
      ],
      "env": {
        "DATAFORSEO_USERNAME": "your_username",
        "DATAFORSEO_PASSWORD": "your_password"
      }
    }
  }
}

DataForSEO MCP Server in ChatGPT

  1. The documentation lists a ChatGPT guide and says the remote server needs an authorization header. Use the hosted endpoint https://mcp.dataforseo.com/mcp.
  2. Build the header value as Basic followed by the Base64 encoding of your_api_login:your_api_password.
  3. In ChatGPT, enable Developer mode and add a custom MCP connector by URL. The documentation does not give the exact menu path, so take it from the vendor's ChatGPT guide.
  4. Paste the URL and supply the authorization header in the field ChatGPT provides for authentication.
  5. Save, then enable the connector in a new chat before running a test.
Connector URL
https://mcp.dataforseo.com/mcp

DataForSEO MCP Server in Gemini

  1. The vendor has a separate Gemini CLI guide, titled "Connect Gemini CLI to DataForSEO MCP Server". Check it for the exact settings.
  2. For the local route, install the latest Node.js and have your API login and password ready.
  3. Open the Gemini CLI settings file and add a mcpServers entry that runs npx with dataforseo-mcp-server, passing DATAFORSEO_USERNAME and DATAFORSEO_PASSWORD as environment variables.
  4. Restart Gemini CLI so it loads the server.
  5. Gemini app extensions are not covered by the documentation.
Gemini CLI settings (mcpServers)
{
  "mcpServers": {
    "dataforseo": {
      "command": "npx",
      "args": [
        "dataforseo-mcp-server"
      ],
      "env": {
        "DATAFORSEO_USERNAME": "your_username",
        "DATAFORSEO_PASSWORD": "your_password"
      }
    }
  }
}

DataForSEO MCP Server in Microsoft Copilot

  1. The documentation does not cover Microsoft Copilot Studio or GitHub Copilot in VS Code, so these steps use the clients' standard methods.
  2. In VS Code, create or open .vscode/mcp.json and add a server under servers. Use the local npx command, or the hosted URL if your setup supports streamable HTTP without extra header rules.
  3. Supply DATAFORSEO_USERNAME and DATAFORSEO_PASSWORD as environment variables for the local route. Do not commit real credentials to the repository.
  4. In Copilot Studio, add an MCP tool or custom connector pointing at https://mcp.dataforseo.com/mcp. Take the authentication setup from the vendor documentation.
  5. Start the server from the client and confirm the DataForSEO tools are listed.
.vscode/mcp.json
{
  "servers": {
    "dataforseo": {
      "command": "npx",
      "args": [
        "dataforseo-mcp-server"
      ],
      "env": {
        "DATAFORSEO_USERNAME": "your_username",
        "DATAFORSEO_PASSWORD": "your_password"
      }
    }
  }
}

DataForSEO MCP Server in Perplexity

  1. The documentation does not mention Perplexity, so use the app's standard way of adding a connector.
  2. Open the Perplexity desktop app connectors settings and look for an option to add a custom or local MCP server.
  3. If it accepts a URL, enter https://mcp.dataforseo.com/mcp and provide your API login and password in whatever authentication field is offered. Check the vendor's OAuth guide if OAuth is requested.
  4. If it only supports local commands, use npx with dataforseo-mcp-server and set DATAFORSEO_USERNAME and DATAFORSEO_PASSWORD.
  5. Confirm the server shows as connected, then run a verification prompt.
Connector URL
https://mcp.dataforseo.com/mcp

DataForSEO MCP Server in Cursor

  1. The vendor has a dedicated Cursor guide. Check it for the exact config.
  2. Install the latest Node.js and have your API login and password ready.
  3. Open Cursor's MCP settings, which edit a JSON file with a top-level mcpServers object, and add the entry below.
  4. Replace your_username and your_password with your DataForSEO API credentials, not your dashboard login.
  5. Save, then confirm the server shows as enabled in Cursor's MCP settings.
Cursor mcp.json
{
  "mcpServers": {
    "dataforseo": {
      "command": "npx",
      "args": [
        "dataforseo-mcp-server"
      ],
      "env": {
        "DATAFORSEO_USERNAME": "your_username",
        "DATAFORSEO_PASSWORD": "your_password"
      }
    }
  }
}

DataForSEO MCP Server in Claude Code

  1. The vendor has a Claude Code guide. The documentation says the hosted HTTP endpoint is not for Claude, so use the local npx route.
  2. Install the latest Node.js and have your API login and password ready.
  3. Run the command below in a terminal, replacing the placeholders. The -e flag sets environment variables for the server.
  4. Run claude mcp list to confirm the server is registered.
  5. If the command differs in the vendor's Claude Code guide, follow the vendor guide.
Terminal
claude mcp add dataforseo -e DATAFORSEO_USERNAME=your_username -e DATAFORSEO_PASSWORD=your_password -- npx dataforseo-mcp-server

Check that it works

Start with questions that only read data. If these answer from your real account, the connection is good.

  • Look up search volume for one keyword, for example "running shoes", in one location and language, and show the raw numbers.
  • List the DataForSEO MCP tools you can use, grouped by API, without calling any of them.
  • Fetch the top 10 Google organic results for one keyword and summarise the ranking domains.

Troubleshooting

+

Why do I get "you are not authorized" errors?

This is the most common issue. Make sure you use your API login and password, not the credentials for the DataForSEO dashboard. Formats vary by client. ChatGPT with the remote server needs an authorization header with your_api_login:your_api_password in Base64, prefixed with Basic. Follow the guide for your client.

+

Why do I see a "Fetch not defined" error when starting the server?

The documentation says this is caused by old Node.js versions. Install the latest Node.js, open a new terminal so the updated version is picked up, and run `npx dataforseo-mcp-server` again. When it prints that it is running on stdio, the server is ready.

+

Why does my client fail to connect or return errors on long responses?

Check the protocol first. The default is stdio, `http` suits most modern clients, and Claude Desktop is not supported over HTTP or the hosted endpoint. For provider limits, ask the AI to write long output to a file, start a new chat, or disable unneeded DataForSEO tools to save tokens.

Written Nov 11, 2026 from the vendor documentation. Exact menus, addresses and commands change; the official documentation is the source of truth.

Questions and answers

Questions readers and searchers ask about installing DataForSEO MCP Server, answered by the site editor from the vendor documentation, plus reader experience. Every comment is reviewed before it appears.

Ask a question or share what worked

Reviewed before publishing. One link max, no HTML.