AI Income LabJoin AI Income Lab ↗

DataForSEO MCP in Claude Code: SEO audit and Codex fixes

Jump to video chapters

Watch on YouTube ↗ Subscribe on YouTube ↗

By · · 8:52 · 198 views

Connect the free DataForSEO MCP server from GitHub to Claude Code, pull keyword and AI mention data, and have Claude write an SEO audit report, implementation summary, keyword map and priority list for Mike's site. Codex then carries out the fixes, including less DOM bloat, product schema and render-blocking resources, and a Lighthouse run shows better desktop performance. Rankings are not shown, and the AI mention check returns a result Mike says is wrong.

Video summary

The video covers 10 parts: Intro: Using DataForSEO with the Claude MCP, Setting up the free MCP and API credentials, Running keyword search volume checks in Claude Code, Checking AI citations and LLM mention metrics, Generating an SEO audit and implementation plan, Fixes for DOM size and Product schema, Reviewing the keyword map and implementation plan, Using Codex and Superpowers to execute the plan, Improving page speed and render-blocking resources, and Final results: verifying with a Lighthouse report.

What this video covers

What you build

A DataForSEO MCP install in Claude Code with generated audit files, followed by a Codex run of the fixes and a Lighthouse before and after check.

Tools used

Compare pricing: DataForSEO. Some ↗ links are affiliate links, so I may earn a commission or credit. See every tool I recommend →

Key steps

Not covered

Summary written from the video's transcript and chapters.

In this video

  1. 0:00 Intro: Using DataForSEO with the Claude MCP
  2. 0:40 Setting up the free MCP and API credentials
  3. 1:20 Running keyword search volume checks in Claude Code
  4. 2:01 Checking AI citations and LLM mention metrics
  5. 3:20 Generating an SEO audit and implementation plan
  6. 5:01 Fixes for DOM size and Product schema
  7. 5:40 Reviewing the keyword map and implementation plan
  8. 6:21 Using Codex and Superpowers to execute the plan
  9. 7:40 Improving page speed and render-blocking resources
  10. 8:21 Final results: verifying with a Lighthouse report

Questions and answers

Is the MCP free?

Mike says the MCP server on GitHub is free. The data itself needs a DataForSEO account, and the LLM mention module needed a 14-day trial.

What files does Claude write?

An SEO audit report, an implementation summary, a keyword map and an SEO issues priority list.

Did it fix the SEO?

It applied performance and schema fixes, and desktop performance went up. Whether rankings improved is not shown.

Transcript

Hey there, welcome to the channel. In this video, I'm going to be taking you through step-by-step how to get started using DataForSEO. They have a free MCP that you can install inside Claude Code, which will allow you to optimize your site for SEO. You don't have to hire anybody, you don't have to pay thousands of dollars. You can just do everything yourself using Claude and DataForSEO.

So, if you're excited to learn how to improve the SEO on your site, this is the tutorial you should be watching. Please go ahead and subscribe to the channel if you haven't already, and let's get into it. In this video, I'm going to share with you step-by-step how to get started and set up the MCP for DataForSEO. This will allow you to connect your AI models like Claude Code with their API and pull in SEO data.

Read the rest of the transcript

So, to get started, you're just going to click on sign up here. You can try it for free and create your account, and then you'll be dropped into your dashboard, which you can see here. And then you're basically just going to grab your API key, and then in order to install the MCP, you will need to grab it on GitHub over here. I'll leave a link in the description below where you can download this.

It's completely free, and in order to install this, you're just going to get clone it into your directory. And then from there, we're just going to CDN, and we're going to do an NPM install. We're going to create a .env file, and we're going to copy and paste these environment variables in. Now, in order to start running this in Claude Code, all you have to do is type Claude test MCP DataForSEO.

And then I've just gone ahead and issued at the prompt fetch search volume for the top 10 keywords that tubemogul.net ranks for in the US on Google, and now it's asking for permission to use the ranked keywords tool, so I'm just going to say approve. And as you can see, it returns all of the keywords that I'm currently ranking for with the search volume, difficulty, competition, and also the cost per click. And I also want to see where I'm showing up in LLM citations.

In this case, I want to use the LLM responses API. I can collect LLM responses from the following large language models, ChatGPT, Claude, Gemini, Perplexity. So, it should be able to figure out that I want to use MCP in this case, and sure enough, it did call DataForSEO MCP. And it says I need to check plans and subscriptions and activate LLM mentions API module. And then it will be able to query all of the LLMs.

