How to set up the DataForSEO MCP server in Claude
By Cy De la Vega, SEO and AI search leader


On this page
The DataForSEO MCP server is DataForSEO’s official program that connects Claude to its search data, such as live Google results and keyword search volume. It runs on the Model Context Protocol (MCP), the open standard that connects AI applications to outside tools and data. Through it, Claude reads the documentation for DataForSEO’s API, the interface other programs use for its data, and then sends data requests.
DataForSEO sells that data with no subscription, and each data request Claude sends is billed to a prepaid DataForSEO balance. Whoever manages the DataForSEO account and its prepaid balance should set it up. The server works in the Claude app and in Claude Code, Anthropic’s coding tool. On Claude Team and Enterprise plans, an Owner adds it before members can connect.
Google Search Console, Google’s free tool for site owners, connects to Claude through a different server. Its setup sits in Claude for SEO and AEO with the other Claude guides for search engine optimization (SEO) work.
Use DataForSEO’s official v3 MCP server
DataForSEO maintains version 3 of its MCP server and publishes it in DataForSEO’s MCP server repository on GitHub under the Apache 2.0 license. It also ships as the dataforseo-mcp-server package on npm. Version 3.1.4 came out on December 1, 2026, and it’s the latest release as of December 3, 2026.
DataForSEO hosts a remote copy of the server, and the npm package runs a local copy on your computer. The SEO MCP servers guide compares the two under SEO MCP servers run remotely or on your computer.
How does the DataForSEO MCP server answer a question?
Claude answers through the DataForSEO MCP server by searching DataForSEO’s documentation for an endpoint, the API address for one kind of data, and then calling it. One question can lead to several paid requests, and Claude can pick the wrong endpoint.
- You type a prompt, the question or request you give Claude in plain words. The test prompt in DataForSEO’s quickstart for its new MCP server asks for the top 10 organic results for “best crm software” in the UK and names no endpoint.
- Claude calls
docs_indexto find the endpoint, here Google’s organic results endpoint. - Claude calls
docs_searchto read that endpoint’s settings. - Claude calls
api_requestwith the keyword, location and language. - DataForSEO returns the response and charges your balance for the request.
- Claude reads the response and writes the answer.
Step 4 is the only billed step in this example. The documentation Claude reads in steps 2 and 3 costs nothing, but it takes up space in the conversation and leaves less for the rest of a long session.


