moz-mcp
The Moz MCP server provides access to the comprehensive Moz API for SEO data and analysis. It allows users to access all major endpoints of the SEO toolkit, including keyword research, site metrics, link analysis, and competitive intelligence.
GitHub Stars
7
User Rating
Not Rated
Favorites
0
Views
9
Forks
0
Issues
0
Moz MCP Server
A Model Context Protocol (MCP) server that provides access to the comprehensive Moz API for SEO data and analysis. This server enables Claude and other MCP clients to access Moz's extensive SEO toolkit including keyword research, site metrics, link analysis, and competitive intelligence.
Features
This MCP server provides access to all major Moz API endpoints, organized into the following categories:
🌐 Global Data
moz_global_top_domains
- Get the global top-ranking domains across the internetmoz_global_top_pages
- Get the global top-ranking pages across the internet
🔍 Keyword Research
moz_keyword_search_intent
- Analyze search intent for keywordsmoz_keyword_suggestions
- Get related keyword suggestionsmoz_keyword_difficulty
- Get keyword difficulty scores (1-100)moz_keyword_opportunity
- Get keyword opportunity/CTR datamoz_keyword_priority
- Get keyword priority scoresmoz_keyword_volume
- Get keyword search volume data
🏢 Site Metrics & Analysis
moz_site_brand_authority
- Get Brand Authority scores for domainsmoz_site_metrics
- Get comprehensive site metrics (DA, PA, links, etc.)moz_site_metrics_multiple
- Get metrics for multiple sites at oncemoz_site_ranking_keywords
- Get keywords a site ranks formoz_site_ranking_keywords_count
- Count how many keywords a site ranks for
🔗 Link Analysis (Legacy URL-based methods)
moz_url_metrics
- Get URL metrics including Domain Authority, Page Authoritymoz_links
- Get inbound links to URLs, subdomains, or domainsmoz_anchor_text
- Get anchor text analysismoz_top_pages
- Get top pages for domainsmoz_linking_domains
- Get domains linking to targets
📊 Account & Usage
moz_quota
- Check API quota and usage limitsmoz_usage_data
- Get detailed API usage statistics
Installation
- Clone this repository:
git clone <repository-url>
cd moz-mcp
- Install dependencies:
npm install
- Build the project:
npm run build
Configuration
1. Get Moz API Credentials
You need Moz API credentials to use this server. Get them from the Moz API Dashboard:
- Sign up for a Moz account at https://moz.com/
- Go to the Moz API section
- Generate your API token or get your Access ID/Secret Key
2. Set Environment Variable
The server supports both authentication methods:
For API Token:
export MOZ_API_TOKEN="your_api_token_here"
For Access ID/Secret Key (base64 encoded):
export MOZ_API_TOKEN="base64_encoded_credentials"
3. Configure Claude Desktop
Add the server to your Claude Desktop configuration file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"moz": {
"command": "node",
"args": ["/path/to/moz-mcp/dist/index.js"],
"env": {
"MOZ_API_TOKEN": "your_token_here"
}
}
}
}
Usage
Once configured, restart Claude Desktop and you can use Moz tools in your conversations:
Keyword Research Examples
"What's the keyword difficulty for 'digital marketing'?"
"Get keyword suggestions for 'SEO tools'"
"What's the search volume for 'content marketing'?"
Site Analysis Examples
"Get site metrics for example.com"
"What's the Brand Authority of moz.com?"
"Show me the top ranking keywords for hubspot.com"
Competitive Analysis Examples
"Get the top global domains"
"Show me who links to competitor.com"
"What are the top pages on example.com?"
Link Analysis Examples
"Get inbound links to example.com"
"Show me anchor text analysis for this URL"
"Find linking domains to competitor.com"
API Methods Reference
Based on the official Moz API Documentation, this server implements the following JSON-RPC 2.0 methods:
Category | Method | Description |
---|---|---|
Global | data.globalTopDomains |
Top-ranking domains globally |
Global | data.globalTopPages |
Top-ranking pages globally |
Keyword | keyword.search_intent.fetch |
Search intent analysis |
Keyword | keyword.suggestions.list |
Related keyword suggestions |
Keyword | keyword.metrics.difficulty.fetch |
Keyword difficulty scores |
Keyword | keyword.metrics.opportunity.fetch |
Keyword opportunity data |
Keyword | keyword.metrics.priority.fetch |
Keyword priority scores |
Keyword | keyword.metrics.volume.fetch |
Search volume data |
Site | site.metrics.brand_authority.fetch |
Brand Authority scores |
Site | site.metrics.fetch |
Single site metrics |
Site | site.metrics.fetch_multiple |
Multiple site metrics |
Site | site.ranking_keywords.list |
Ranking keywords for sites |
Site | site.ranking_keywords.count |
Count of ranking keywords |
Legacy | data.urlMetrics |
URL metrics (DA, PA, etc.) |
Legacy | data.links |
Inbound link analysis |
Legacy | data.anchorText |
Anchor text analysis |
Legacy | data.topPages |
Top pages for domains |
Legacy | data.linkingDomains |
Linking domain analysis |
Account | quota.lookup |
API quota information |
Account | data.usageData |
Usage statistics |
Development
Start the development server:
npm run dev
Build for production:
npm run build
npm start
Authentication
The server automatically detects your credential format:
- API Token: Standard x-moz-token header authentication
- Access ID/Secret Key: HMAC-SHA1 signature authentication with base64-encoded credentials
Pricing & Quota
The Moz API uses a tiered pricing model with row-based quota. Different methods consume different amounts of quota. See the Moz API pricing page for details.
Error Handling
The server provides comprehensive error handling and logging:
- Validates required parameters
- Handles network errors gracefully
- Provides detailed error messages
- Logs API request failures for debugging
License
MIT License - see LICENSE file for details.
AI & Search Experience Optimization. 10+ years of experience. Samsun lover.
96
Followers
52
Repositories
0
Gists
0
Total Contributions
The Financial Modeling Prep MCP Server is an implementation of the Model Context Protocol (MCP) that enables AI assistants to access and analyze financial data, stock information, company fundamentals, and market insights. It offers a variety of financial tools that help users quickly retrieve information and make informed decisions.