seo-mcp
The seo-mcp server is a free, keyless SEO toolbox providing the following capabilities:
On-Page SEO Audit (
audit_page): Analyze any URL for title, meta description, canonical tags, robots directives, viewport, Open Graph/Twitter tags, heading structure, word count, image alt coverage, link counts, and structured data — producing a 0–100 score with a list of issues. Optionally includes PageSpeed metrics.Export Audit as PDF (
export_audit_pdf): Generate a professionally formatted PDF report of an SEO audit, including score badge, summary cards, severity-colored issue list, and optional PageSpeed metrics.Robots.txt Analysis (
check_robots): Fetch and parse a site's/robots.txtto reveal user-agent groups, allow/disallow rules, and declared sitemaps.Sitemap Discovery & Summary (
check_sitemap): Discover and summarize a sitemap (index vs. urlset), including URL count and a sample of URLs.Structured Data Extraction (
extract_schema): Extract JSON-LD structured data, listing all schema.org@types, microdata itemtypes, and any JSON-LD parse errors.Broken Link Detection (
find_broken_links): HEAD-check links on a page and report any returning 4xx/5xx status codes or that are unreachable.Keyword Ideas (
keyword_ideas): Generate related keyword/query suggestions for a seed term via Google Suggest (free, no search volume data).PageSpeed Insights (
pagespeed): Run Google PageSpeed Insights (Lighthouse) for a performance score, lab Core Web Vitals (LCP, CLS, TBT, FCP, Speed Index, TTI), real-user CrUX field data, and top improvement opportunities. Works keyless, but supports an optionalPAGESPEED_API_KEYfor higher quota.
Provides Google PageSpeed Insights data including performance score, Core Web Vitals, and optimization opportunities.
Click on "Install 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-mcpaudit https://example.com for SEO"
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-mcp
An SEO MCP server — a stdio Model Context Protocol server that gives an AI host a set of SEO tools. The MVP is 100% free and keyless: on-page/technical audits, robots.txt, sitemaps, structured data, broken-link checks, and keyword ideas.
Built on the same proven scaffold as chrome-mcp: SDK Server → StdioServerTransport, a flat tool registry, and a never-throw dispatch firewall.
Tools (all free, no API key)
Tool | What it does |
| Full on-page audit: title, meta description, canonical, robots, viewport, OG/Twitter, heading outline, word count, image alt coverage, link counts, structured-data presence → issues + 0–100 score. Pass |
| Fetch & parse |
| Discover & summarize a sitemap (index vs urlset, URL count, sample) |
| Pull JSON-LD structured data and list schema.org |
| HEAD-check links on a page; report 4xx/5xx/unreachable |
| Related queries for a seed term via Google Suggest (no volume) |
| Google PageSpeed Insights (Lighthouse): perf score, lab Core Web Vitals + real-user CrUX field data + top opportunities. Keyless (rate-limited); set |
Related MCP server: mcp-seo-auditor
Install & build
npm install
npm run build # → dist/src/cli.jsUse it as an MCP server
Add to your MCP host config (e.g. a project .mcp.json):
{
"mcpServers": {
"seo-mcp": {
"type": "stdio",
"command": "node",
"args": ["/Users/mehmoodqureshi/Work/seo-mcp/dist/src/cli.js"]
}
}
}If the package is installed (globally or via npx), use the published seo-mcp bin instead of a node + path — no build step or absolute path needed:
{
"mcpServers": {
"seo-mcp": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@mehmoodqureshi/seo-mcp"]
}
}
}Or, after npm install -g @mehmoodqureshi/seo-mcp, set "command": "seo-mcp" with no args.
Then ask things like "audit https://example.com for SEO" or "what does example.com's robots.txt block?".
Quick smoke test (no MCP host needed)
node -e "require('./dist/src/seo/audit').auditPage('https://example.com').then(r=>console.log(JSON.stringify(r,null,2)))"Develop
npm run typecheck # tsc --noEmit
npm run build # → dist/
npm test # node:test suite (no network — fetch is stubbed)CI (.github/workflows/ci.yml) runs typecheck → build → test on Node 20/22. Node 20+ is required (cheerio 1.x depends on undici, which needs the global File added in Node 20).
Performance & output size
Request caching — identical GETs are de-duplicated by a short-TTL cache with in-flight coalescing, so a
audit_page→export_audit_pdfpair (or a sitemap/robots.txt referenced during a crawl) hits the network once. Tune withSEO_MCP_CACHE_TTL_MS(milliseconds, default15000); set0to disable.Compact
audit_site— by default the site audit returns a slim, worst-first per-page table (score + issue counts) plus the aggregates, to keep the response small inside an MCP host's context. Passdetail: truefor the full per-page breakdown, or useexport_site_pdffor a formatted report.
PageSpeed (optional key)
The pagespeed tool works keyless but Google rate-limits anonymous requests. To raise the quota, grab a free PageSpeed Insights API key and set it in your MCP host config:
{
"mcpServers": {
"seo-mcp": {
"type": "stdio",
"command": "node",
"args": ["/Users/mehmoodqureshi/Work/seo-mcp/dist/src/cli.js"],
"env": { "PAGESPEED_API_KEY": "your-key-here" }
}
}
}Roadmap (needs a key — not in the free MVP)
serp_rank— real SERP position checks (drive a browser, or a paid SERP API)domain_authority— OpenPageRank (free key) for an authority scorebacklinks— real backlink profiles (paid: Ahrefs / SEMrush / DataForSEO)
License
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Mehmoodqureshi/seo-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server