Majestic MCP Server
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., "@Majestic MCP ServerGet the Trust Flow and Citation Flow for example.com"
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.
Majestic MCP Server
A Model Context Protocol (MCP) server for the Majestic SEO API. Runs locally via stdio transport.
Features
9 tools to interact with Majestic's SEO data:
Tool | Description |
| Get Trust Flow, Citation Flow, backlink counts and key metrics |
| Get detailed backlink data for a URL/domain |
| Get anchor text distribution |
| Get list of referring domains |
| Get the most backlinked pages on a domain |
| Get topical Trust Flow breakdown |
| Get recently gained or lost backlinks |
| Compare metrics across multiple URLs/domains |
| Check API usage and remaining quota |
Related MCP server: semrush-mcp
Prerequisites
A Majestic API key (requires a Majestic subscription)
Node.js 18+
Quick Start
With npx (no install)
MAJESTIC_API_KEY=your-key npx majestic-mcpGlobal install
npm install -g majestic-mcp
MAJESTIC_API_KEY=your-key majestic-mcpMCP Configuration
For mcporter / OpenClaw
Add to .mcp.json:
{
"mcpServers": {
"majestic": {
"command": "npx",
"args": ["-y", "majestic-mcp"],
"env": {
"MAJESTIC_API_KEY": "your-api-key-here"
}
}
}
}For Claude Desktop
Add to Claude Desktop config:
{
"mcpServers": {
"majestic": {
"command": "npx",
"args": ["-y", "majestic-mcp"],
"env": {
"MAJESTIC_API_KEY": "your-api-key-here"
}
}
}
}Usage with mcporter
# Get Trust Flow and Citation Flow for a domain
mcporter call majestic.get_index_item_info items='["backlink-eldorado.fr"]'
# Get backlinks
mcporter call majestic.get_backlinks item="example.com" count=50
# Compare domains
mcporter call majestic.compare_items items='["site1.com","site2.com","site3.com"]'
# Check API quota
mcporter call majestic.get_subscription_infoAPI Reference
get_index_item_info
Get Trust Flow, Citation Flow, and other key metrics.
Parameter | Type | Default | Description |
| string[] | required | URLs or domains to analyze (max 100) |
| "fresh" | "historic" | "fresh" | Index to use |
| boolean | true | Include subdomain data |
get_backlinks
Get detailed backlink data.
Parameter | Type | Default | Description |
| string | required | URL or domain |
| "fresh" | "historic" | "fresh" | Index to use |
| number | 100 | Number of backlinks (max 50000) |
| "0" | "1" | "0" | 0=all, 1=one per domain |
| string | - | Filter by topic |
| string | - | Filter by referring domain |
get_anchor_text
Get anchor text distribution.
Parameter | Type | Default | Description |
| string | required | URL or domain |
| "fresh" | "historic" | "fresh" | Index to use |
| number | 100 | Number to return (max 1000) |
| "0" | "1" | "0" | 0=phrase, 1=word anchors |
| "0" | "1" | "2" | "0" | 0=anchor, 1=alt, 2=both |
get_ref_domains
Get referring domains.
Parameter | Type | Default | Description |
| string | required | URL or domain |
| "fresh" | "historic" | "fresh" | Index to use |
| number | 100 | Number to return (max 50000) |
| string | "TrustFlow" | Sort order |
| string | - | Filter by topic |
get_top_pages
Get most backlinked pages.
Parameter | Type | Default | Description |
| string | required | Domain to analyze |
| "fresh" | "historic" | "fresh" | Index to use |
| number | 100 | Number to return (max 10000) |
| string | "ExtBackLinks" | Sort order |
get_topics
Get topical Trust Flow breakdown.
Parameter | Type | Default | Description |
| string | required | URL or domain |
| "fresh" | "historic" | "fresh" | Index to use |
get_new_lost_backlinks
Get recently gained/lost backlinks.
Parameter | Type | Default | Description |
| string | required | Domain to analyze |
| number | 100 | Number to return (max 50000) |
| "new" | "lost" | "new" | New or lost backlinks |
compare_items
Compare metrics across domains.
Parameter | Type | Default | Description |
| string[] | required | 2-5 URLs/domains to compare |
| "fresh" | "historic" | "fresh" | Index to use |
get_subscription_info
Check API usage (no parameters).
Majestic Indexes
Fresh Index: Updated daily, contains links discovered in the last 120 days
Historic Index: Contains 5+ years of backlink data, updated monthly
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.
Related MCP Servers
- AlicenseCqualityDmaintenanceAn MCP server that integrates with the Haloscan SEO API to provide tools for keyword research, SERP analysis, and domain performance tracking. It enables users to perform comprehensive SEO tasks, including competitor analysis and visibility monitoring, within MCP-compatible clients.Last updated331301MIT
- AlicenseBqualityBmaintenanceMCP server providing tools to access Semrush API data for domain analytics, keyword research, backlink analysis, and traffic analytics.Last updated1962MIT
- AlicenseBqualityFmaintenanceAn MCP server that gives AI assistants 23 SEO tools for rank tracking, Google Analytics, site audits, keyword research, competitive analysis, and more, accessible through natural language.Last updated2510MIT
- Flicense-qualityDmaintenanceMCP server for Keys.so SEO API, enabling domain and keyword analysis, competitor research, and SEO metrics retrieval through natural language.Last updated2
Related MCP Connectors
SEO Intelligence MCP — 13 tools: keyword research, SERP, domain audits, competitors.
SEO Backlinks MCP — backlink intelligence via DataForSEO Backlinks API
Hosted MCP with 91 agent tools: X, domains, SEO, Maps, Trends, Search, YouTube, TikTok, and more.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- 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/MattiooFR/majestic-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server