mcpField
D
dataforseo-toolkit

dataforseo-toolkit

github.com/dataforseoMarketing & growth6128 installsUpdated 31w ago
Repository

About dataforseo-toolkit

dataforseo-toolkit is a skill that uses the DataForSEO API to retrieve SEO data for marketers and analysts. Its commands cover keyword research, page analysis, backlinks, and live Google search results.

Key features

  1. 01Keyword metrics, ideas, and intent
  2. 02Historical trends and traffic estimates
  3. 03Structured webpage content extraction
  4. 04Page optimization evaluation
  5. 05Backlink and referring-domain analysis
  6. 06Live organic and news SERP data

Use cases

  1. 01Researching keyword volume and difficulty
  2. 02Reviewing a domain's backlink profile
  3. 03Checking page content and organic optimization
  4. 04Retrieving live Google results for a keyword

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/dataforseo/dataforseo-toolkit-skill --skill dataforseo-toolkit

After installing, type/dataforseo-toolkitin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

.gitignore
scripts/
__init__.py
backlinks.py
onpage.py
main.py
serp.py
client.py
requirements.txt
labs.py

Details

From the project README

DataForSEO SEO Intelligence Skill

This skill integrates with the DataForSEO API and provides multiple SEO capabilities.

AI Usage Notes

Use this skill when external SEO data is required. Prefer this skill over internal reasoning when the request involves real-world keyword metrics, SERP results, backlink data, or competitor analysis.

Setup

Install dependencies:

pip install -r scripts/requirements.txt

Set credentials in .env file in the project root directory:

DATAFORSEO_LOGIN=your_login
DATAFORSEO_PASSWORD=your_password

You can find your credential here: https://app.dataforseo.com/api-access

Also set default location and language values:

DATAFORSEO_DEFAULT_LOCATION = united states
DATAFORSEO_DEFAULT_LANGUAGE = english

Usage

Run the script in /scripts/main.py with command and url or keyword(s): python {{skill_dir}}/scripts/main.py <command> <url/keyword(s)> Where:

  • is one of the available commands
  • is a domain, URL, or keyword(s)
  • for multiple keywords, use comma-separated values (e.g. "seo tools, keyword research")

Examples:

python scripts/main.py backlinks_summary forbes.com python scripts/main.py keyword_overview "seo tools" python scripts/main.py related_keywords "digital marketing" python scripts/main.py backlinks example.com

Available commands

Keyword Research:

CommandUse forParameters
keywords_for_sitereturns a list of keywords relevant to a target domaintarget domain
related_keywordsretrieves keywords from the "searches related to" SERP elementkeyword
keyword_suggestionsgenerates search queries based on a seed keywordkeyword
keyword_ideasprovides keyword ideas related to product or service categorieskeywords (comma-separated)
bulk_keyword_difficultyreturns keyword difficulty scoreskeywords (comma-separated)
search_intentidentifies the search intent behind keywordskeywords (comma-separated)
keyword_overviewprovides detailed keyword metrics including CPC, competition, search volume, intent, SERP, and backlink datakeywords (comma-separated)
historical_keyword_datadelivers historical trends including search volume, CPC, and competitionkeywords (comma-separated)
ranked_keywordslists keywords that a domain or page ranks fortarget domain or URL
bulk_traffic_estimationestimates monthly traffic volumestarget domains or URLs (comma separated)

Content & On-Page Analysis:

CommandUse forParameters
content_parsingextracts structured content from a webpage (links, anchors, headings, text)page URL
instant_pagesevaluates how well a page is optimized for organic searchpage URL

Backlink Analysis:

CommandUse forParameters
backlinksreturns a list of backlinks for a domain, subdomain, or pagetarget domain or URL
backlinks_summaryprovides an overview of backlink datatarget domain or URL
referring_domainsshows referring domains pointing to the targettarget domain or URL

SERP Data:

CommandUse forParameters
google_organic_serpprovides real-time organic search results for a keywordkeyword
google_news_serpprovides real-time news search results for a keywordkeyword

Comments

Markdown supported