# Keyword Density Analyzer MCP for AI Agents MCP

> Keyword Density Analyzer calculates keyword frequency, density percentage, and spatial distribution in text to optimize SEO content. This MCP tells you exactly how often a specific term appears and if your writing falls within the optimal 1% to 3% range for search engine visibility.

## Overview
- **Category:** seo
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_3HTLr4SUxluqOuvTeW1Z2IdFr6uODvjFf5VFhprs/mcp
- **Tags:** seo, keyword, content, optimization, text-analysis

## Description

Optimizing content means more than just stuffing keywords; it requires structural analysis. Our Keyword Density Analyzer gives your AI agent precise control over text composition, letting you move beyond guesswork. You can use this MCP to find the exact count and density of any target term in a document. Furthermore, it maps out how those keywords are spread throughout the writing, revealing clusters or uneven gaps that hurt readability. Finally, it checks if your current ratio falls within the optimal 1% to 3% range recommended for search engines. By using this tool through Vinkius, you give your AI client a critical layer of content intelligence, ensuring every piece of written material performs its best for search ranking.

## Prompt Examples

**Prompt:** 
```
I wrote a product page for solar panels and used 'solar' maybe too much. Can you check the keyword density?
```

**Response:** 
```
**Keyword Analysis Report: Solar Panels**

*   **Target Keyword:** solar
*   **Total Count:** 8 instances
*   **Text Length:** 350 words
*   **Density Calculation:** 2.29% 

✅ **Compliance Status:** Optimal.
(The density is within the recommended 1%–3% range for strong search visibility.)
```

**Prompt:** 
```
Where does 'sustainable' appear in this article? I think it’s bunched up.
```

**Response:** 
```
**Keyword Distribution Map: Sustainable**

The keyword was found at the following word indices:
*   Index 12 (Start of paragraph)
*   Index 45 (Mid-sentence)
*   Index 89 (End of paragraph)

This spread suggests good natural integration. The distribution is wide and even throughout the text.
```

**Prompt:** 
```
Is this article density acceptable? I'm worried it’s too low.
```

**Response:** 
```
**SEO Density Check**

| Metric | Value |
| :--- | :--- |
| Target Keyword: 'AI agents' | 3 times |
| Total Word Count | 400 words |
| Calculated Density | 0.75% |

⚠️ **Compliance Status:** Low Risk.
The density falls below the optimal threshold, suggesting you need to integrate the keyword more often.
```

## Capabilities

### Determine Keyword Count and Density
It calculates the precise number of times a target term appears in your text and provides the resulting density percentage.

### Map Keyword Placement
You can visualize where keywords appear in the document, identifying if they are clustered together or spread out evenly for better flow.

### Validate SEO Compliance
The MCP compares your current keyword density against established optimal ranges (1% to 3%) and flags any risks.

## Use Cases

### A new article needs a density check
The marketing writer asks their agent to run `calculate_keyword_frequency` on the draft. The response shows that while the keyword 'sustainability' is used 5 times, resulting in only a 1.2% density, it’s within the optimal range and ready for review.

### Keyword placement feels weird
The editor uses `map_keyword_distribution` to check if the keyword 'AI tools' appears too often at the start of paragraphs. The report shows a cluster at word indices 10 and 15, prompting the writer to spread them out for better flow.

### Is my content too keyword-stuffed?
A client runs `check_density_compliance` on an old piece of content. The MCP flags a density of 4.5%, classifying it as 'High' risk and requiring the writer to immediately dilute the term usage.

### Need to compare multiple versions
The team uses this MCP repeatedly, running analyses on three different drafts. They can then compare all results side-by-side, confirming that each version hits the 1% to 3% density mark while maintaining natural language.

## Benefits

- Pinpoint exact keyword usage: Use `calculate_keyword_frequency` to get the precise count and percentage density of a term, eliminating guesswork.
- Improve readability flow: Run `map_keyword_distribution` to see where keywords actually land in your text, ensuring they are spread naturally instead of clumped together.
- Reduce SEO risk immediately: The MCP uses `check_density_compliance` to confirm your density stays within the sweet spot of 1% to 3%.
- Stop wasting time on drafts that miss the mark: You get instant, objective feedback on content structure and keyword usage before hitting publish.
- Maintain consistency across large sites: Use this MCP to audit hundreds of articles quickly, ensuring every piece meets uniform SEO standards.

## How It Works

The bottom line is that you get measurable data points on keyword usage that let you adjust your writing until it hits peak search engine performance.

1. Feed the Keyword Density Analyzer your source text and specify the target keyword you want to analyze.
2. The MCP runs three checks: frequency count, density calculation, and distribution mapping across the document's word indices.
3. Your AI client receives a comprehensive report detailing the exact percentages achieved and whether they meet optimal SEO standards.

## Frequently Asked Questions

**How do I check if my keyword density is too high?**
Use the `check_density_compliance` tool with your calculated percentage to see if it falls into the 'High' risk tier. Tools available: `your_tool_name`.

**Can I see where keywords are located in my text?**
Yes, the `map_keyword_distribution` tool provides the exact word indices and relative positions of every occurrence.

**What is the ideal keyword density?**
For optimal SEO performance, aim for a density between 1% and 3%.