DidYouSEODocs
← All docs

Reference

MCP tools

The 31 tools that your AI assistant can use through the DidYouSEO MCP server, what each one needs, and which ones use credits.

Connect the server at https://didyouseo.com/mcp from Claude, ChatGPT, Cursor, VS Code or another MCP client. For the steps, see the MCP server page, or paste the setup prompt into your assistant. Your assistant picks the tools itself. You ask in plain language.

Only the 3 keyword and backlink tools use AI credits (1 credit for each call). All other tools use no credits.

Audits and sites no credits

Needs: A signed-in DidYouSEO account.

run_seo_audit

Run a full 40+ point SEO audit on any URL and return the score plus the critical/warning issues and how to fix them. Runs synchronously and returns the result directly.

get_audit_result

Fetch a previous single-page audit by the audit_id that run_seo_audit returned: its status, URL, score, critical, warning and passed counts, and every check result. Only audits run from this account are found; any other id returns "Audit not found." It does not run a new audit - use run_seo_audit for fresh results.

list_sites

List the websites registered in the signed-in DidYouSEO account, oldest first, with each site's id, URL, label and date added. Use it to find the site_id that get_site_score and the Search Console and Analytics tools need. It returns no scores or traffic data.

register_site

Add a website to the signed-in DidYouSEO account so it can be tracked and audited, and return its id. The URL is reduced to its origin (https://example.com/blog becomes https://example.com); if that site is already in the account, the existing entry is returned and nothing is added. Fails when the plan's website limit is reached, with a message that says the limit. Adding a site does not start an audit.

get_site_score

Get the score from the latest completed full-site audit of a registered site: pages audited, total critical issues and warnings, completion date, and the 5 checks that fail on the most pages. Needs a site_id from list_sites. Fails with "No completed audit found for this site." when the site has never finished a full-site audit; it does not start one.

get_page_score

Get the most recent saved SEO score for one page URL in this account, with its critical and warning counts and audit date. It looks first at audits run with run_seo_audit, then at pages from full-site audits, and needs an exact URL match. Fails with "No audit found for this URL." when the page has no saved audit; use run_seo_audit to audit it now.

Google Search Console no credits

Needs: Search Console connected in DidYouSEO (Settings → Search Console).

get_search_console_keywords

Get real Google Search Console query performance for one of your connected sites - the search terms bringing clicks and impressions, with click-through rate and average position. Use min_position/max_position to find striking-distance queries (for example 10-30, page 2 and 3) and limit to keep the result small. For one page's queries use get_search_console_page_queries. Requires the site's Search Console to be connected to your DidYouSEO account.

get_search_console_pages

List a site's pages from Google Search Console with clicks, impressions, click-through rate and average position, sorted by clicks (or impressions). Page totals include searches Google hides from query rows, so they are closer to real traffic. Use it to find the pages Google already trusts, then call get_search_console_page_queries for one of them. Requires GSC connected.

get_search_console_page_queries

Get the Google Search Console queries one page appears for, with clicks, impressions, click-through rate and average position, plus the page's own totals (hidden searches included). Use min_position/max_position (for example 10-30) to find queries the page almost ranks for, then compare them with the page content to see what it doesn't answer yet. Requires GSC connected.

get_search_console_cannibalization

Find keyword cannibalization from real Search Console data: queries where two or more of your own pages compete, splitting rankings. Returns each conflict with the competing pages, severity, and why it was flagged. Requires GSC connected.

get_search_console_changes

Compare a site's Search Console performance for the last N days against the previous N days. Returns the biggest click losers (for spotting traffic drops and decaying pages) and gainers, with position changes. Requires GSC connected.

Google Analytics 4 no credits

Needs: Google Analytics connected in DidYouSEO, with a GA4 property chosen for the site.

get_ga4_organic_traffic

Get Google Analytics 4 data for one of your sites: organic search sessions, engagement rate, key events (conversions) and users for the last N days compared with the previous N days, the top organic landing pages, and visits referred by AI assistants (ChatGPT, Perplexity, Gemini, Claude, Copilot). Requires Google Analytics connected in DidYouSEO and a GA4 property chosen for the site.

Keywords and backlinks 1 credit per call

Needs: AI credits. Each call uses 1 credit; a failed lookup is refunded.

get_keyword_data

Get Google search volume (monthly, US by default), keyword difficulty (0-100), cost per click and search intent for 1 to 10 keywords. Costs 1 DidYouSEO AI credit per call, for all keywords together; a failed lookup is refunded.

get_keyword_ideas

Get up to 50 keyword ideas that contain a seed phrase, with search volume and keyword difficulty, sorted by volume. Use it to find low-difficulty keywords a new page can rank for. Costs 1 DidYouSEO AI credit per call; a failed lookup is refunded.

Saved reports no credits

Needs: A signed-in DidYouSEO account.

save_report

Save finished research as a report in the signed-in DidYouSEO account, so the user can open it later in the dashboard (Reports) and share it. Write the report in Markdown (headings, lists, tables, links; raw HTML is shown as text). Pass report_id to replace an existing report instead of making a new one. New reports are private; use set_report_sharing to make a public link. Free: uses no credits.

list_reports

List the reports saved in the signed-in DidYouSEO account with save_report, newest first: id, title, site, date, and whether a public link is on. Use it to find a report_id, or to read past research before starting new work on the same site. Free: uses no credits.

get_report

Read one saved report from the signed-in DidYouSEO account, including its full Markdown. Needs a report_id from list_reports or save_report. Free: uses no credits.

set_report_sharing

Turn the public link of a saved report on or off. With public: true, anyone with the returned share_url can read the report without an account (the page is not indexed by search engines). With public: false, the link stops working at once. Only do this when the user asks to share or unshare. Free: uses no credits.

IndexNow no credits

Needs: A registered site with the IndexNow key file on it (the tool gives you the file).

submit_to_indexnow

Tell Bing and the other IndexNow search engines (Yandex, Naver, Seznam) that pages on a registered site were added, changed or removed, so they crawl them sooner. Google does not use IndexNow. Free: uses no credits. Needs a site_id from list_sites and 1 to 100 full URLs on that site. The first time, the site needs a small key file: the tool then submits nothing and returns the file name and content to add to the site's root folder. Run it again after the file is live. URLs on other hosts are skipped and listed.

ChatGPT Ads no credits

Needs: A ChatGPT Ads Manager API key added in DidYouSEO. Read-only.

list_chatgpt_ad_accounts

List every ChatGPT Ads (OpenAI Ads) ad account connected to your DidYouSEO account, with the sites linked to each one and its spend, impressions, clicks, CTR, CPC and conversions for the last N days compared with the previous N days. Use this for an overview across all clients or ad accounts, then call get_chatgpt_ads_performance for one site. Read-only.

get_chatgpt_ads_performance

Get ChatGPT Ads (OpenAI Ads) results for one of your sites: spend, impressions, clicks, CTR, CPC, CPM and conversions for the last N days compared with the previous N days, the top campaigns by spend, and daily totals. If you leave out the website and only one ad account is connected, that account is used. Requires ChatGPT Ads connected in DidYouSEO. Read-only: it never changes campaigns.

query_chatgpt_ads

Flexible ChatGPT Ads (OpenAI Ads) report. Choose the level (ad_account, campaign, ad_group or ad), an optional breakdown (country, device, platform or product), time buckets (none, daily or monthly), the metrics (impressions, clicks, spend, ctr, cpc, cpm, conversions) and the date range. Rows include the level's details: campaign name, status, description, start and end time and budgets; ad group name, status and description; ad name, title, text (ad_copy), destination URL (ad_link), status and review status; account name, URL and budgets; plus country_name, device_type, platform or product fields for a breakdown, and readable_time for daily or monthly rows. Pick the ad account with website or ad_account_id (from list_chatgpt_ad_accounts). Conversions are not available with platform or product breakdowns or monthly rows. Read-only.

Page checks no credits

Needs: Any public URL.

run_pagespeed_insights

Run Google PageSpeed Insights on a URL. Returns the four Lighthouse scores (performance, accessibility, best practices, SEO), lab metrics, real-user Core Web Vitals from the Chrome UX Report (LCP, INP, CLS, FCP, TTFB at the 75th percentile, for the page or the whole site), and the biggest speed opportunities with estimated savings. Free, no account needed. Results are cached for an hour.

analyze_meta_tags

Extract and inspect all meta tags (title, description, robots, OG, etc.) for a URL.

check_robots_txt

Fetch and analyze a site's robots.txt and how it affects crawling.

validate_schema

Detect and validate the JSON-LD / structured data (schema.org) on a page.

serp_preview

Preview how a page's title and description would appear in Google search results.

check_core_web_vitals

Quick Core Web Vitals check for a URL on mobile and desktop: performance score, lab metrics (LCP, CLS, FCP, TBT, TTFB) and real-user field data when Google has it. For the full PageSpeed Insights report use run_pagespeed_insights.

check_open_graph

Inspect Open Graph / social-share tags for a URL.

check_hreflang

Inspect hreflang / international targeting tags for a URL.

What to do next

Save the work your assistant does as a saved report, tell Bing about new pages with IndexNow, or install the SEO skills so your assistant follows a fixed workflow.

Questions

Which DidYouSEO MCP tools use credits?

Only get_keyword_data, get_keyword_ideas and get_backlink_summary. Each call uses 1 AI credit, and DidYouSEO refunds a failed lookup. All other tools use no credits.

Do I need an account to use the MCP tools?

Yes. Every tool runs after you sign in to DidYouSEO from your assistant. A new account gets a 7-day free trial with every tool. After the trial, the tools need a paid plan.

Why can't my assistant read my Search Console data?

Connect Search Console in the DidYouSEO dashboard first, under Settings, Search Console. Sign in to the assistant with the same DidYouSEO account. You cannot connect Search Console from a chat.