Back to top

    How to use MCP Servers to speed up SEO research

    Learn what it is, how to install and configure MCP servers from SEO tools. Discover multiple use cases to fast-track manual SEO work at scale.

    Model Context Protocol, or MCP, is an open standard for connecting AI assistants to external data sources and tools. It was created by Anthropic (the company behind Claude) in November 2024.

    MCP defines a common way for applications to expose tools and data to AI Models. In the SEO context, it means you can connect your favorite SEO tool directly to LLMs such as Claude or ChatGPT and ask questions that use your selected tools as a source for the answer. 

    Put another way, if you know what an API is, imagine you’re calling an API from your LLM. MCP acts as a middleman between the LLM and your tool of choice. This connection is handy because you’re getting trusted data fed through an LLM. 

    Remember a while back when some marketers started doing keyword research on ChatGPT and it would hallucinate search volume? Now you can do your keyword research using the same tools, but instead get the same numbers you see on Semrush or other SEO tools.

    Be the brand AI recommends.

    See where your brand appears in AI search, where competitors are winning, and what it takes to become the answer AI recommends.

    See your AI visibility

    Why use an LLM locally in your machine instead of regular UI

    This guide walks through steps to install MCP servers on ChatGPT, but will mostly focus on Claude, which comes in two versions:

    1. Claude: Use the regular UI that you download or use on the web. Best for conversation, writing, and one-off questions.
    2. Claude Code: Install on your terminal (Mac or Windows). Best for agentic workflows, write code, and multi-step tasks. (Most examples in this guide are better done in Claude Code, but technically possible in Claude as well if done on a smaller scale.)

    For MCP server use cases, it’s strongly recommended to use Claude Code. Here’s why:

    ActionClaude (chat / claude.ai)Claude Code
    File handlingUpload files for analysis; can’t directly edit your local filesReads and writes files directly on your device. You can create an automation that’s saved on your desktop daily.
    MCP/integrationsRuns on the CloudMCP servers run locally. Some domains block bot visits, but if you can crawl a website locally (e.g., using Screaming Frog), you won’t have this issue.
    Git/dev toolsNo direct git or terminal accessNative git, runs commands, manages branches/commits. Writes code for you and saves it on your computer, even if you know nothing about code.
    Task complexityGreat for single tasks; long workflows can lose the threadStays on multi-step tasks and works through them. Multiple requests are done at the same time.
    AutomationManual, turn-by-turnScriptable; can run unattended/overnight (CLI version). If your computer is on, the task will get done automatically. If not, it’ll run as soon as you turn it on.

    How to install Claude Code

    Installing Claude Code is very easy and only takes about 30 seconds.

    On Mac, open your Terminal (CMD + Space Bar) and paste: cu​rl -fsSL https://claude.ai/install.sh | bash

    On Windows, click on the Windows menu and search for “Windows PowerShell.” Then type irm https://claude.ai/install.ps1 | iex.

    There are more ways to install it, which you can follow directly on Claude’s Quickstart Guide.

    How to connect Claude or Claude Code to your MCP Server

    Connecting your Claude or Claude Code account to an MCP is simple. If you’re using the Desktop interface, apps appear under Settings > Customize > Connectors. Multiple major SEO tools have extensions like this one.

    The process is also simple for Claude Code. You could try something simple like “add [SEO Tool] MCP server on my Claude” and let the LLM do the job for you, or be more specific by following each tool’s instructions.

    Major SEO tools have their MCP servers available on multiple LLMs, such as ChatGPT, Gemini, Cursor, VS Code, and Perplexity. Not all tools are available in every platform, so make sure to verify if they offer an official extension.

    Example: How to connect Semrush and Claude Code 

    To add the Semrush MCP endpoint to your Claude Code settings, add a remote HTTP server by running the following command in the terminal:

    claude mcp add semrush https://mcp.semrush.com/v1/mcp -t http

    Next: 

    Open Claude Code and run the /mcp command

    • Select “Semrush MCP” from the list of MCP integrations
    • Select “Authenticate”

    The OAuth 2.1 authentication process will automatically redirect you to the Semrush login page. For more details, refer to the official Claude MCP documentation.

    Use case 1: Organize query by group beyond keyword patterns

    Right when LLMs started rising in popularity, there were discussions in the SEO community about doing keyword research using LLMs. At that time, search volume numbers were hallucinated and you couldn’t trust them at all.

    Now, however, the game has changed with the use of MCPs. Many of the most popular keyword research tools loved by SEOs have their own MCP servers, which means you can expect to see, for example, the same numbers whether you’re on Semrush’s interface or using their MCP server.

    The magic happens when you slice the data in more meaningful ways. For instance,  keyword research not long ago using a combination of keywords like “high paying [family] jobs in [location]” involved opening Semrush and selecting every relevant keyword manually, but it was a time-consuming process.

    Now, using an MCP, it’s possible to feed some examples and find exactly what you need:

    ActionExample
    Combine keyword variations“top paying jobs,” “highest paying jobs,” “well paid jobs”
    Combine keywords in groupsKeywords variations, such as “nurse,” “nursing,” “travel nurse,” or “nursing field”
    Filter only keywords mentioning a cityFor this specific project, I needed keywords that mention a city to have a general idea of demand per area

    Sure, this type of keyword research is technically possible to do manually, but AI is your friend here. What could easily be a whole day of research a few years back has now turned into a 30-minute task.

    The end result is that you don’t have a large keyword list, but one list with a job family (marketing, sales, retail) and a total combined search volume.

    How to write your prompt

    Writing a keyword research prompt is easy. You just need to give examples of the type of output you’d like to see (keywords, format) and mention which MCP you’d like to use (in case you have multiple MCPs installed). 

    Below is an example for reference, but similar results can be achieved if you describe a prompt in your own words.



    Use case 2: Combine MCPs with Claude Skills to automatically create reports

    Skills are folders of instructions, scripts, and resources that teach Claude how to do a specific task. These skills are saved on a SKILL.md file describing when to use it and how to proceed, often bundled with helper scripts (Python, etc.) and reference files. Once you ask for a specific skill, it knows exactly what to do.

    There are great guides on how to build an AI skill, so we won’t cover the process step by step in this guide. Instead, we’ll give you an example.

    We created a brand SEO audit that checks:

    • Number of branded vs. non-branded keywords 
    • Total search volume of branded terms
    • Live check of brand-related SERP features
    • The Google Knowledge Graph confidence score

    In this case, we combined multiple tools, including Google Knowledge Graph API. The API is free, but you should ask Claude Code the steps to store your API safely in your local machine.

    After your skill is ready, you’ll be able to call it by invoking the skill and listing the domains you’d like to track. All the tools and instructions are stored. 

    Depending on the size of the domains, it’ll take a few minutes to call the skill. For reference, the prompt below took around 10 minutes to return an answer and generate the local page.



    Use case 3: Use historical data to create unique data visualization 

    You can also utilize data to create reports that you couldn’t before. 

    For instance, how many clicks are AI Overviews taking away from your company or client? We can’t exactly measure this number, but we can see how often they appear in your keywords or in your total search volume.

    Of course, you need to take all data with a pinch of salt. This result is as accurate as your SEO tool, and it’s not considering users who replaced Google Search in favor of other AI services.

    The above report could be done by a specific set of keywords, pages, or even competitors — or everything combined. With time, your prompts will get better. 

    Initially, we got some of the data we expected, but a lot of extra information as well — we didn’t ask for “top 3 keywords by traffic share” or “total organic keywords,” but still spent API units on it.

    How to write your prompt

    We split this request into two prompts. You may be able to do it all at once, but we wanted to test the results in each one first. 

    First prompt:



    Then, to replace the keyword count with the sum of search volume:



    Use case 4: SERP scraping

    Another great use case for MCPs is SERP scraping. 

    Do you need to find which pages are ranking on page one or which ones are sources for an AI Overview? You can always do this manually by changing your location setting on Chrome or by using Semrush’s Free SERP Checker, but this process isn’t scalable if you need to do it for multiple locations.

    Speed up the process using MCPs. Connect to a tool such as DataForSEO, which has a low cost and will do fresh scrapes for any location. 

    To combine the power of multiple MCPs, you could start a keyword research project using Semrush, then use DataForSEO to get live data only for the keywords that matter most.

    You also have an option to compare SERP features for different countries. Doing this manually for two countries is more reasonable (only two locations) when compared to cities (dozens of locations). However, to stay on the safer side and do a more clean comparison, you may still use the same methodology.

    For example, comparing the US and UK versions of a SERP module such as “popular products” is very simple — it’ll give you a comparison of prices, reviews, vendors, and condition.

    How to write your prompt

    Since this use case involves a prompt chain, you’ll take multiple steps to find your ideal output. It may start like this one:



    Once the keywords are in place, you can continue your scraping by writing something like:



    For the “popular products” prompt, here’s an example that’s a simple description of your request. Mention which MCP you want to use, the query, the location, and what you need to scrape.



    MCPs are powerful, but not always necessary

    There’s a lot you can do with MCP Servers and skills; they’re a game changer to do SEO tasks at scale. However, you should get used to API and token costs and evaluate when MCPs are necessary to avoid taking a Ferrari to a marathon.

    Each company charges the API costs for their MCPs differently. Some offer them as part of existing subscriptions, while others charge credits separately as an add-on. In a few cases, like the Google Knowledge Graph, they offer a lot of API usage for free. 

    Understand that costs can add up, and LLMs sometimes overthink tasks that could be done with a script on Google Colab or a local Python environment. To avoid unnecessary spending, try using AI to describe your problem and ask if MCPs are the most effective way to achieve your goals.

    If AI can’t find you, customers won’t either.

    Track your visibility across AI search, uncover missed opportunities, and grow your presence where customers are asking questions.

    See your AI visibility

    Overall, MCPs open a new universe of possibilities. There are plenty of unique use cases to explore for core SEO activities and adjacent use cases, so MCPs are well worth exploring in cross-functional efforts for marketing, UX, SEO, and development teams. 

    Investigate which ones are already available in your company and use your curiosity to improve your workflows.


    Search Engine Land is owned by Semrush. We remain committed to providing high-quality coverage of marketing topics. Unless otherwise noted, this page’s content was written by either an employee or a paid contractor of Semrush Inc.

    About the Author

    Gus Pelogia
    Gus Pelogia is a journalist turned SEO, currently a Senior SEO Product Manager at Indeed, the #1 job site in the world. He’s spoken at events such as BrightonSEO, Semrush Spotlight, LondonSEOXL, Tech SEO Summit and many more conferences across Europe. Gus is also a contributor to Moz, Wix and other well-known industry blogs.

    Working in cross-functional teams next to editors, UX, engineers, data scientists and product managers, he aims to make SEO accessible and easy to understand. His work is focused on discovery, SEO A/B testing, AI uses to improve SEO results and build new features and products from scratch.

    He’s Brazilian-born but started his SEO career abroad since 2012, working in-house and for agencies in Argentina, the Netherlands, and finally Ireland, where he's been based since 2016.

    A frequent guest on SEO podcasts, Gus has been invited to talk about SEO & Product in shows, such as Crawling Mondays, The SEO Sprint, Voices of Search and many others. You can also find his articles on guspelogia.com.

    From link building to migrations, local and enterprise, Gus has done a bit of everything in SEO. Prior to his marketing career, he worked for some of the largest media outlets in Brazil. One of his most successful ventures was a blog on MTV, and his book Diário de Palco, where he profiled ten people involved in the independent rock scene in Brazil.