So, in order to do that, I'm just going to come over to my dashboard here. I can also get the 14-day trial. So, I'm just going to go ahead and do that, and now it's active. It checked DataForSEO LLM mention metrics across ChatGPT, Gemini, and others, and it says none are being tracked, which I know for a fact is not true, but it was able to return a result. It says I'm missing from the AI training data sources.

DataForSEO tracks, and it says my content is not cited in ChatGPT or Gemini answers about YouTube analytics. And it's even giving me a suggestion here in order to improve, I need to build backlinks from high authority sites that AI models reference and create original research data AI assistants site as sources. I'm also creating a prompt over here inside ChatGPT, which is going to run a complete SEO audit, and it should optimize the site or give me some suggestions.

So, now I'm just going to paste in that prompt, and we'll see if it can call the DataForSEO MCP. And then it should give me sort of like an implementation plan. And hopefully it doesn't run out of credits. So, now it got the on-page data, 98%, which is really good, and it's going also getting the the overview. So, it's going to compile the audit with the gathered data and create the comprehensive report. And sure enough, it was able to write the SEO audit report.md file.

It's creating them now, the SEO audit report, implementation summary, the keyword map, and also the SEO issues priority list. So now, as you can see here, it has created this complete and detailed file for the SEO audit report, which is going to create in my home directory. So, here's the full SEO audit report, which I can implement if I need to fix any of this stuff up. It has an implementation checklist here.

So, here's a few quick wins, and then short-term wins, and medium-term, and also long-term wins that I can implement using one of my Claude SEO skills. So, that's really nice to have. And it's also going to create the other files as well. From the MCP. So, now it's going to create the SEO implementation summary, suggesting that I reduce the DOM size, add missing schema markup, which we can also fix using a a skill that's built into Claude.

Also, content expansion, so we want to create long-tail comparison pages, which I've already done a lot of this stuff already to create the comparison pages. But, we can basically just take this implementation plan, put it into Claude, and start running some of these things. So now, I've just told Claude code to read the SEO implementation summary file and implement the fixes, and it's going to ask me before making any changes. So, it found it, it's pulled in the complete fixes to implement immediately.

It's going to remove duplicate theme color tags. It's going to add all the product schema to the home page. It's asking, "Do you want me to implement all phase one fixes, yes or no?" And over here, Claude is also creating one more file, which is the SEO keyword map. So, we're going to go ahead and approve that. And now, you can see See here, we have the SEO keyword map, which is really nice to have as well.

We can basically just combine all these different files and create a robust SEO implementation plan. There are custom Claude code skills that you can use to do this as well, but in this case I just want to show you how to use DataForSEO the MCP. So here's the detailed implementation plan which was created with Claude code. You can see everything that's going to do over here.

I think one of the most important fixes that it's going to implement is to add product schema to the homepage which is ultimately going to help me show up in not only the AI answer engines, but also uh SEO which I currently don't have looks like on my landing page and some of my other pages as well. So we definitely want to implement that. I'm going to use codex for this because I'm running out of credits in Claude.

So I'm just going to use the superpowers executing plans plugin in this case. And I'm going to say implement SEO fixes. And what that's going to do in codex it's just going to go through and start ticking off each one of these one at a time. So you can see it's now read the file, it's loaded the plan. Now for the SEO issues priority list, I'm just going to go ahead and say read the SEO issues priority list MD file and create a complete implementation plan.

In this case I'm going to be using superpowers writing plans which is pretty much built into codex. So now as you can see it's created a complete implementation plan for the SEO fixes. And here's the complete SEO issues priority list implementation plan. So as you can see you really don't need an SEO anymore. You can use these tools to do all of your SEO for you. There's really no excuses anymore not to do this stuff yourself using something like Claude code or codex.

So as you can see it's now fixing the home page DOM bloat and render blocking resources, which is definitely something that I want to fix because my page speed is really quite slow, especially on mobile. So, we definitely want to make sure to fix some of these things, which is exactly what it's doing over here. And we'll see what this looks like once it's all finished.

If it had been improved if it improves my page speed, should fix up a lot of the SEO issues on the site as it's doing right now. And then afterwards, we can run another page speed test and see if it's faster. In order to test the SEO fixes that it built into my website, I'm going to run a lighthouse report on both desktop and mobile and see if the page load speed has improved. We're going to turn on all categories, performance, accessibility, best practices, SEO.

And I'm just going to go ahead and analyze the page load speed right now. We'll see what the results look like. There we go. So, performance has gone up fairly significantly on desktop. Hopefully, you have enjoyed this tutorial. Please go ahead subscribe to the channel if you haven't already. And with that being said, thank you so much for watching. Take care. Stay safe. Peace from Thailand. Signing off.

Not ready to join? Get the weekly build notes: new guides and tested builds in one short email.

You may also like