DataForSEO MCP Server
Published
At a glance
- Category
- Vector & search
- GitHub repository
- dataforseo/mcp-server-typescript
- Watch out for
- DataForSEO is a pay-as-you-go API, so every api_request call made by the agent is billed to your account.
DataForSEO publishes this server itself, on GitHub under the Apache-2.0 license and on npm as dataforseo-mcp-server. The README describes it as the v3 server; the older v2 server with one tool per API was moved to a separate repository and marked deprecated.
The v3 design is small on purpose. Instead of dozens of endpoint-specific tools, it gives the agent four: three for browsing the DataForSEO API documentation and one for making authenticated requests. The agent looks up the endpoint it needs (SERP, keywords, backlinks, on-page and so on), reads the parameters, then calls it through api_request.
Three setups are supported. The default is local stdio via npx, which authenticates with your API login and password. Passing --mode http starts a Streamable HTTP server on port 3000. DataForSEO also hosts a public remote endpoint at https://mcp.dataforseo.com/v3/mcp that supports OAuth 2.0, so many clients only need the URL. The same binary doubles as a CLI with docs and request commands.
How it connects
Your AI app
An assistant or agent that supports MCP
DataForSEO MCP Server
Runs as
- npx (Node.js)
- Remote (HTTP)
Gives the agent
- Documentation index
- Endpoint docs lookup
- Authenticated API calls
- Response field trimming
- Remote OAuth endpoint
DataForSEO
Signs in with
- OAuth / browser sign-in
What it can do
- Documentation index
- docs_index fetches the API documentation index, optionally filtered by section such as SERP API, and docs_list_sections returns the available section names.
- Endpoint docs lookup
- docs_search fetches the documentation for a given docs URL or path, with an optional needCodeExample flag for PHP, Node.js, Python and C# samples. Docs responses are cached for 24 hours.
- Authenticated API calls
- api_request sends a request to any DataForSEO endpoint with the body passed as data. It uses the .ai paths by default; set noAiMode to true for the standard path.
- Response field trimming
- A field configuration file (via --configuration, FIELD_CONFIG_PATH or FIELD_CONFIG_JSON) limits which fields come back for each endpoint path, which keeps large responses smaller.
- Remote OAuth endpoint
- The HTTP transport exposes OAuth 2.0 Protected Resource metadata so clients can discover the authorization server and send Bearer tokens, with Basic auth and env credentials as fallbacks.
Setting it up
Get your API login and password from https://app.dataforseo.com/api-access. For the hosted server, add {"mcpServers": {"dataforseo": {"url": "https://mcp.dataforseo.com/v3/mcp"}}} to a client that uses mcpServers; in Cursor that is Settings, Tools & Integrations, Add Custom MCP. In Claude Desktop, go to Customize, Connectors, Add custom connector and paste the same URL; Claude asks for approval the first time it calls a tool. For a local stdio server, use "command": "npx" with args ["-y", "dataforseo-mcp-server"] and set DATAFORSEO_LOGIN and DATAFORSEO_PASSWORD in the env block (OAuth is not used on stdio). In Claude Code, the vendor page shows claude mcp add dataforseo -- npx -y dataforseo-mcp-server for stdio, or claude mcp add --header "Authorization: Basic <token>" --transport http dfs-mcp https://mcp.dataforseo.com/v3/mcp for the remote server, then claude mcp list to confirm. To self-host over HTTP, run npx dataforseo-mcp-server@latest --mode http (port 3000, override with PORT) and set TRUST_PROXY=true behind a reverse proxy. Node.js 20 or later is required for development builds.
claude mcp add --transport http dataforseo https://mcp.dataforseo.com/v3/mcpIf the server needs a sign-in or an API key, the setup notes above say which. Combine several servers in the MCP config generator
Where each client keeps its MCP config file, and the JSON it expects (cheat sheet)
Where it helps
- Pull live Google organic results for a keyword and location and summarize who ranks.
- Look up the right endpoint and parameters for a backlink summary, then run it for a domain.
- Run a Lighthouse check through the on-page API and report the main issues.
- Gather keyword data for a content brief without writing a separate API client.
Limitations and things to watch
- DataForSEO is a pay-as-you-go API, so every api_request call made by the agent is billed to your account.
- The stdio transport needs your API login and password in plain environment variables or the client config.
- With only four generic tools, the agent has to read the docs before most calls, which adds round trips and tokens.
- The previous v2 server is deprecated, so older setup guides and configs written for it may not match the v3 tools.
- Large API responses can fill the context window unless you set up a field configuration.
Sources
Written from the project's own documentation, checked November 2026.
- github.com /dataforseo/mcp-server-typescript
- dataforseo.com /model-context-protocol
- registry.npmjs.org /dataforseo-mcp-server/latest
- dataforseo.com /help-center/setting-up-the-official-dataforseo-mcp-server-simple-guide
How we research: where our facts come from, how often we re-check them, and why no one can pay for a review or a verdict.