Contextual Link Scorer
Home/Tools/Link Analysis/Contextual Link Scorer
☍ Link Analysis

Contextual Link Relevance Scorer

v1.0 documentation

Score each internal link by how relevant it is to the surrounding paragraph. Find forced/irrelevant links that hurt UX and dilute topical signals.

URL inputXLSX export
contextual_link_scorer.py119 lines2 paramsPython 3.8+
Quick start
1

Install

terminal
pip install -r requirements.txt
2

Run

terminal
python contextual_link_scorer.py --url https://example.com/post --output context_links.xlsx
3

Export

Add --output report.xlsx to save results as a spreadsheet.

Parameters
FlagDescription
--url requiredUrl
--outputSave as XLSX
help
python contextual_link_scorer.py --help
Use cases
Link audit
Monthly monitoring
Outreach prep

Run as part of a comprehensive site audit. Identify problems, export to XLSX, and include specific fix recommendations in your report.

Schedule monthly runs and compare XLSX exports to track changes. Catch issues before they impact rankings.

Use the output to identify link building opportunities. Export prospects and feed into your outreach pipeline.

Dependencies

Requires: beautifulsoup4, pandas, requests, scikit-learn, sentence-transformers. All included in requirements.txt.

Get all 154 Python SEO tools — $49

One-time payment. Lifetime access. No monthly fees.
Learn 25 tools and get 25% back. Earn from client work and get 50% back.

Get the full toolkit

AAIO Inc — aaioinc.com/tools/contextual_link_scorer/