Semrush MCP with OpenCode: keyword and backlink gap scripts
Watch on YouTube ↗ Subscribe on YouTube ↗
Written guide: Semrush MCP: AI Visibility and Keyword Gaps
Use the Semrush MCP from OpenCode and Hermes Agent to pull AI visibility, keyword gap and backlink gap data, then have scripts act on it. Mike's AI visibility score is 14 out of 100 with about 428 citations, and ChatGPT, Gemini and AI Mode mentions are shown. API exhaustion errors interrupt the backlink script. The video is an affiliate promotion, and Mike is on a $300 a month Semrush plan despite the title.
Video summary
Semrush MCP + OpenCode SEO: AI visibility dashboard, keyword/backlink gaps, automated outreach, disavow finds, ChatGPT/Gemini/Perplexity mention shares — replace a paid SEO team.
Stop wasting money on SEO — do this Semrush MCP + OpenCode workflow instead.
The video covers 10 parts: Introduction to SEMRush Free Trial, Reviewing AI Visibility Dashboard & Citation Data, Connecting SEMRush SEO tools, Setting Up SEMRush MCP API Key, Generating Keyword Gap Plans, Analyzing Backlink Gaps & Running Automation Scripts, Automated Backlink Outreach using AI Agents, Identifying Disavow Opportunities, Analyzing LLM Mention Shares (ChatGPT, Gemini, Perplexity), and Schedule Your Free Consultation Call.
What this video covers
What you build
A Semrush MCP connected through an API key to coding agents that generate keyword gap plans, backlink gap scripts and a list of low-quality backlinks to consider disavowing.
Tools used
Key steps
- 0:48 - Review the AI visibility dashboard: a score of 14 out of 100 and about 428 citations across ChatGPT, Claude, Gemini and Perplexity.
- 1:23 - Connect Semrush tools to the coding agents.
- 1:52 - Generate a Semrush API key and have the agent set up the MCP.
- 2:26 - Create a keyword gap implementation plan and implement it on a free DeepSeek V4 Flash model.
- 3:45 - Create a script to pull backlink gaps, which throttles on API credit limits.
- 5:28 - Send backlink outreach emails with an AI email agent.
- 5:52 - Identify weak backlinks to disavow and upload them to Google Search Console.
- 6:40 - Read LLM mention shares: about 29 percent of ChatGPT mentions, 35 percent in Gemini and 23 percent in AI Mode.
Not covered
- Ranking or traffic results from the keyword and backlink work.
- Whether disavowing links is needed. Search engines often say it is rarely necessary.
- Rules on cold outreach for backlinks and on automated email agents.
- The cost of API credits against the $300 a month plan, since Mike hits throttling.
In this video
- 0:00 Introduction to SEMRush Free Trial
- 0:48 Reviewing AI Visibility Dashboard & Citation Data
- 1:23 Connecting SEMRush SEO tools
- 1:52 Setting Up SEMRush MCP API Key
- 2:26 Generating Keyword Gap Plans
- 3:45 Analyzing Backlink Gaps & Running Automation Scripts
- 5:28 Automated Backlink Outreach using AI Agents
- 5:52 Identifying Disavow Opportunities
- 6:40 Analyzing LLM Mention Shares (ChatGPT, Gemini, Perplexity)
- 8:08 Schedule Your Free Consultation Call
Questions and answers
Does the Semrush MCP need a paid plan?
Mike recommends a paid plan for MCP access, and uses a $300 a month plan. A 7-day free trial is mentioned.
What was the AI visibility score?
14 out of 100, which Mike says is lower than expected.
Keep learning
Transcript
Hey there, welcome to the channel. In this video, I'm going to be showing you step by step how to get started using SEM Rush, which is one of the best SEO and AI visibility tools available. And I'm going to leave a link in the description below where you can get started completely for free. All you need to do is enter in your domain name. So, in my case, I would just enter in Tube Analytics and then we can get started right away.
Obviously, you'll need to create your free account and then I would recommend upgrading to one of the paid plans in order to get access to the MCP to integrate into our AI coding harnesses. So, in this case, I'm pulling a in a lot of data from SEM Rush to close keyword gaps and I've just told it to create an implementation plan for me.
Read the rest of the transcript
I've already got my dashboard pulled up over here and right away you can see my overall AI visibility is only 14 out of 100 which honestly I would expect it to be higher but you can see the total number of citations I'm getting in all of the LLM over here is about 428 across ChatGPT claude Gemini perplexity and many others and you can see all of the prompts over here as well and you can see the exact output that you're getting from ChatGPT in this case
over here as well and all of the sources that it's recommending. This is definitely good to have, but it's even better if you can get access to the MCP, which you can then integrate into your AI coding harnesses. So, in this case, I'm using OpenCode and I'm also using Hermes agent to do a lot of this stuff. So, over here, we're basically pulling in all of the back links in order to close up some gaps that we're having versus our competitors.
I'm also doing some other things over here to actually integrate the MCP. In order to get started with that, you'll just search for SEM Rush MCP and then you can read all of the documentation over here. Basically, what you need is the API key. You just need to generate that API key and then you can tell your AI coding harness to build in the MCP just as I've done over here.
And then from there you could basically just get access to all of this data including your AI visibility and much much more keyword gaps, backlink gaps, competitor data, everything is available directly from within over here in SEM Rush. And now that I've gone ahead and created this implementation plan, it's telling me exactly what it found. And then I can just go ahead and start implementing this.
So, I'm just going to say implement this plan, and it should be able to close up all of those keyword gaps for me completely for free. I'm not spending a single dollar in credits because I'm on the DeepSeek V4 Flash Free model, which is 100% free. If you want to go ahead and sign up for OpenCode, you can check the link in the description below, and then you can sign up completely for free. And you can also get access to the Go plan.
If you use my link, you will get $5 in credits. I actually just got another reward, so I'm going to go ahead and apply that right now. And that will bump down my usage for the week and also for the month so that I can get access to a lot of the paid models, including DeepSeek, GLM, and Kimi. Those are some of the best models coming out of China. And this can do pretty much everything that I need it to do.
So, right now, it's just going ahead and taking that implementation plan that it created up above, and it's going to close up all of those keyword gaps using the SEM Rush MCP. Now, in this particular case, I'm on the $300 per month plan. They offer a 7-day free trial, so you can basically test it out, and that includes access to all of the data. And I'm just going ahead and doing a lot of this stuff.
If you can see over here inside Hermes agent, we're getting a lot of the keyword gaps or sorry the backlink gaps where I'm currently missing. And basically what it's done is it's just created this script which I can easily run over here and it will pull in all of those backlink gaps from the data that I'm getting from SEM Rush. And it says it's going to fix the backlinks matrix to throw on API exhaustion errors.
So, I am hitting some errors in terms of API credits for some reason. It's starting to throttle it a little bit, but overall, we're still getting access to a lot of the data that we need. And then the really useful thing about this is that we will have access to all of the real live data. So, we're not just guessing and throwing darts at a board. It's actually getting the real data over here using SEM Rush.
There are other tools that you can use to do a lot of this stuff like AEFs, but that one tends to be even more expensive than SEM Rush. So, I would recommend just getting started with SEM Rush. And then you can start building out all of your SEO and you can start closing up your AI visibility gaps as well. Has access to all of that data over here. And you can check your organic traffic, referring domains, all of the back links as well.
So, I've currently got about 19,000 backlinks to my site and I'm also creating scripts using AI agents. So, it's just pretty much 100% automated. And I could show you what that looks like as well. So, over here, we're doing a lot of the backlink outreach. And in this case, I'm using agent mail, which is one of the best tools using AI agents. And you can see I'm just sending the emails trying to get back links from a lot of these high domain authority websites.
And I can also use SEM Rush MCP in order to get a lot of that data as well. And we can also see over here a lot of my back links are not necessarily high quality. So I may want to actually go ahead and disavow some of these which we can do over here inside Hermes agent as well which I've been doing over here a little bit already.
And then you can just go ahead and upload those to Google Search Console to actually get them removed from the crawl reports. And that's going to improve your overall domain authority. And you can get access to all that data over here directly from within SEM Rush as well. If I just come down to domain overview and it will pull up all of that data for me over here. And you can see the number of citations, cited pages, all that stuff over here as well.
And you can also see the mentions per LOM as well. So ChatGPT 29.4% of the mentions are going to me. And in Gemini, it's about 35%, AI mode, 23%. So this is definitely looking good, but obviously could be even better. And if I wanted to fix up a lot of that stuff, I can also use the MCP to do that as well, simply by pulling in all of this AI visibility data. And we can also see the topic opportunities over here as well.
There's about 863,000 opportunities that I can pull in. And these are basically the prompts that I would want to rank for. So, if I wanted to pull in all this data, I could do so quickly and easily using SEM Rush. And you can even see all of the outputs over here as well. So if I were to type in YouTube and video streaming platforms, the response in ChatGPT, for example, would look something very, very similar to this.
And we can pull in all of that data directly from SEM Rush. So that's definitely something else that I would want to do. Go ahead and check the link in the description below. It is an affiliate link for Sem Rush, so I will just get a small commission and you will also save a little bit as well on your plan. I'd really appreciate it. And with that being said, thank you so much for watching this video tutorial.
If you have any questions or you would like to speak with me oneon-one, you can schedule a free consultation call on my website over here. There's a link in the description below where you can schedule that call. And then also go ahead and check out my free Skool community. It's called AI Income Lab. We've currently got almost 3,000 members inside here. I offer free plans as well as paid plans starting at $29 per month.
You can take a look around the classroom for all of the courses, tutorials, including my AI coaching program, which is high ticket for 6 weeks. Feel free to check it out and then also introduce yourself inside the community tab. We're getting new people joining every single day and my community helps you master AI income in 90 days or less. Thank you so much for watching this video. Please go ahead and subscribe to the channel if you haven't already.
And with that being said, take care, stay safe. Peace from Thailand signing off.



