Skip to main content

MCP server that gives Claude Desktop / Claude Code access to LinkGuard backlink-analysis tools.

Project description

linkguard-mcp

A stdio MCP server that gives Claude Desktop and Claude Code access to LinkGuard backlink-analysis tools.

What it does

The server exposes three tools:

Tool What it checks
redirect_check Traces the full redirect chain of a URL — every HTTP hop, flags (loops, meta-refresh, JS redirect), and the SEO impact on link equity.
backlink_index_check Checks whether a donor page is in Google's index (INDEXED / NOT_INDEXED / UNKNOWN) and returns the SERP title + description when available.
backlink_health_snapshot Full health audit for one backlink: live status, dofollow/nofollow, indexed in Google, canonical integrity, and a scored verdict with recommendations. May use a real cloud browser for JS-heavy donors (costs 5 tokens).

All three tools require a LinkGuard API key and call the hosted API at https://linkguard.ai. No data is stored locally.

Getting an API key

  1. Create a free account at https://linkguard.ai
  2. Make one paid top-up (any amount) — this is a one-time gate that unlocks MCP access. Redirect-check and index-check are then free per call. Backlink-health costs 5 tokens only when a JS-rendered page is encountered.
  3. Go to Dashboard → API Keys and create a key. Keys start with lg_.

Claude Desktop setup

Add this to your Claude Desktop config file (~/Library/Application Support/Claude/claude_desktop_config.json on macOS, %APPDATA%\Claude\claude_desktop_config.json on Windows):

{
  "mcpServers": {
    "linkguard": {
      "command": "uvx",
      "args": ["linkguard-mcp"],
      "env": {
        "LINKGUARD_API_KEY": "lg_your_key_here"
      }
    }
  }
}

Restart Claude Desktop after saving. You should see LinkGuard listed in the tools panel.

Claude Code setup

claude mcp add linkguard -- uvx linkguard-mcp

Then set your API key in the environment before starting a session:

export LINKGUARD_API_KEY=lg_your_key_here

Or add it to your shell profile so it is always available.

Environment variables

Variable Required Default Description
LINKGUARD_API_KEY Yes Your lg_... API key from the dashboard.
LINKGUARD_API_URL No https://linkguard.ai Override the API base URL (for self-hosted or staging).

Manual run (for testing)

LINKGUARD_API_KEY=lg_your_key_here uvx linkguard-mcp

Or after installing locally:

pip install -e .
LINKGUARD_API_KEY=lg_your_key_here linkguard-mcp

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

linkguard_mcp-0.1.0.tar.gz (15.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

linkguard_mcp-0.1.0-py3-none-any.whl (13.1 kB view details)

Uploaded Python 3

File details

Details for the file linkguard_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: linkguard_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 15.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.8

File hashes

Hashes for linkguard_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 216df8df61baebd75e5b7edc28483b12d95107de2278df9c3630b246062a88a3
MD5 6089a526e90877ad5bcf3dd08f8759c3
BLAKE2b-256 440e22ceccbd93daad05a542f2cc1f66e3da10865317f66bf4af04299ce1c9fa

See more details on using hashes here.

File details

Details for the file linkguard_mcp-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for linkguard_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f51568ba168859244bfcd8ea7b777b39e6f038007478381a96134dbf71ac6645
MD5 c4fab38c11250acabd4718ab7f2438eb
BLAKE2b-256 f0132b275df30470acdaf4867017d8bb652b29852ded8f65e3fb29722142cffe

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page