DataForSEO MCP serverand Python AI tasks
qbash hosts a DataForSEO MCP server you can use in Claude, ChatGPT, Codex, Cursor, Grok Bot and Muse.
Developers use qbash Tasks to write cloud-hosted Python functions that pair DataForSEO with models such as Claude and GPT.
MCP server
Build a DataForSEO MCP server
Give ChatGPT, Claude and your other AI tools access to DataForSEO through one server. You pick which DataForSEO tools it shares, and you can add other connectors, memory folders and Tasks to the same server.
How to set it up
- Connect DataForSEO on the qbash Connectors page.
- Create an MCP server and add the DataForSEO tools you want to share.
- Paste the server URL into your client. It connects with OAuth or an access token.
Python AI task
Write a DataForSEO task in Python
A qbash Task is a hosted Python function that calls DataForSEO and AI models.
Compare demand for a keyword shortlist
Read search volume and cost-per-click estimates for three candidate topics in the United States, then ask an inline prompt to rank them.
report = qbash.integrations.dataforseo.keyword_volume(
keywords=["python automation", "scheduled python scripts", "python workflows"],
location_code=2840, language_code="en",
include_monthly_searches=False,
)
rows = report.get("keywords", [])
if rows:
comparison = qbash.ai.run_prompt(
slug="dataforseo-keyword-shortlist",
variables={"keywords": json.dumps(rows)},
)
qbash.output(comparison)
else:
qbash.output("No keyword metrics returned for this shortlist.")
Sample keyword_volume response
{
"status": "success",
"keywords": [
{
"keyword": "python automation",
"search_volume": 2400,
"cpc": 3.2
}
],
"count": 1
}
What the DataForSEO connector can do
- Look up search volume, CPC, and competition for a known list of keywords
- Generate keyword ideas from seed keywords. Returns related keywords with volume and CPC
- Long-tail keyword discovery from a single seed keyword. Returns suggestions with difficulty and volume
- Expand a seed keyword via Google's "searches related to" graph
qbash Tasks: AI applications in Python
A Task is a Python function that calls DataForSEO, your other connectors and models such as Claude, GPT, Gemini and Grok. qbash hosts and runs it.
Run Tasks on a schedule or from your team's tools
- Deterministic where it counts Write the logic in Python and call a model only for the steps that need judgement, so the rest runs the same way every time.
- Version controlled Every save is a revision you can compare and roll back.
- Logged Each run records its inputs, output, errors and what started it.
- Shared credentials Connections belong to your organization, so a Task keeps working when its author is away.
DataForSEO MCP questions
Does DataForSEO have an official MCP server?
Yes. DataForSEO publishes an open-source server, dataforseo/mcp-server-typescript, plus a hosted endpoint, and both cover many more of its APIs. The qbash server carries four keyword methods and makes them callable from Python tasks next to your other connectors.
How is DataForSEO usage billed?
DataForSEO charges every request to your own account at its pay-as-you-go rates, whether it comes from an MCP client or a scheduled task.
Related SEO connectors
Build a DataForSEO task
Write it in Python with AI steps, and qbash hosts it with versions and run logs.
Build a DataForSEO MCP server
Pick the DataForSEO tools to share and connect ChatGPT, Claude or Grok Bot.