# Ahrefs

## Tools Used

### site-explorer-metrics-by-country
- **Purpose**: Get country-level organic traffic distribution
- **Usage**: Analyze which countries drive traffic to identify international SEO opportunities
- **Parameters**: `target` (domain), `country` (optional filter)
- **Example**:
  ```
  mcp__ahrefs__site-explorer-metrics-by-country:
    target: example.com
  ```

### site-explorer-organic-keywords
- **Purpose**: Get organic keyword rankings filtered by country
- **Usage**: Analyze keyword performance in specific markets
- **Parameters**: `target` (domain), `country` (ISO country code)
- **Example**:
  ```
  mcp__ahrefs__site-explorer-organic-keywords:
    target: example.com
    country: kr
  ```

## Configuration

- Ahrefs MCP server must be connected in Claude Desktop
- API access requires active Ahrefs subscription

## Common Patterns

### Country Traffic Analysis
1. Call `site-explorer-metrics-by-country` to get traffic distribution
2. Identify top countries by organic traffic share
3. Compare with hreflang implementation coverage
4. Flag countries with traffic but no localized version

### Keyword Gap by Market
1. Call `site-explorer-organic-keywords` with country filter
2. Compare keyword counts across target markets
3. Identify markets with low keyword coverage
4. Recommend content localization priorities
