semrush-mcp: Skill for Claude Code

.claude/skills/semrush-cli/SKILL.md

semrush-cli is a skill for Claude Code from mrkooblu/semrush-mcp. It costs 25 tokens per session (1,818 once invoked), scanned A, original, MIT.

A command-line interface for SEMrush, a service that provides data about keywords, websites, search traffic, and backlinks. It uses a local command named semrush and requires a SEMrush API key.

In plain words
What is it for?
Use it to research keywords, inspect a domain, study backlinks and traffic, and compare competitors, with text or JSON output.
Why use it?
It lets developers request research and domain data from the terminal instead of working through a separate web interface.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

This is mrkooblu/semrush-mcp's own configuration. It tells Claude Code how to work on semrush-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything semrush-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to mrkooblu/semrush-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/mrkooblu/semrush-mcp/main/.claude/skills/semrush-cli/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/mrkooblu/semrush-mcp

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for semrush-cli

README.md
[![agentmods](https://agentmods.dev/badge/skills/mrkooblu/semrush-mcp/semrush-cli/github.svg)](https://agentmods.dev/skills/mrkooblu/semrush-mcp/semrush-cli)
Your own site
<a href="https://agentmods.dev/skills/mrkooblu/semrush-mcp/semrush-cli"><img src="https://agentmods.dev/badge/skills/mrkooblu/semrush-mcp/semrush-cli/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for semrush-cli

Your own site · 80×15
<a href="https://agentmods.dev/skills/mrkooblu/semrush-mcp/semrush-cli"><img src="https://agentmods.dev/badge/skills/mrkooblu/semrush-mcp/semrush-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,818 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00025 $0.01818
Opus 5.5 $0.00010 $0.00727
Sonnet 5.5 $0.00005 $0.00364
Haiku 4.5 $0.00003 $0.00182

Measured 2mo ago against content hash 5ff5a46b2ada, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

semrush-cli scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/semrush-cli/SKILL.md · 253 lines

How it starts

The opening of the file, as written. The whole thing — 253 lines — stays where its author put it; the contents beside it link to each section on GitHub.

SEMrush CLI (Local)

Fast keyword research, domain analytics, backlinks, traffic analysis, and competitive intelligence using the locally installed semrush CLI. This CLI is built from the unified semrush-mcp repo and shares the same API client as the MCP server.

Arguments

$ARGUMENTS

  • A keyword, domain, or command to run (e.g., "seo tools", "example.com", "kw seo --related")
  • If blank, will prompt for a target

Prerequisites

The CLI is installed globally from the semrush-mcp repo. Verify it's available:

semrush --version

Ensure SEMRUSH_API_KEY is set in your environment or .env file.

Available Commands

1. Quick Overview

Auto-detects whether the target is a keyword or domain and returns the appropriate overview.

semrush q "seo tools"           # Keyword overview
semrush q example.com           # Domain overview
semrush quick "content marketing" -d uk  # Specify database

Options:

  • -d, --database <db>: Country database code (default: us)
  • -f, --format <fmt>: Output format — text or json (default: text)

2. Keyword Research

In-depth keyword analysis with multiple sub-commands.

# Basic keyword overview
semrush kw "content marketing"

# Related keywords
semrush kw "seo" --related -l 20

# Question-based keywords
semrush kw "marketing" --questions -l 10

# Broad match keywords
semrush kw "email marketing" --broad -l 15

# SERP organic results (who ranks for this keyword)
semrush kw "seo tools" --organic -l 10

# SERP paid results
semrush kw "ppc software" --paid -l 10

Options:

  • --related: Get related keywords
  • --questions: Get question-based keyword variations
  • --broad: Get broad match keywords
  • --organic: Get organic SERP results for the keyword
  • --paid: Get paid SERP results for the keyword
  • -d, --database <db>: Country database code (default: us)
  • -l, --limit <n>: Number of results to return
  • -f, --format <fmt>: Output format — text or json (default: text)

3. Batch Keyword Difficulty

Analyze difficulty scores for multiple keywords at once.

Read the full file on GitHub · 253 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 253 lines · 25 tokens per session scan A 5ff5a46b2ada

Subscribe to this mod's changes

semrush-cli is a skill published in the GitHub repository mrkooblu/semrush-mcp (40 stars, last pushed 1mo ago), licensed MIT. It adds 25 tokens to every session and 1,818 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

semrush-cli compared with skills from other repositories

semrush-cli next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
semrush-climrkooblu/semrush-mcpSkill401mo agoMITA25Claude Code
imagegenopenai/codexSkill133kyesterdayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill99kyesterdayApache-2.0A19Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill79k4d agoMITA200Claude Code, Codex
systematic-debuggingobra/superpowersSkill313k3d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill143ktodayMITA95Claude Code
next-partial-prefetching-adoptionvercel/next.jsSkill143ktodayMITA103Claude Code