Keyword Research Tool MCP Server
Utilizes Perplexity's AI models to generate seed keywords and perform AI-powered competitor analysis during the SEO research process.
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., "@Keyword Research Tool MCP Server run an SEO analysis for https://startup.io as a SaaS business"
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.
Keyword Research Tool MCP Server
An MCP (Model Context Protocol) server that provides comprehensive SEO keyword research and analysis capabilities. This server adapts the functionality from the original boringmarketer/keyword-research-tool into a single, powerful MCP tool.
Features
š Comprehensive Analysis
Website content crawling and analysis using Firecrawl
AI-powered seed keyword generation with Perplexity
Search volume and competition data via DataForSEO
Smart keyword clustering and competitor analysis
Timestamped report generation
š Detailed Reports
Keyword clusters with commercial intent scoring
Quick wins (low competition opportunities)
High-value targets (commercial keywords)
Competitor domain analysis with AI research
Actionable SEO strategy recommendations
Dual format: JSON (technical) + Text (human-readable)
Professional text reports matching original HTML tool format
šÆ Business-Focused
Auto-detects and optimizes for business type
Commercial intent scoring for ROI focus
Industry-specific keyword suggestions
Professional report format
Related MCP server: seosiri-keyword-cluster-mcp
Prerequisites
You'll need API keys from these services:
Required APIs
Firecrawl (Website Scraping)
Sign up at: https://firecrawl.dev/
Format:
fc-xxxxxxxxxxCost: ~$0.01 per website scrape
Perplexity (AI Keyword Generation)
Sign up at: https://www.perplexity.ai/
Format:
pplx-xxxxxxxxxxCost: ~$0.02 per keyword generation
DataForSEO (Keyword & SERP Data)
Sign up at: https://dataforseo.com/
Uses your login credentials (username/password)
Cost: ~$0.50-1.00 per analysis
Total estimated cost per analysis: ~$0.53-1.03
Installation
Clone and install dependencies:
git clone <this-repo>
cd keyword-research-tool-mcp
npm install
npm run buildAdd to your MCP client configuration (e.g., in Claude Desktop's config):
{
"mcpServers": {
"seo-keyword-research": {
"command": "node",
"args": ["path/to/keyword-research-tool-mcp/dist/index.js"],
"env": {
"FIRECRAWL_API_KEY": "fc-xxxxxxxxxxxxxxxxxxxxxxxxxx",
"PERPLEXITY_API_KEY": "pplx-xxxxxxxxxxxxxxxxxxxxxxxxxx",
"DATAFORSEO_USERNAME": "your-username",
"DATAFORSEO_PASSWORD": "your-password"
}
}
}
}If you are running a tool like Cursor or Windsurf, you may need to remind it to search for API keys in the above JSON file.
3. Build the Server
npm run buildUsage
The server provides one comprehensive tool:
analyze_website
Performs complete SEO keyword research and analysis for any website.
Parameters:
website_url(string): Website URL to analyze (e.g., "https://example.com")business_type(enum): Business type for targeted analysisOptions: "E-commerce", "SaaS", "Service Business", "Blog/Content", "Education", "Other"
firecrawl_api_key(string): Firecrawl API key (format: fc-xxxxxxxxxx)perplexity_api_key(string): Perplexity API key (format: pplx-xxxxxxxxxx)dataforseo_username(string): DataForSEO username (your email)dataforseo_password(string): DataForSEO password
Example Usage:
analyze_website({
"website_url": "https://example.com",
"business_type": "SaaS",
"firecrawl_api_key": "fc-your-key-here",
"perplexity_api_key": "pplx-your-key-here",
"dataforseo_username": "your@email.com",
"dataforseo_password": "your_password"
})Output
The analysis generates:
Console Output
Analysis Summary: Total keywords, search volume, traffic potential
Quick Wins: Low competition opportunities for immediate targeting
High-Value Targets: Keywords with highest commercial potential
Top Keyword Clusters: Organized keyword groups with metrics
Main Competitors: Competing domains identified
Report Location: Path to detailed JSON report
Saved Reports
Timestamped reports are automatically saved to reports/ directory in two formats:
JSON Report (<company domain>_YYYY-MM-DD_HH-MM-SS.json):
Complete analysis data for technical use
All keyword metrics and search volumes
Competitor domains and SERP analysis
Commercial intent scores
Clustering analysis
Raw API response data
Text Report (<company domain>_YYYY-MM-DD_HH-MM-SS_formatted.txt):
Comprehensive formatted report matching the original HTML tool
Executive summary with key metrics
Quick wins section (low competition opportunities)
High-value targets (commercial keywords)
Detailed keyword clusters with complete breakdowns
Competitor analysis with AI and SERP sources
Strategic action plan (immediate, medium-term, long-term)
Raw analysis data section
Professional formatting with ASCII art borders
Analysis Process
The tool follows the same comprehensive process as the original app.js:
Website Scraping: Extract content using Firecrawl API
Content Cleaning: Filter technical terms, focus on business-relevant content
Keyword Generation: AI-powered seed keyword creation with Perplexity
Keyword Enhancement: Get search volumes, competition data via DataForSEO
SERP Analysis: Analyze top-ranking pages and competitor domains
Clustering: Group related keywords into themed clusters
Scoring: Calculate commercial intent and difficulty scores
Report Generation: Create comprehensive analysis report
Code Structure
The MCP server is built by adapting the original app.js functions:
src/index.ts
āāā KeywordResearchTool class
ā āāā scrapeWebsite() # Website content extraction
ā āāā cleanWebsiteContent() # Content filtering and cleaning
ā āāā generateKeywords() # AI keyword generation
ā āāā filterTechnicalKeywords() # Remove irrelevant terms
ā āāā performAnalysis() # Main orchestration function
āāā MCP Server setup
ā āāā Tool definition (analyze_website)
ā āāā Request handlers
ā āāā Response formatting
āāā Report generation and file savingKey Adaptations from Original
Single Tool: Condensed the multi-step web UI into one comprehensive MCP tool
Simplified Flow: Removed UI progress indicators, kept core analysis logic
Enhanced Output: Structured markdown output plus detailed JSON reports
Type Safety: Full TypeScript implementation with proper interfaces
Error Handling: Comprehensive error messages and validation
Report Persistence: Automatic timestamped report saving
Development
Build the project:
npm run buildRun in development mode:
npm run devStart the server:
npm startTroubleshooting
Common Issues
"Analysis failed" errors:
Verify all API keys are correct and active
Check API credit balances
Ensure website URL is accessible
Test individual API endpoints
"Failed to scrape website":
Check if website blocks crawlers/bots
Try with different website URL
Verify Firecrawl API key format and permissions
DataForSEO errors:
Confirm username/password are correct
Check account has sufficient credits
Some keywords may have limited data available
API Documentation
Firecrawl: https://docs.firecrawl.dev/
Perplexity: https://docs.perplexity.ai/
DataForSEO: https://docs.dataforseo.com/
License
MIT License - Feel free to use and modify for your SEO research needs.
Built for marketers and SEO professionals who want comprehensive keyword research integrated into their AI workflows.
Available Tools
1 toolanalyze_websiteC
Perform comprehensive SEO keyword research and analysis for a website. Generates detailed reports with keyword clusters, competitor analysis, and actionable insights.
Inputs: website_url (required), business_type (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 only one tool, there is no possibility of ambiguity or overlap between tools, as there are no other tools to confuse it with. The tool's purpose is clearly defined and distinct by default in this single-tool context.
The single tool name 'analyze_website' follows a clear verb_noun pattern, and since there are no other tools, consistency is inherently perfect with no deviations or mixed conventions to evaluate.
A single tool for a 'Keyword Research Tool MCP Server' feels too thin for the apparent scope, as keyword research typically involves multiple operations like trend analysis, volume checks, or competitor comparisons. This limited set may hinder agent workflows by lacking necessary breadth.
The tool surface is severely incomplete for a keyword research domain; it only offers website analysis, missing obvious gaps such as keyword suggestion, search volume queries, trend tracking, or competitor keyword analysis, which are core to comprehensive keyword research.
Maintenance
Related MCP Connectors
AI-powered SEO and marketing: keyword research, SERP analysis, and content optimization tools.
Live SEO data for AI agents: SERP competition, keywords, backlinks, site audits, AI visibility.
Your AI SEO team: rankings, site checks, opportunities, content, approvals and Google reviews.
An AI agent that runs your SEO: keyword research, SERP and backlink analysis, rank tracking, site audits and Search Console data, plus reviewed rewrites for WordPress, Shopify, Framer and GitHub sites. Nothing changes on your site until you approve it.
Related MCP Servers
- -licenseNot gradedqualityCmaintenanceEnables AI assistants to perform comprehensive SEO and GEO measurements, including site audits, keyword research, ranking tracking, and brand visibility analysis across search engines and generative AI platforms.-
- AlicenseNot gradedqualityCmaintenanceEnables semantic keyword clustering, search intent classification, cannibalization detection, and topical authority mapping for SEO workflows.MIT
- FlicenseAqualityBmaintenanceEnables comprehensive website SEO analysis including crawling, on-page audits, site structure visualization, and content topic classification with taxonomy mapping.71-
- FlicenseNot gradedqualityCmaintenanceEnables AI-driven web analysis through MCP tools for crawling websites, computing SEO metrics, generating executive summaries, and identifying technology stacks.-