Ahrefs Domain Rating (0–100) for domains or URLs, via getdr by Index Pages
MCPpedia last refreshed this data
io.github.index-pages/getdr-mcp is an MCP server that ahrefs Domain Rating (0–100) for domains or URLs, via getdr by Index Pages. Its tool list has not been published yet over stdio, requires no API key, and scores 87/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients - only the file and path differ.
{
"mcpServers": {
"getdr": {
"args": [
"-y",
"getdr-mcp"
],
"command": "npx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Ahrefs Domain Rating (0–100) for domains or URLs, via getdr by Index Pages
Run this in your terminal to verify the server starts. Then let us know if it worked - your result helps other developers.
npx -y 'getdr-mcp' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories - click any category to see the underlying evidence.
No known CVEs.
Checked getdr-mcp against OSV.dev.
Be the first to review
Have you used this server?
Share your experience - it helps other developers decide.
Sign in to write a review.
Others in other
Unofficial KakaoTalk CLI and native MCP server for macOS — read, watch, and send messages via Accessibility automation.
Reverse engineer anything from your terminal or agent with one CLI and MCP server.
MCP WordPress Remote proxy server
Generate, validate, repair and style editable draw.io XML diagrams.
MCP Security Weekly
Get CVE alerts and security updates for io.github.index-pages/getdr-mcp and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
getdr-mcp is a small open-source MCP server by
Index Pages that gives AI agents one tool, get_dr: Ahrefs Domain Rating (DR) for
domains or URLs. It is a thin front for getdr – it asks a getdr server or the
getdr binary and makes no Ahrefs requests of its own. Stdio transport, no runtime dependencies. Docs:
index-pages.com/getdr/.
Add it to your MCP client (Claude Desktop, Claude Code, Cursor and others use this shape):
{
"mcpServers": {
"getdr": {
"command": "npx",
"args": ["-y", "getdr-mcp"]
}
}
}
That uses the getdr binary on your PATH. To use a getdr server on your network instead:
{
"mcpServers": {
"getdr": {
"command": "npx",
"args": ["-y", "getdr-mcp"],
"env": {
"GETDR_API": "http://lan-host:8080",
"GETDR_SERVE_TOKEN": "s3cret"
}
}
}
}
Requires Node.js 18 or later.
Checked on every call, in this order:
GETDR_API is set – one POST $GETDR_API/dr to that getdr server (getdr serve), with
Authorization: Bearer $GETDR_SERVE_TOKEN when the token is set. The server holds the Ahrefs key and the
shared cache, so this machine needs neither.getdr (0.2.0 or newer) is on PATH – runs getdr --format json -q [--version V] [--fresh] -f - with
the targets on stdin, no shell (as arguments after -- when a target starts with #, which -f would
skip as a comment). The binary uses its own config, cache and key (AHREFS_KEY), or its own api
setting.Install the binary with brew install index-pages/tap/getdr, npm install -g getdr, pipx install getdr,
go install github.com/index-pages/getdr@latest or from
Releases, then get a free Ahrefs API key:
index-pages.com/getdr/#key.
Both backends return the same records. Calls time out after 120 seconds.
Proxies: the HTTP backend uses Node's built-in fetch, which ignores HTTP_PROXY/HTTPS_PROXY unless
NODE_USE_ENV_PROXY=1 is set (Node 22.21 or later, or 24 and later; older versions have no built-in proxy
support). The binary backend honours HTTP_PROXY, HTTPS_PROXY and NO_PROXY as usual.
get_dr – "Ahrefs Domain Rating (0–100) for domains or URLs, via getdr by Index Pages".
| argument | type | |
|---|---|---|
targets | string[] | required, non-empty; domains or URLs |
version | "dr4" or "dr3" | DR formula; when left out, the backend's config decides: the getdr server's with GETDR_API, otherwise the binary's (also when that binary uses a server), dr4 unless set (getdr 0.3.0 or newer; older versions default to dr3); values are not comparable between versions |
fresh | boolean | ignore the cache and fetch again |
Targets are normalized by getdr: a URL becomes its host, www. is dropped, everything is lower-cased and
duplicates are removed. Results follow the input order.
The text result is a JSON array with one record per target, and nothing else:
[
{"target":"index-pages.com","dr":69,"version":"dr4","checked_at":"2026-11-19T12:00:00Z","cached":true},
{"target":"nodata.example","dr":null,"version":"dr4","checked_at":"2026-11-19T12:00:00Z","cached":false}
]
The record is the getdr JSON contract, the same as getdr --format json and getdr serve. dr is null
when Ahrefs has no data; checked_at is null too when there was no response or the target is invalid. An
invalid target (not a domain or URL, or refused by Ahrefs, such as localhost) also has
"error":"invalid target"; no other record has an error key. Clients on MCP protocol 2025-06-18 or later
also get structuredContent – {"results": […]} – and an outputSchema for it.
Invalid targets an