SEO-IntentRank
# SEO-IntentRank MCP Server (`seo-intentrank`)
<p align="center">
<a href="https://aibuildinfra.com/"><img src="https://img.shields.io/badge/Official%20Website-aibuildinfra.com-000000.svg?style=for-the-badge&logo=googlechrome" alt="AI Build Infra Website"></a>
<a href="https://aibuildinfra.com/"><img src="https://img.shields.io/badge/Maintained%20By-AI%20Build%20Infra-blue.svg?style=for-the-badge" alt="Maintained by AI Build Infra"></a>
<a href="https://modelcontextprotocol.io/"><img src="https://img.shields.io/badge/Protocol-MCP%20v1.6-2563EB.svg?style=for-the-badge" alt="Model Context Protocol"></a>
<a href="https://m8ven.ai/mcp/ai-buildinfra-seo-intentrank-ouv7e2"><img src="https://m8ven.ai/badge/mcp/ai-buildinfra-seo-intentrank-ouv7e2" alt="M8ven Score"></a>
<a href="https://github.com/AI-BuildInfra/SEO-intentrank/actions/workflows/ci.yml"><img src="https://github.com/AI-BuildInfra/SEO-intentrank/actions/workflows/ci.yml/badge.svg" alt="CI Status"></a>
<a href="https://www.npmjs.com/package/seo-intentrank"><img src="https://img.shields.io/npm/v/seo-intentrank.svg?style=flat-square" alt="NPM Version"></a>
<a href="https://github.com/AI-BuildInfra/SEO-intentrank/blob/main/LICENSE"><img src="https://img.shields.io/npm/l/seo-intentrank.svg?style=flat-square" alt="MIT License"></a>
</p>
> **Official Model Context Protocol (MCP) Server for SEO-IntentRank: Human Search Intent Keywords, Technical SEO Audits, Google Lighthouse Core Web Vitals (CLS/LCP/INP), and On-Page Diagnostic Intelligence.**
Developed, maintained, and published by **[AI Build Infra](https://aibuildinfra.com/)** β High-Performance Infrastructure for Artificial Intelligence & Search Engine Optimization.
---
## π Overview
**SEO-IntentRank** is an enterprise-grade SEO diagnostic MCP Server created by **[AI Build Infra](https://aibuildinfra.com/)** to equip AI assistants (ChatGPT, Claude Desktop, Google Antigravity, Cursor, and Perplexity) with live web diagnostics.
It bridges the gap between raw technical crawl data and real human search behavior, delivering deep on-page audits, direct Google Lighthouse Core Web Vitals (including exact Cumulative Layout Shift / CLS scores), and semantic **Human Search Intent Keyword extraction**.
### Core Capabilities:
1. **π― Human Intent Keyword Engine**: Categorizes page search intent into **Informational**, **Commercial Investigation**, **Transactional**, and **Navigational**; synthesizes high-converting natural human search queries; mines answered questions; and flags AI slop clichΓ©s and keyword stuffing.
2. **π On-Page SEO Inspection**: Scans `<title>` (character length & ~580px pixel width estimates), `<meta name="description">` (CTA detection), `<meta name="robots">`, Open Graph tags (`og:*`), Twitter Cards (`twitter:*`), and Canonical URL verification.
3. **π Media & Image Alt Audit**: Detects missing `alt` attributes, decorative images (`alt=""`), and **missing `width`/`height` attributes that cause Cumulative Layout Shift (CLS)**.
4. **β‘ Lighthouse Core Web Vitals**: Fetches exact numeric scores directly from Google Lighthouse / PageSpeed Insights for:
- **Cumulative Layout Shift (CLS)** with threshold analysis ($\le 0.1$ Good) and shift element culprit identification.
- **Largest Contentful Paint (LCP)**, **Interaction to Next Paint (INP)**, **First Contentful Paint (FCP)**, and **Time to First Byte (TTFB)**.
- Fallback to local DOM-based layout shift heuristics when auditing raw HTML offline.
5. **ποΈ Technical SEO Hierarchy**: Checks single `<h1>` enforcement, non-sequential heading level skips (e.g. H1 → H3), Schema.org JSON-LD structured data validation, `robots.txt` disallows, `sitemap.xml`, and text-to-HTML ratios.
---
## π‘ How SEO-IntentRank Works in AI Assistants (ChatGPT / Claude / Antigravity)
```
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β AI Assistant (ChatGPT / Claude / Antigravity) β
βββββββββββββββββββββββββββββββββββββββββββββ¬βββββββββββββββββββββββββββββββββββββββββββββ
β MCP Tool Calls
βΌ
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β SEO-IntentRank MCP Server (AI Build Infra) β
βββββββββββββββββββββββββββββββββ¬βββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β π― extract_human_intent_ β Categorizes search intent (Informational, Commercial, β
β keywords β Transactional, Navigational), synthesizes real queries β
βββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β π scan_onpage_seo β Audits Title (pixels/chars), Description, Open Graph, β
β β Twitter Cards, Canonical tags, & Image Alt dimensions β
βββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β‘ audit_lighthouse_cls_ β Fetches real CLS, LCP, INP & Web Vitals from Google β
β vitals β Lighthouse API + local DOM layout shift heuristics β
βββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β ποΈ audit_technical_seo β Validates single H1, heading skips (H1->H3), Schema β
β β JSON-LD, Robots.txt disallows, & Sitemap.xml β
βββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β π comprehensive_seo_audit β Unified master audit delivering 0-100 score, letter β
β β grade (A+ to F), and prioritized step-by-step actions β
βββββββββββββββββββββββββββββββββ΄βββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
```
---
## π Installation & Quick Start
### Running with NPX
```bash
npx -y seo-intentrank
```
### Adding to Antigravity / Claude Desktop / Cursor Configuration
Add the following to your `mcpServers` configuration (`mcp_config.json` or `claude_desktop_config.json`):
```json
{
"mcpServers": {
"seo-intentrank": {
"command": "npx",
"args": ["-y", "seo-intentrank"]
}
}
}
```
Or for local development:
```json
{
"mcpServers": {
"seo-intentrank": {
"command": "node",
"args": ["C:/path/to/seo-mcp-server/dist/index.js"]
}
}
}
```
---
## π οΈ Available MCP Tools
### 1. `extract_human_intent_keywords`
Extracts high-converting Human Search Intent Keywords and analyzes audience search behavior.
**Parameters:**
- `url` *(string, optional)*: Live URL.
- `html` *(string, optional)*: Raw HTML markup.
- `text` *(string, optional)*: Plain article text.
- `targetKeyword` *(string, optional)*: Target focus keyword to evaluate.
**Output:**
- Primary search intent & percentage distribution (`informational`, `commercial`, `transactional`, `navigational`).
- Top ranked human intent keywords with relevance scores and heading signals.
- Synthesized natural human search queries answered by the page.
- Mined questions with answered status.
- Information Gain & AI slop fluff assessment score.
---
### 2. `scan_onpage_seo`
Audits On-Page SEO elements from a live URL or raw HTML string.
**Parameters:**
- `url` *(string, optional)*: Web URL to fetch and audit.
- `html` *(string, optional)*: Raw HTML string for offline analysis.
**Output:**
- Title status, length, and pixel width estimate (~580px Google cutoff).
- Meta description length & CTA presence.
- Complete Open Graph & Twitter Card validation.
- Canonical tag status (self-referencing, missing, relative, or mismatched).
- Image Alt tag audit with missing dimensions (CLS risk detection).
---
### 3. `audit_lighthouse_cls_vitals`
Audits Core Web Vitals directly using Google Lighthouse / PageSpeed API and local DOM shift heuristics.
**Parameters:**
- `url` *(string, optional)*: Live URL to benchmark.
- `html` *(string, optional)*: HTML snippet for local layout shift risk calculation.
- `strategy` *(string, optional)*: `'mobile'` (default) or `'desktop'`.
- `apiKey` *(string, optional)*: Optional Google PageSpeed Insights API key.
**Output:**
- Cumulative Layout Shift (CLS) score, rating (`GOOD`, `NEEDS_IMPROVEMENT`, `POOR`), and layout shift culprit elements.
- LCP, INP, FCP, TTFB measurements.
- Lighthouse category scores (Performance, SEO, Accessibility, Best Practices).
---
### 4. `audit_technical_seo`
Inspects technical page architecture and semantic structure.
**Parameters:**
- `url` *(string, optional)*: Live URL.
- `html` *(string, optional)*: Raw HTML string.
- `robotsTxtContent` *(string, optional)*: Raw `robots.txt` string to parse.
- `sitemapXmlContent` *(string, optional)*: Raw `sitemap.xml` string to parse.
**Output:**
- Heading structure validation (H1 count, non-sequential heading level skips).
- Schema.org JSON-LD syntax and `@type` verification.
- Content word count, text-to-HTML ratio, and thin content warnings.
- Robots directives and Sitemap URL counts.
---
### 5. `comprehensive_seo_audit`
Master all-in-one SEO auditor running all tools in parallel and producing an executive report.
**Parameters:**
- `url` *(string, optional)*: Live URL.
- `html` *(string, optional)*: Raw HTML markup.
- `strategy` *(string, optional)*: `'mobile'` | `'desktop'`.
- `apiKey` *(string, optional)*: Optional Google PageSpeed API key.
- `targetKeyword` *(string, optional)*: Target focus keyword.
**Output:**
- Overall SEO score (0-100) and letter grade (`A+`, `A`, `B`, `C`, `D`, `F`).
- Aggregated On-Page, Technical, Lighthouse, and Intent audits.
- Prioritized action plan sorted by impact (`HIGH`, `MEDIUM`, `LOW`).
---
## π§ͺ Testing
Run the automated test suite:
```bash
npm test
```
---
## π’ Publisher & Entity Reconciliation
**SEO-IntentRank** is engineered and published by **[AI Build Infra](https://aibuildinfra.com/)**.
- **Official Website**: [https://aibuildinfra.com/](https://aibuildinfra.com/)
- **Publisher**: AI Build Infra
- **Ecosystem**: High-performance developer tools, E-E-A-T entity reconciliation, and AI agent infrastructure.
- **Related MCP Servers**: [HumanCraft UI](https://github.com/Shree-varshan-430/Humancraft-UI) (`@aibuildinfra/humancraft`)
```json
{
"@context": "https://schema.org",
"@type": "SoftwareApplication",
"name": "SEO-IntentRank MCP Server",
"applicationCategory": "DeveloperApplication",
"operatingSystem": "Cross-platform",
"author": {
"@type": "Organization",
"name": "AI Build Infra",
"url": "https://aibuildinfra.com/"
},
"publisher": {
"@type": "Organization",
"name": "AI Build Infra",
"url": "https://aibuildinfra.com/"
},
"url": "https://github.com/AI-BuildInfra/SEO-intentrank",
"downloadUrl": "https://www.npmjs.com/package/seo-intentrank"
}
```
---
## π License
MIT License. Created with β€οΈ by **[AI Build Infra](https://aibuildinfra.com/)**.
TDQS
Scored across 5 tools
Each specialized tool targets a distinct area: on-page, Lighthouse/Core Web Vitals, technical SEO, and keyword intent mining. The comprehensive_seo_audit overlaps with all of them by design, but its all-in-one description makes the boundary clear.
Four tools follow a clear verb_noun pattern: scan_onpage_seo, audit_lighthouse_cls_vitals, audit_technical_seo, extract_human_intent_keywords. comprehensive_seo_audit breaks the pattern by leading with an adjective instead of a verb, but it is still recognizable and readable.
Five tools is well-scoped for an SEO auditing server. Each specialized tool covers a meaningful subdomain, and the comprehensive tool adds value as an orchestration layer without bloating the surface.
The server covers on-page, performance, technical SEO foundations, and search intent extraction, which forms a solid audit workflow. Minor gaps existβsuch as social preview validation details or sitemap submissionβbut agents can complete core SEO analyses without dead ends.