mcp-serp-clustering
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., "@mcp-serp-clustering Cluster keywords in serp_data.csv, saving clusters and overlap CSVs to output/"
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.
mcp-serp-clustering
An MCP (Model Context Protocol) server for clustering keywords by SERP overlap. Groups keywords that share URLs in Google's top 10 results, indicating they should target the same page.
What is SERP Clustering?
SERP (Search Engine Results Page) clustering is an SEO technique that groups keywords based on shared search results. If two keywords have 3+ URLs in common in their top 10 results, Google considers them the same search intent - they should be targeted on a single page rather than separate pages.
This approach is more accurate than semantic clustering because it uses Google's actual ranking signals rather than keyword similarity.
Related MCP server: Fan Out Query MCP
Installation
First, authenticate with GitHub Packages (one-time setup):
npm login --registry=https://npm.pkg.github.com --scope=@dredozubovThen run via npx:
npx @dredozubov/mcp-serp-clusteringOr install globally:
npm install -g @dredozubov/mcp-serp-clusteringRequirements
Node.js 18+
Python 3.8+ (for the clustering algorithm)
Claude Desktop Configuration
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
{
"mcpServers": {
"serp-clustering": {
"command": "npx",
"args": ["-y", "@dredozubov/mcp-serp-clustering"]
}
}
}Note: You need to be authenticated with GitHub Packages for npx to work. Run this once:
npm login --registry=https://npm.pkg.github.com --scope=@dredozubovTool: cluster_keywords
Clusters keywords by analyzing URL overlap in SERP data.
Input
Parameter | Type | Required | Description |
| string | Yes | Path to CSV file with SERP data |
| string | Yes | Path where cluster results will be saved |
| string | Yes | Path where URL overlap matrix will be saved |
Input CSV Format
keyword,position,url
best crm software,1,https://example.com/crm
best crm software,2,https://another.com/crm-guide
enterprise crm,1,https://example.com/crm
enterprise crm,2,https://different.com/enterpriseOutput
Clusters CSV (output_clusters):
cluster_id,primary_keyword,cluster_keywords,keyword_count,shared_urls,shared_url_count,recommended_slug
1,best crm software,"best crm software, enterprise crm",2,"https://example.com/crm",1,best-crm-softwareOverlap Matrix CSV (output_overlap):
keyword1,keyword2,shared_urls,overlap_count,overlap_score
best crm software,enterprise crm,https://example.com/crm,3,0.3Algorithm
Load SERP data (top 10 URLs for each keyword)
Calculate URL intersection for all keyword pairs
Build clusters greedily (highest overlap first)
Keywords with 3+ shared URLs join the same cluster
Unmatched keywords become single-keyword clusters
Example Usage
Given a file with SERP data from 100 keywords, the tool might produce:
35 clusters (some with multiple keywords targeting same intent)
65 single-keyword clusters (unique search intents)
This tells you: instead of 100 pages, you may only need 35 to cover all search intents.
Integration with SEO Workflows
This tool is designed to work with keyword research pipelines:
Discovery: Generate keyword list with volumes
SERP Fetch: Get top 10 URLs for each keyword (via Serper, DataForSEO, etc.)
Clustering: Use this tool to group by intent
Content Planning: One page per cluster, targeting all cluster keywords
License
MIT
Available Tools
1 toolcluster_keywordsB
Cluster keywords by SERP overlap. Groups keywords that share 3+ URLs in top 10 results, indicating they should target the same page. Input must be a CSV file with columns: keyword, position, url
Inputs: input_file (required), output_overlap (required), output_clusters (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
With a single tool there is no possible confusion about which tool to select. The tool's purpose—grouping keywords by SERP URL overlap—is stated explicitly and leaves no room for misselection.
The lone name `cluster_keywords` follows the standard snake_case verb_noun convention. There are no competing conventions to clash with, so consistency is trivially satisfied.
The server is genuinely single-purpose, so one tool is defensible, but it sits at the thin borderline where no auxiliary operations exist. There is no companion tool for validating inputs, previewing results, or exporting clusters.
The core clustering operation is covered, but the tool requires a pre-built CSV with a fixed schema and offers no way to inspect, filter, or format the resulting clusters. Minor gaps—input validation, output shape options, or fetching SERP data—force the agent to do extra workarounds.
Maintenance
Related MCP Connectors
Bulk Google keyword search volume, CPC, difficulty, intent and monthly history; 94 countries.
Bulk keyword search volume, CPC, competition and difficulty, plus an optional Google Trends summary.
SEO research, Search Console, GA4 and PPC tools for Claude and ChatGPT.
0-100 SEO score and issues to fix for every website in a dataset, CSV or Google Sheet.
Related MCP Servers
- AlicenseBqualityDmaintenanceProvides comprehensive SEO analysis by crawling websites and generating AI-powered keyword insights, search volume data, and competitor strategies. It delivers detailed reports on keyword clusters and commercial intent to help optimize digital marketing workflows.11MIT
- AlicenseBqualityCmaintenanceAdvanced content gap analysis using Query Decomposition and Keyword Fan-Out (Google's patented methodology). Tells you exactly what user queries your content covers - and what it misses. Built on academic research because I needed to understand how AI search engines actually evaluate content.1163 npm15Apache 2.0
- AlicenseNot gradedqualityCmaintenanceEnables semantic keyword clustering, search intent classification, cannibalization detection, and topical authority mapping for SEO workflows.MIT
- AlicenseNot gradedqualityBmaintenanceEnables SEO audits, keyword research, rank tracking, and Core Web Vitals reporting through an MCP interface using only free services.Apache 2.0