Why connect Semrush to VS Code (GitHub Copilot)?
Copilot's agent mode can call MCP tools inside your workspace, so it can read live numbers while it edits code and docs. Connected through Lemonado, it reads your Semrush keywords, positions, competitors and backlinks, so it can find keyword gaps against competitors with today's numbers.
All your Semrush data
Organic keyword positions and changes, ready to ask about.
Always today's numbers
Competitor domains and their top keywords, synced from Semrush automatically, so answers use today's numbers.
Connect all your tools
Questions like "Are we paying for rankings we have?" use Semrush and Search Console, Ahrefs at once.
How to connect Semrush to VS Code (GitHub Copilot)
Before you start
- A Semrush account you can sign in to
- VS Code installed
- A Lemonado account (the free trial works)
- 1
Connect Semrush in Lemonado
In Lemonado, open Connectors, find Semrush and sign in. Use a Semrush account on a plan with API access, and add your domain and main competitors as projects.
- 2
Turn on external access
In the company's settings, open External tools, turn the connection on, choose which sources it can reach and copy the server URL.
texthttps://mcp.lemonado.io/mcp - 3
Add the server
With AI features on and a project open, run MCP: Add Server from the command palette. Choose HTTP, paste the server URL and name it lemonado.
texthttps://mcp.lemonado.io/mcp - 4
Choose where it lives
For your personal Copilot setup, choose Global → Copilot Global. That writes to ~/.copilot/mcp-config.json unless COPILOT_HOME says otherwise.
- 5
Trust and sign in
Accept the trust prompt and sign in to Lemonado. Turn the tools on under Chat: Open Customizations → Tools.
- 6
Ask VS Code (GitHub Copilot) about Semrush
Try "Update the table in docs/kpis.md with last month's Semrush numbers and add one line on what changed." Or ask: "Save the ranking data" or "Which pages compete with each other?"
Good to know
- The older .vscode/mcp.json format still works for the local harness, but VS Code now marks that destination as deprecated. It uses a servers key with type http and the same URL.
What can VS Code (GitHub Copilot) do with Semrush?
Copilot reads your Semrush data in agent mode and works the numbers into your code, docs and notebooks in the workspace you have open.
Update the table in docs/kpis.md with last month's Semrush numbers and add one line on what changed.
Updated docs/kpis.md with last month's numbers next to the month before, plus a line on the biggest change and its cause.
Source: Semrush + your code
Save our Semrush organic positions with keyword, volume, position and URL to data/semrush_positions.csv.
Saved 3,860 keywords. 290 sit at positions 4 to 10 with over 500 searches, the best list to work from.
Source: Semrush + your code
Find keywords where Semrush shows two of our URLs ranking, and list the two files in our repo for each.
9 keywords. Most are between the blog and the guides folder; the guides should own them and the blog posts link to them.
Source: Semrush + your code
For pages with Semrush keywords at positions 4 to 15, check the title tags in our code and list the ones missing the main keyword.
11 of 40 pages miss it. The camp stove guide ranks for "backpacking stove" but its title in guides/stoves.mdx never says it.
Source: Semrush + your code
Which keywords dropped out of the top 10 for us in the last 30 days, sorted by search volume?
14 keywords left the top 10. The biggest is "2 person tent" (18,100 searches), down from 4 to 12 after a competitor published a new buying guide.
Source: Semrush
Find keywords two of our competitors rank top 10 for where we don't rank in the top 50. Group them by topic.
212 gap keywords in 6 topics. The largest is tent care and repair: 38 keywords, about 41,000 searches a month, and we have no page on it.
Source: Semrush
Connect Semrush to another AI app.
Claude
Connect Semrush to Claude
ChatGPT
Connect Semrush to ChatGPT
Claude Code
Connect Semrush to Claude Code
Cursor
Connect Semrush to Cursor
Codex
Connect Semrush to Codex
Perplexity
Connect Semrush to Perplexity
Google Antigravity
Connect Semrush to Google Antigravity
Windsurf (Devin Desktop)
Connect Semrush to Windsurf (Devin Desktop)
Zed
Connect Semrush to Zed
n8n
Connect Semrush to n8n
Other integrations for VS Code (GitHub Copilot)
All VS Code (GitHub Copilot) integrations- Google Search Console in VS Code (GitHub Copilot)Ask Claude, ChatGPT or Cursor about your search queries, rankings and lost clicks.
- Google Analytics in VS Code (GitHub Copilot)Ask Claude, ChatGPT or Cursor about GA4 traffic, conversions and funnels, next to your ad spend.
- Google Ads in VS Code (GitHub Copilot)Ask Claude, ChatGPT or Cursor about your Google Ads campaigns, search terms and spend.
- Instagram organic in VS Code (GitHub Copilot)Ask Claude or ChatGPT which posts and reels grow your account, and which ones to turn into ads.
- Pinterest Ads in VS Code (GitHub Copilot)Ask Claude or ChatGPT which pins get saved, clicked and bought.
- Snapchat Ads in VS Code (GitHub Copilot)Ask Claude or ChatGPT which Snapchat ads get swipes and which ones sell.
Reading this as an AI agent?
Everything an agent needs to set this up, in plain text. Paste this page's link into VS Code and ask it to connect you, or copy the block.
# Connect Semrush to VS Code (Lemonado MCP) - Server URL: https://mcp.lemonado.io/mcp - Transport: Streamable HTTP - Auth: OAuth; the user signs in to Lemonado in the browser. No API keys. - In Lemonado: connect the Semrush account. Use a Semrush account on a plan with API access, and add your domain and main competitors as projects. - In VS Code: Command palette: MCP: Add Server ```text https://mcp.lemonado.io/mcp ``` First question to try: "Update the table in docs/kpis.md with last month's Semrush numbers and add one line on what changed." More: https://lemonado.io/integrations/semrush · https://lemonado.io/llms.txt
Frequently Asked Questions
Yes, through Lemonado. Connect your Semrush account in Lemonado, add Lemonado with MCP: Add Server in VS Code, and VS Code can find keyword gaps against competitors with your live data.
Yes. Semrush's official MCP server is hosted, so VS Code can use it too. It covers Semrush only. Lemonado covers Semrush plus your ad platforms, GA4 and the rest of your stack in one connection, so VS Code can answer questions across them.
Run MCP: List Servers from the command palette. If lemonado isn't running, start it there, accept the trust prompt and sign in. In Lemonado, check that Semrush is connected and External tools is on for the company. If answers stop halfway, check your Semrush API units. Every request uses some, and Semrush stops answering when they run out.
Yes, if both are connected in Lemonado. One connection reaches every source you allow, so you can ask things like "Google Ads keywords with spend last month next to our Semrush position for the same keyword."
MCP is included in Lemonado's paid plans and in the free trial, so you can try it before you pay.
Still have a question?
Shoot us an email at hello@lemonado.io.
Try for freeStop fighting with data. Start feeding your AI.
Connect your data to AI and free your team from reporting and busywork.
Try Lemonado free