- The blue token is the question on its way from Claude through each call.
- The pale stands are
docs_indexanddocs_search, which cost nothing and take up room in the chat. - The gray gate is
api_request, the one step that bills your balance. - The coin stack is your prepaid balance, and a top 10 Google search takes $0.004 from it.
What changed in version 3 of the DataForSEO MCP server?
DataForSEO released version 3 on August 11, 2026, and it swapped more than 80 single-endpoint tools for 4 general tools. Version 2 moved to a deprecated repository that will no longer be maintained, and DataForSEO’s quickstart says the version 2 server keeps running. Setup posts that use ENABLED_MODULES, DATAFORSEO_FULL_RESPONSE or per-endpoint tool names such as serp_organic_live_advanced describe version 2.
Only one DataForSEO MCP tool spends money
Of the 4 tools in the DataForSEO MCP server’s README, api_request is the only one that spends DataForSEO credit, and the other 3 read its documentation.
| Tool | What it does |
|---|---|
docs_index |
Lists DataForSEO’s API documentation, for one section if you name it |
docs_list_ |
Lists the documentation’s section names |
docs_search |
Returns the documentation for one endpoint |
api_request |
Sends a signed-in request to any DataForSEO endpoint. Data requests are billed to your balance. |
By default, api_request asks for DataForSEO’s AI-optimized responses, a shorter format that costs nothing extra, according to DataForSEO’s page on AI-optimized responses. In that format, a request returns 10 results unless it asks for more. The depth setting counts search results and limit counts items in a list, on endpoints that support them.
Which DataForSEO APIs can Claude reach through MCP?
Every DataForSEO API is open to Claude, because api_request accepts any endpoint in the documentation. Rankings, keywords, links and page checks come from the SERP API, which collects search engine results pages (SERPs), and from the Keywords Data API, DataForSEO Labs, the Backlinks API and the OnPage API.
How do you control which DataForSEO endpoint Claude calls?
Approval on api_request lets you check which DataForSEO endpoint Claude calls, because each request waits for you before it runs. Naming the endpoint in your prompt or in a skill guides Claude toward it, and version 3 has no switch that limits Claude to certain API groups. A volume question could go to Labs or to the Google Ads endpoint, and they return different numbers at different prices.
Use Labs to find and filter many keywords, then the Google Ads endpoint for the latest monthly volume on a final shortlist. Naming the endpoint, location and language keeps answers comparable from one chat to the next. A skill, a saved set of instructions Claude loads for a task, can hold that line for every chat, and How to use Claude SEO skills shows how to write one.
Tool permissions decide which DataForSEO calls run without asking you. The SEO MCP servers guide explains the Always allow, Needs approval and Blocked labels under How do you limit what an SEO MCP server can do in Claude? In the Claude app, set api_request to Needs approval so each paid request waits for you. The 3 documentation tools can stay on Always allow.
In Claude Code, add an ask rule for api_request in /permissions. A permission prompt shows what Claude is about to do, per Claude Code’s permissions documentation, so you can read the endpoint and turn down a wrong one. For a server added in Claude Code as dataforseo, the rule is mcp__dataforseo__api_request. For the connector added in the Claude app as DataForSEO, it’s mcp__claude_ai_DataForSEO__api_request. Select the tool in /mcp to see its exact name.
Search results and crawled pages, the pages a crawler fetches the way a search engine does, carry text from other sites that can steer Claude.
Choose how Claude signs in to DataForSEO
The remote DataForSEO server uses OAuth, a sign-in where you approve access on DataForSEO’s approval page and Claude never sees your password. The local server uses your API login and password. Both routes need a DataForSEO account and a Claude account.
- As of December 3, 2026, new DataForSEO accounts get $1 of trial credit that works through MCP, according to DataForSEO’s pricing page.
- Any Claude plan can add the remote server, because Anthropic’s article on custom connectors allows them on every plan and limits Free accounts to one.
- The local server also needs Node.js version 22 or newer, the version the 3.1.4 npm package declares. Run
node -vin a terminal to check.
Each request sends its keywords and domains to DataForSEO, and the response enters your Claude chat.
Where do you find your DataForSEO API login and password?
DataForSEO’s API Access tab, at app.dataforseo.com/api-access, shows the login and password the local server needs. The login is the email you registered with. DataForSEO generates the API password itself, and DataForSEO’s authentication docs say it differs from the password you use to sign in to the dashboard.
The dashboard shows the API password for 24 hours after sign-up, and after that DataForSEO can send it to you by email, per DataForSEO’s article on common first API errors. A dashboard password in its place fails with a 401 error.
Should you use the remote or local DataForSEO MCP server?
The remote DataForSEO MCP server suits most setups where one person uses the account, because it needs no install and keeps the API password out of Claude’s config files. The local server is the route for field configuration or a pinned version. On the remote route, DataForSEO decides which version runs and can change its defaults, and the daily spending limit caps what such a change can cost.
Field configuration is a JSON file, passed with the README’s --configuration option, that trims the fields each endpoint returns. It works only on the local server, and smaller responses leave more room in the chat at the same price.
| Remote server | Local server | |
|---|---|---|
| Address | https://mcp.dataforseo.com/v3/mcp |
npx dataforseo- on your computer |
| Sign-in | OAuth approval on a DataForSEO page | API login and password in environment variables |
| Where the password sits | Nowhere on your computer | In plain text in a config file, or in shell history if typed in a command |
| Claude apps | The Claude app on web, desktop and phone, and Claude Code signed in with a Claude account | The Claude desktop app and Claude Code |
| Server version | DataForSEO picks it | You pin it |
| Field configuration | Not available | Available |
Anyone who copies the config file or your shell history can spend from your balance, up to any daily limit you set. On a shared or company-managed computer, the remote route keeps the password out of those files.
Remote server
Your computer
ClaudeNo API passwordDataForSEO
mcp.dataforseo.comApproved on DataForSEO’s pageLocal server
Your computer
Claudenpx dataforseo-mcp-server@3.1.4 Config file
DATAFORSEO_Plain text
DataForSEO
DataForSEO APISet a DataForSEO MCP budget before you start
Each DataForSEO data request through api_request is billed at pay-as-you-go rates, so a daily spending limit is the first control to set. DataForSEO’s SEO MCP server page lists no extra cost for the MCP connection. The pricing page lists no subscriptions and says added funds don’t expire.
A task is one unit of work in a request, such as one keyword’s results page or a batch of up to 1,000 keywords for Google Ads volume. An item is one row in a response. A Live request answers in the same call. A Standard queue request costs less, takes longer and needs a second call to collect its results.
| What you ask for | Price as of December 3, 2026 |
|---|---|
| Top 10 Google results for one keyword, Live, through server 3.1.4 | $0.004 ($0.002 for the search plus $0.002 for the poisoned-results check) |
| The same request with the check turned off | $0.002 |
| Search volume for up to 1,000 keywords from Google Ads, Live | $0.09 |
| 100 keyword ideas from DataForSEO Labs | $0.024 ($0.012 per task plus $0.00012 per item) |
| 1,000 backlinks for a domain | $0.06 ($0.024 per task plus $0.000036 per row) |
A $50 top-up, DataForSEO’s minimum, covers 12,500 top 10 Google searches with the check on at these rates. The same $50 covers about 555 Google Ads volume requests of up to 1,000 keywords each.
Why does a DataForSEO MCP Google search cost double?
DataForSEO MCP server 3.1.4 turns on DataForSEO’s poisoned-results check for Google searches. The check adds the price of one results page to every task, whether or not it finds anything. A request for 20 results costs $0.006 with the check on and $0.004 with it off. Leave the check on for rank tracking, and turn it off for a quick look at what a results page contains.
DataForSEO uses “poisoned results” for Google results pages returned to automated requests with legitimate organic listings replaced. DataForSEO’s announcement on poisoned Google results says they can cause false ranking drops. According to DataForSEO, the check compares those pages with Google’s Web mode and replaces the affected organic listings.
The Google organic Live Advanced documentation sets resolve_poisoned_results to false by default. Server 3.1.4 sets it to true on Google organic and local pack requests, Live and Standard, unless the request sets it.
To turn the check off, ask Claude to set resolve_poisoned_results to false in the request. DataForSEO doesn’t publish which version its remote server runs, so on the remote route, assume the check is on.
To see what a question cost, ask Claude to call the free appendix/user_data endpoint before and after it and compare the 2 balances. That endpoint returns your balance and spending, per DataForSEO’s user data documentation. Other requests on the account in the meantime, such as a scheduled script, change the difference too. The api_request response shows no price, because AI-optimized responses cut its service fields to the ID, status code and status message.
How do you control DataForSEO MCP costs?
A daily spending limit and small requests keep DataForSEO MCP costs in check.
- Set a daily limit for all APIs, or a daily budget per API or endpoint, in API Settings at app.dataforseo.com/api-settings. Requests over the limit fail with error 40203, according to DataForSEO’s article on limiting payments.
- Keep
limitanddepthlow, because Labs bills per item and the SERP API bills per 10 results. - Leave clickstream data, records of how people browse, off on Labs requests unless you need it. The Labs keyword overview documentation says it doubles the request price.
One task holds up to 1,000 keywords.
Top 10 Google results with the check on
$0.004
- $0.002 for 1 page of results
- $0.002 for the poisoned-results check
A $50 top-up covers 12,500 of these requests.
Top 10 Google results with the check off
$0.002
- $0.002 for 1 page of results
A $50 top-up covers 25,000 of these requests.
Top 20 Google results with the check on
$0.006
- $0.004 for 2 pages of results
- $0.002 for the poisoned-results check
A $50 top-up covers 8,333 of these requests.
Top 20 Google results with the check off
$0.004
- $0.004 for 2 pages of results
A $50 top-up covers 12,500 of these requests.
Google Ads search volume for up to 1,000 keywords
$0.09
- $0.09 for 1 task
A $50 top-up covers 555 of these requests.
10 keyword ideas from DataForSEO Labs
$0.0132
- $0.012 for the task
- $0.0012 for 10 items at $0.00012 each
A $50 top-up covers 3,787 of these requests.
100 keyword ideas from DataForSEO Labs
$0.024
- $0.012 for the task
- $0.012 for 100 items at $0.00012 each
A $50 top-up covers 2,083 of these requests.
100 backlinks for a domain
$0.0276
- $0.024 for the task
- $0.0036 for 100 rows at $0.000036 each
A $50 top-up covers 1,811 of these requests.
1,000 backlinks for a domain
$0.06
- $0.024 for the task
- $0.036 for 1,000 rows at $0.000036 each
A $50 top-up covers 833 of these requests.
Prices are DataForSEO’s pay-as-you-go rates as of December 3, 2026.
When is the DataForSEO API a better fit than MCP?
Volume work, such as thousands of keywords or a pull that repeats every week, belongs in direct calls to the DataForSEO API. The MCP server sends only the first task of a Live request, so a keyword list over 1,000 terms takes several separate requests, each run through Claude.
A direct Standard queue request to the Google Ads search volume task endpoint can carry up to 100 tasks of up to 1,000 keywords each. As of December 3, 2026, it bills at the Standard rate of $0.06 per task, against $0.09 for Live.
MCP suits questions you work through in a chat, and scheduled or bulk pulls belong in a script or workflow tool that calls the API.
Set up the DataForSEO MCP server in Claude
The remote server takes one custom connector in the Claude app or one command in Claude Code, and every route ends by setting the daily spending limit. The commands follow the syntax in Claude Code’s MCP documentation with the values from DataForSEO’s README. Replace each capitalized placeholder with your own value.
How do you connect DataForSEO to the Claude app?
The Claude app adds DataForSEO as a custom connector, and you approve access on DataForSEO’s own page. Anthropic’s custom connector article gives these steps for individual Pro and Max plans.
- Go to Customize > Connectors, at claude.ai/customize/connectors.
- Click “+ Add”, then “Add custom connector”.
- Enter DataForSEO as the name and
https://mcp.dataforseo.com/v3/mcpas the URL, then click Continue. - Review the detected sign-in settings and click Continue.
- Under Authentication, choose “Sign in now”, keep the recommended OAuth client and click Add.
- Click Approve on the DataForSEO page that opens.
- In the connector’s tool permissions, set
api_requestto Needs approval. - Before your first question, set a daily spending limit in DataForSEO’s API Settings at app.dataforseo.com/api-settings. The options are under How do you control DataForSEO MCP costs?
On Team and Enterprise plans, an Owner or Primary Owner (or an Enterprise custom role that includes Manage access to Libraries) adds it first under Organization settings > Connectors (as of December 3, 2026). Members then find it under Customize > Connectors and click Connect.
How do you add the DataForSEO MCP server to Claude Code?
Claude Code adds the remote server with one claude mcp add command and signs in through /mcp. If the connector you added in the Claude app already shows in /mcp, skip to step 4.
-
Run this command in a terminal.
claude mcp add --transport http --scope user dataforseo https://mcp.dataforseo.com/v3/mcp -
Start Claude Code, run
/mcp, choose dataforseo and finish the sign-in in your browser. -
Run
claude mcp listto check the server’s status. -
Set the daily spending limit in app setup step 8 before your first question.
The --scope user option adds the server to every project on your computer, and --transport http tells Claude Code it’s a remote server.
The local server takes a longer command with the version pinned.
claude mcp add --scope user \
--env DATAFORSEO_LOGIN=YOUR_API_LOGIN \
--env DATAFORSEO_PASSWORD=YOUR_API_PASSWORD \
--transport stdio \
dataforseo -- npx -y dataforseo-mcp-server@3.1.4
Keep the options in the order shown. On Windows, end the command with -- cmd /c npx -y dataforseo-mcp-server@3.1.4, the wrapper DataForSEO’s article on installing the MCP server in Claude Code uses.
Claude Code stores the password from this command in ~/.claude.json, so keep that file private. Don’t add this server with --scope project. That option writes it to .mcp.json, a file Claude Code’s MCP documentation says to check into version control, and the password would reach everyone with the repository.
Pinning @3.1.4 keeps npx on the release you set up, and an unpinned or @latest command can start a newer one. Version 3.1.4 itself changed what a Google search request costs. As of December 3, 2026, the repository publishes no release notes. Read its commit history on GitHub for price or default changes before you move the pin.
How do you run the DataForSEO MCP server locally in Claude Desktop?
The local server goes in claude_desktop_config.json, the Claude desktop app’s config file, and starts when the app restarts.
-
Open Settings, then Developer, then Edit Config, per the MCP guide to local servers. The file sits at
~/Library/Application Support/Claude/claude_desktop_config.jsonon macOS and%APPDATA%\Claude\claude_desktop_config.jsonon Windows, per DataForSEO’s MCP page. -
Add the server. If the file already has an
mcpServersblock, add thedataforseoentry inside it.{ "mcpServers": { "dataforseo": { "command": "npx", "args": ["-y", "dataforseo-mcp-server@3.1.4"], "env": { "DATAFORSEO_LOGIN": "YOUR_API_LOGIN", "DATAFORSEO_PASSWORD": "YOUR_API_PASSWORD" } } } } -
Quit the Claude desktop app completely and open it again.
-
Check the connection in the Local MCP servers section of the Extensions page, reached from Settings, then Desktop app, then Manage next to Extensions. The + button under the chat box, then Connectors, also lists the server and its tools, per Anthropic’s help article on local MCP servers.
-
Set the daily spending limit in app setup step 8 before your first question.
Older DataForSEO articles use DATAFORSEO_USERNAME for the login, and version 3 accepts that name too.
Why won’t the DataForSEO MCP server connect or answer?
These errors trace to the DataForSEO credentials, the balance, the daily limit, the old version 2 address or a response too large for Claude Code.
| Error | Cause and fix |
|---|---|
| 401 or status 40100 | The credentials didn’t match. Use your registration email as the login and the API password from API Access. |
| 40200 or 40210 | The balance is too low. Add funds in the dashboard. |
| 40203 “The cost limit has been exceeded” | The daily spending limit was reached. Raise it in API Settings or wait for the limit to reset at midnight UTC. |
Tools named per endpoint, such as serp_organic_ |
The client is on the deprecated version 2 at /mcp or /http. Switch to /v3/mcp. |
| Claude Code warns about a large MCP response | The response passed Claude Code’s warning level. Ask Claude to set a lower limit value, or keep the AI-optimized format on. |
Check DataForSEO MCP numbers before you use them
Before a DataForSEO MCP number goes into a report or a decision, open the api_request call in Claude and read the endpoint, location, language and dates it sent.
- Expand the
api_requesttool call in the Claude app or Claude Code and read its input. The input shows what Claude sent, and Claude’s description of its own request can be wrong. - Confirm the location and language match the market you care about.
- Check the status code and the number of rows. DataForSEO’s article on common first API errors says a response can show 20000 at the top with an error inside the task, so check both.
- Check
last_updated_timeon Labs results, or the months covered on Google Ads results. - Add volumes with care. Similar keywords can share one combined Google Ads volume, and adding them counts the same searches more than once.
- Check the endpoint’s result limit and sort order before you draw conclusions from the rows, because a short list can be the top of a longer one.
As of December 3, 2026, Claude Code warns when an MCP response passes 10,000 tokens, units of text about the size of a short word. It saves a response over its output cap to a file, so ask for fewer rows when a total depends on the full list.
Describe a Google Ads volume in a report as an approximate monthly average, the term DataForSEO’s docs use. Keep the endpoint, location, language and date beside each number.
Why do DataForSEO search volumes differ between endpoints?
The Google Ads endpoint and DataForSEO Labs draw on different sources updated at different times, so the same keyword can return 2 different volumes.
| Source | Where the number comes from | Freshness |
|---|---|---|
| Keywords Data API, Google Ads search volume | Google Ads, as an approximate monthly average with monthly figures for the past 12 months | Google generally adds new keyword data in the middle of the month |
DataForSEO Labs keyword_info |
DataForSEO’s keyword database, based on Google Ads data | Updated monthly, with last_updated_time on each keyword |
Google Ads groups close variants and misspellings under the main keyword and reports one volume for all of them, according to DataForSEO’s article on precise search volume. The article points to the DataForSEO Search Volume endpoint, where each variant listed in one request gets its own figure. DataForSEO normalizes those figures with clickstream data by default, or with Bing data when the request sets use_clickstream to false in a location Bing covers. Keywords in restricted categories, such as weapons and tobacco, return no volume, per DataForSEO’s Google Ads overview.
Which location and language should a DataForSEO request use?
Every DataForSEO request should carry the location and language of the market you’re researching, because each endpoint handles missing values differently. The Google Ads search volume endpoint returns worldwide data when the location is left out. Labs endpoints differ from each other. Keyword overview requires a location and a language, keyword ideas picks a default language, and ranked keywords covers every location when none is given.
Frequently asked questions
Is the DataForSEO MCP server free?
The DataForSEO MCP server is free and open source, and each data request it makes is billed to your prepaid DataForSEO balance at pay-as-you-go rates.
What is the DataForSEO MCP server URL?
The remote DataForSEO MCP server URL is https://mcp.dataforseo.com/v3/mcp. DataForSEO’s SEO MCP page lists the older /mcp address in its FAQ, and that address belongs to the deprecated version 2.
Can you use your DataForSEO dashboard password with the MCP server?
No, the local DataForSEO MCP server needs the API password from the API Access tab. That password differs from the one you use to sign in to the dashboard.
Does the DataForSEO free trial work with MCP?
Yes, DataForSEO’s $1 trial credit can be spent through MCP, and requests stop once it runs out.





