SEO Optimizer MCP Server
Provides organic search results retrieval via DuckDuckGo as a fallback when SerpAPI key is not set.
Provides PageSpeed Insights analysis for web pages, including Core Web Vitals and optimization opportunities.
Provides Lighthouse performance audit data as part of PageSpeed analysis.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@SEO Optimizer MCP Server run a full SEO analysis on https://example.com"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
SEO Optimizer — MCP Server
An MCP server that exposes a multi-agent SEO
analysis toolkit to your own Claude client (Claude Code, Claude Desktop,
Cursor, …): 12 specialist agents as prompts plus crawl/data tools
(fetch_page, pagespeed, serp).
The reasoning runs on your own Claude (your subscription / login). You invoke
a prompt, your Claude performs the analysis using these tools. No
ANTHROPIC_API_KEY for the server, no central billing, no per-URL cost.
Ships as a single self-contained bundle (
dist/index.js) — the only runtime dependencies are@modelcontextprotocol/sdk,zod, andcheerio.
What it provides
Tools (deterministic, no LLM):
Tool | Purpose |
| Fetch a URL → cleaned, readable HTML |
| PageSpeed/Lighthouse summary (Core Web Vitals + opportunities) |
| Organic search results — SerpAPI if |
Prompts — technical-auditor, page-speed, meta-optimizer,
internal-link, semantic-content, cannibalization, competitor-gap,
ai-visibility, company-intelligence, feedback-analyzer, geo,
blog-writer, and seo-full-analysis (gathers evidence once, runs all 11
analysis lenses, then outputs a prioritized report).
Related MCP server: SEO Content Analysis MCP
Install
Requires Node.js 18+. Pick whichever you prefer — both are one command, no clone, no file paths:
# From npm (after the package is published)
npx -y seo-optimizer-mcp
# …or straight from GitHub, no npm publish needed
npx -y github:emirhanyenici/SEO-Optimizer-MCP
npxinstalls the three deps on first run and caches them.
Claude Code
claude mcp add seo-optimizer -s user -- npx -y seo-optimizer-mcp
# or: ... -- npx -y github:emirhanyenici/SEO-Optimizer-MCP-s usermakes it available in all your projects (use-s localfor just the current one, or-s projectto write a shared.mcp.json).Add optional keys with
-e SerpAPI_KEY=… -e GOOGLE_PAGESPEED_API_KEY=….Verify with
claude mcp list, or/mcpinside a session. The prompts appear as slash commands like/mcp__seo-optimizer__seo-full-analysis; the tools are available automatically.
Claude Desktop
Edit claude_desktop_config.json
(Windows %APPDATA%\Claude\…, macOS ~/Library/Application Support/Claude/…):
{
"mcpServers": {
"seo-optimizer": {
"command": "npx",
"args": ["-y", "seo-optimizer-mcp"],
"env": { "SerpAPI_KEY": "optional", "GOOGLE_PAGESPEED_API_KEY": "optional" }
}
}
}Cursor
Add to .cursor/mcp.json (or global ~/.cursor/mcp.json):
{
"mcpServers": {
"seo-optimizer": { "command": "npx", "args": ["-y", "seo-optimizer-mcp"] }
}
}Environment variables (both optional)
Var | Used by | Notes |
|
| With it: SerpAPI (richer, location-aware). Without it: automatic DuckDuckGo fallback. |
|
| Works without a key (public quota); a key raises the rate limit. |
The server runs and every tool works with no env at all.
Usage
In your Claude client, pick a prompt — e.g. Full SEO Analysis — and pass
url (required), keyword and competitorUrls (optional). Your Claude runs the
analysis and returns an overall score + a prioritized action table + per-lens
findings. All inference is billed to your account. For a single lens, invoke
that specialist's prompt instead (e.g. page-speed); for an SEO article, invoke
blog-writer.
Maintainers — building & releasing
The TypeScript source lives in the main SEO Optimizer project (it reuses that project's agent prompts and helpers). To cut a new release of this distributable:
# in the main project's mcp/ folder
npm run build # esbuild → dist/index.js (self-contained)Then publish/push the bundle:
npm publish # to npm → users get `npx -y seo-optimizer-mcp`
# and/or push dist + package.json + README to the public repo for `npx github:…`Available Tools
3 toolsfetch_pageFetch page HTMLA
Fetch a URL and return cleaned, readable HTML (scripts/styles/attributes stripped). Use for the target page, competitor pages, robots.txt, sitemap.xml, etc.
Inputs: url (required).
pagespeedPageSpeed InsightsB
Google PageSpeed Insights / Lighthouse summary: Core Web Vitals (LCP, CLS, INP, TTFB, FCP) plus the biggest performance opportunities.
Inputs: url (required), strategy.
serpSearch results (SERP)A
Organic search results for a keyword (top ranking URLs, titles, descriptions, positions). Uses SerpAPI if SerpAPI_KEY is set, otherwise falls back to a key-less DuckDuckGo lookup. The "source" field in the output says which was used.
Inputs: keyword (required), location, numResults.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool has a clear, non-overlapping purpose: fetch_page retrieves HTML, pagespeed provides performance metrics, and serp fetches search results. No ambiguity.
Names mostly follow verb_noun (fetch_page) but pagespeed is a proper noun and serp is an acronym, causing slight inconsistency. However, they are still readable.
3 tools is reasonable for a focused SEO server, covering core functionalities without being overly minimal or excessive.
Covers essential SEO tasks (page fetch, performance, rankings) but lacks tools for backlinks, keyword suggestions, or site audits, leaving notable gaps.
Maintenance
Related MCP Connectors
Live SEO workflow tools for Claude Code, Codex, and AI agents.
SEO research, Search Console, GA4 and PPC tools for Claude and ChatGPT.
SEO & marketing toolkit for AI agents: GA4, Search Console, AdSense, GTM, PageSpeed, Trends.
Live SEO intelligence, rank tracking, site audits, and backlink analysis for AI agents.
Related MCP Servers
- AlicenseAqualityDmaintenanceProvides AI agents with professional-grade SEO capabilities including on-page analysis, technical audits, PageSpeed insights, and Ahrefs data integration.1367 npm30 PyPI5MIT
- AlicenseNot gradedqualityBmaintenanceEnables Claude to perform full SEO audits on unpublished HTML, Markdown, or Word documents, including keyword analysis, meta tag suggestions, readability scoring, and heading structure validation.13 npmMIT
- AlicenseAqualityBmaintenanceLets you ask Claude questions about your Google Search Console data and get real analysis, not raw API rows. Provides 20 tools for analysis, indexing, and safety.292,162 npm186Apache 2.0
- AlicenseNot gradedqualityBmaintenanceConnects AI agents to live SEO data and hosted tools for site audits, keyword research, competitor analysis, local SEO, and link prospecting, with guided workflows for structured search optimization.2MIT