ContextBolt SEO Free for 7 days. Keywords, SERPs, backlinks and AI visibility, inside Claude. SEO data inside Claude. Start free trial
Guide · SEO Inside VS Code

SEO Inside VS Code: Live Search Data in Copilot

You are in VS Code with Copilot Chat open in Agent mode, shipping a feature. Copilot just scaffolded a marketing page, you are writing the H1 to sit on top of it, and the doubt lands. Is anyone actually searching for the phrase you just typed, or are you optimizing a page for a keyword nobody uses? The old reflex was to break flow, open a browser, log into a $129 dashboard, run one lookup, and lose your place on the way back.

There is a cleaner move now. VS Code’s Model Context Protocol support went generally available in 2025, so Copilot can call external tools mid-chat the same way it already reaches GitHub or your database. Point it at a live SEO data source and you ask that keyword question right in the chat panel, get a real volume and difficulty number back in seconds, and stay in the file you were already editing.

This guide covers how to wire SEO data into VS Code, the two settings that trip everyone up, what you can actually ask once it is connected, and whether the trade is worth it. We write our own copy and run this workflow every day, so this is how it actually goes, not a spec sheet.

Quick answer
  • Yes, you can do SEO inside VS Code. Copilot Chat speaks MCP, so a connected SEO server returns live data right in the editor.
  • Setup is one server block. Add it under servers in .vscode/mcp.json or your user config, complete the browser sign-in, then switch Copilot to Agent mode.
  • Two VS Code quirks: the root key is servers, not mcpServers, and MCP tools only run in Agent mode. Those two account for almost every “it does not work”.
  • You ask in plain language. Keyword volume, difficulty, SERP results, domain and competitor data, and whether ChatGPT and Google AI answers name you.
  • ContextBolt SEO is the server in that block. Hosted, so there is nothing to install and no key to rotate, and every answer saves itself to your SEO Board. Ahrefs-grade data, decision-useful and directional. Free for 7 days, then $35 a month.

Why do SEO inside VS Code

The pitch is not that VS Code is secretly an SEO tool. It is that the cost of asking an SEO question should be close to zero, and for most builders it still is not.

Most people who do their own SEO use a sliver of what a dashboard offers, and only now and then. You want to know if a keyword is winnable before you write the page. You want a quick read on a rival’s traffic. You want to check that the headline you just wrote matches how people actually search. None of that needs a forty-tab research session. It needs one number, fast, without leaving what you are doing.

The Model Context Protocol, or MCP, is what makes the shortcut possible. It is an open standard, introduced by Anthropic in late 2024, that lets AI agents call outside tools and data through one common interface. In VS Code the client is GitHub Copilot Chat, and once you connect an SEO server it can call those tools mid-conversation, the same way it already reaches your file system or a database. SEO data becomes just another source Copilot can pull from.

The payoff is flow. When the answer to “is this keyword soft enough to rank” lives in the same window as your code and copy, you ask it. When it lives behind a login two tabs away, you guess instead, and guessing is how pages end up optimized for phrases nobody types. If you want the longer argument for why asking the agent beats opening the dashboard, the SEO MCP server explainer lays out the full case.

How do you connect SEO data to VS Code?

There are two config files, and both take a couple of minutes. Workspace config lives at .vscode/mcp.json and is good for servers you want to commit for a team. User config syncs across your machines via Settings Sync, which is useful for your own server list. Open the Command Palette and run MCP: Open User Configuration or MCP: Open Workspace Folder Configuration to jump straight to either file.

Here is the whole entry for a hosted server like ContextBolt SEO, which hands you one URL on signup.

{
  "servers": {
    "contextbolt-seo": {
      "type": "http",
      "url": "https://seo.contextbolt.app/mcp"
    }
  }
}

Two details are worth tattooing on the back of your hand, because they are the reason a fresh server so often “does not work” in VS Code.

First, the root key is servers, not mcpServers. Most other clients, Cursor, Windsurf, Claude Desktop, use mcpServers, so if you paste a working block out of one of their guides, VS Code silently loads nothing. VS Code also requires an explicit type field on every server, where the others infer it. Set "type": "http" for a remote server like this one.

Second, MCP tools only run in Agent mode. Open Copilot Chat, click the mode dropdown in the chat box, and switch from Ask to Agent. In Ask mode the tools simply never fire, and this is the single most common reason people think the server is broken when the config is fine. For the record, the field names genuinely differ across clients too. VS Code uses servers, Cursor and Codex use url under mcpServers, Windsurf and Antigravity want serverUrl, Gemini CLI wants httpUrl. Same server, different wrapper.

Start the server from VS Code’s MCP controls and complete its browser authentication prompt. Sign in with your ContextBolt SEO account email, enter the email code, and choose Allow connection. Once signed in and in Agent mode, ask Copilot “what SEO tools do you have?”. The shared URL is safe to keep in a workspace file; each user signs in separately. A personal compatibility URL contains a secret and must stay private. If MCP itself is new to you, What Is MCP? is the short primer.

What can you actually ask once it’s connected?

This is where it stops being a config exercise and starts earning its keep. You type a question, Copilot picks the tool, the data comes back in the chat. A few of the prompts I lean on most.

  • Keyword reality checks: “What keywords should my new product page target?” Copilot calls keyword research and returns related terms with volume, difficulty, and intent, so you plan the page while you build it.
  • Difficulty and SERP in one shot: “How hard is ‘ai code review’ to rank for, and who’s in the top 10?” It chains a difficulty score and the live page-one results, so you see both the bar and the field before you commit.
  • Domain teardowns: “What does supabase.com rank for, and who else competes?” Copilot runs the ranked-keywords lookup, then competitor keywords, and hands back a content map plus the rivals chasing the same terms.
  • Backlink gap mining: “Who links to my main competitor but not to me?” You get a spam-scored prospect list, a ready-made outreach shortlist. Backlink lookups cost more, so you run them on purpose.
  • Winnability triage: “Of these five keywords, which can a new domain realistically rank for?” One prompt, a ranked answer, no spreadsheet.
  • On-page audits: “Audit my site and list the worst pages first.” You get a graded fix-list, and because Copilot edits files in Agent mode, you can say fix the top three and re-audit without leaving the workspace.

The thread through all of these is plain language. You are not learning a menu or remembering which report lives where. You ask the way you would ask a colleague, and Copilot translates it into the right lookup, then chains the next one when the question needs two. “Find five low-difficulty keywords for my features page, check who ranks for each, and note the gaps” is one sentence that fires several tools and files the whole session on your board.

Where ContextBolt SEO fits

ContextBolt SEO is the one we make, and it exists for exactly this workflow. It is a hosted MCP server that wraps Ahrefs-grade data behind a single URL. You paste that URL into your VS Code config as one http server, and Copilot has the SEO tools to reach for. The research tools, keyword research, keyword difficulty, SERP overview, domain overview, ranked keywords, and competitor keywords, cost one credit each. The backlink tools, backlink overview, referring domains, and competitor gap, cost three. It runs $35 a month for 1,000 credits, roughly a quarter of the entry price of the big suites, with no account to provision and no deposit to fund. You subscribe, you get a URL, you work. The free Google Search Console tools and the automatic memory never touch your credit budget.

Two things make it fit VS Code specifically rather than just any MCP client. First, every tool returns a digested answer with a verdict line, not a wall of raw JSON, so the chat panel stays readable while you code. Second, every lookup also lands on your SEO Board, one card per keyword or domain, so the research is there to compare next month rather than scrolling out of the chat panel. Ask about the same keyword a week later and the answer leads with what changed since you last looked, no extra prompt needed. Keep the server in your user config so it follows you across machines via Settings Sync, and the full tool guide walks through every lookup.

There is one more move that only works because this runs inside a coding agent. Say “audit my site” and ContextBolt SEO grades the mechanical health of your pages against a strict ruleset, title and meta lengths, a single H1, thin content, broken links, canonical tags, then hands back its own 0-100 score with the fix-list worst first. Because Copilot edits the files it just checked, you say “fix the top three” and it rewrites the pages in the same session, then re-audits and leads with the delta, health 80 to 91. Ahrefs reports the problems. ContextBolt hands them to the thing that can fix them. Find it, then fix it.

The honest framing the product holds to applies here too. This is Ahrefs-grade data, not the same numbers as Ahrefs. It sits on DataForSEO estimates, which are decision-useful and directionally accurate, the same class of data inside many dashboards you already trust. For deciding what to build and what to write, that is more than enough.

Is it worth it?

Doing SEO inside VS Code covers the research and the fixes. It does not cover everything a suite does, so here is the scope, said once. Scheduled rank tracking is a different job. Checks here run when you ask, and the Search Console connection takes a daily snapshot of your own clicks and positions. Your research collects on your SEO Board, a dashboard that fills itself, rather than in a keyword explorer you click around in, so if you think in charts the chat panel will feel bare at first. There is also a VS Code-specific catch worth naming. Copilot tool calls need an active GitHub Copilot subscription, even on the free tier, and they only run in Agent mode, so this is not a workaround for having no Copilot at all. And Copilot can be confidently wrong about strategy even when the underlying numbers are right, so treat its SEO advice the way you treat its code, fast, useful, and in need of a human read before it ships.

There is a usage shape to respect too. A metered server has a monthly credit budget, so you spend it on real questions, not idle curiosity. In practice that is a feature, because it nudges you toward the lookups that actually move a decision. But it is worth knowing going in.

What you get back is the thing that matters most when you build solo and time is the scarce resource. The answer arrives where you already are, in the seconds you would otherwise burn on a context switch, at a price that does not make you wince. For most builders doing their own SEO, that trade is an easy yes. The keyword you were nervous about might be wide open. Start the 7-day trial, add the server block, and find out without ever leaving VS Code.

SEO Inside VS Code: FAQs

Can you do SEO in VS Code?
Yes. VS Code's MCP support went generally available in v1.102 (July 2025), so GitHub Copilot Chat can connect a live SEO data source and return keyword volumes, difficulty scores, SERP results, and competitor data in plain language. The answers come back in the chat panel, next to the code you are shipping, with no separate dashboard to open. The one requirement is that MCP tools only run in Agent mode, not Ask mode.
How do you add an MCP server to VS Code?
Add it under the servers key in .vscode/mcp.json for a project, or in your user config to sync it across machines. Open the Command Palette and run MCP: Open User Configuration or MCP: Open Workspace Folder Configuration to jump straight to the file. Each server needs an explicit type field (http for a remote server like ContextBolt SEO) and a url. Start the server and complete its browser sign-in with your SEO account email and email code. Then switch Copilot Chat to Agent mode.
Why aren't the SEO tools showing up in VS Code?
Two usual causes. First, you are in Ask mode. MCP tools only fire in Agent mode, so switch the dropdown in Copilot Chat. Second, you used mcpServers as the root key. VS Code uses plain servers, unlike Cursor, Windsurf, and Claude Desktop, and a copied config with the wrong key loads nothing. Check the mode, then the key.
Where does the SEO research get saved?
To your ContextBolt account, and it shows on your SEO Board, a private page that fills itself as you work. It is one URL, so the research is there from any machine and any client. Saving is free and never spends your monthly credits.