• PERCENTAGE
  • RATIO
  • CONTEXT
  • HUMAN

How to calculate keyword density with your agent

Connect your agent to the Keyword Extractor to run math-based density checks on any text. Your agent handles the counting while you focus on the content.

Ask AI about this page

Our technology reaches across leading technology and enterprise teams.

  • Amazon
  • NVIDIA
  • Red Hat
  • Fidelity Investments
  • Intuit
  • OLX Brasil
  • Writesonic
  • Artium
  • Trolley
Bunny World Voxel Workspace

Short answer

How do I find the keyword density of a specific term?

Your agent uses the calculate_term_density tool to divide the frequency of a specific term by the total word count of your text. This gives you a precise mathematical score for how much that term dominates the block. You'll see the exact percentage for any word or phrase you choose.

The results.

Where your data lands.

Your agent processes your text and delivers these specific data points.

PERCENTAGE

Exact density score

The tool calculates the specific percentage of the text occupied by your target term. You get a clean number to compare against SEO benchmarks.

RATIO

Term frequency ratio

Your agent provides the ratio of the target term relative to the total word count. This helps you see if you are over-optimizing or under-serving a topic.

CONTEXT

Term distribution

Your agent identifies where the term appears throughout the block. This shows if the keyword is clustered or spread out evenly.

HUMAN

Manual content adjustment

Your agent provides the math, but you decide if the density feels natural. You'll need to rewrite sections if the score is too high or too low.

The workflow

What your agent does when the text arrives.

Your agent moves from raw text to mathematical proof in a few steps.

  1. Text ingestion

    Your agent reads the raw text block you provide in the chat. It prepares the string for mathematical analysis.

    calculate_term_density
  2. Term isolation

    Your agent identifies each instance of your specific target term. It accounts for exact matches within the text.

    calculate_term_density
  3. Math execution

    Your agent runs the density calculation by dividing term occurrences by the total word count. This produces the final density score.

    calculate_term_density
  4. Result delivery

    Your agent presents the final percentage and ratio in your chat window. You receive the data ready for your report.

    calculate_term_density

Vinkius Agentic Execution Platform

State the outcome. Agents take it from there.

You don't have to drive this run by hand. Inside the Vinkius Agentic Execution Platform, agents pick up the task above and carry it to the end: you set the limits, you watch the steps, you keep all decisions.

Run it in Vinkius

Agents carry the task to the end

Agents execute Keyword Extractor Engine tasks from end to end inside the Vinkius Agentic Execution Platform: set the outcome, and the steps run.

Take it to any compatible AI

One connection, any client

Same connection follows you to ChatGPT, Claude, Gemini and any other client you love. Switch whenever you want: your connection, your permissions and your record move with you.

Spaces

One Space per activity

A Space gathers the context, tools and tasks of one activity, so you coordinate several agents at once and follow each execution as it happens.

Limits

Autonomy inside limits you set

Permissions and spending limits are yours to define. Agents halt for your approval on anything sensitive, and you choose how far autonomy goes, step by step or end to end.

Record

All steps, on the record

Each action your agents take lands in a signed audit trail. Results are verified, mistakes are learned from, and an emergency stop is one click away.

Models

Included in your plan

A curated selection of AI models is included in your plan, and you can add your own through BYOK whenever you prefer.

Try it

Copy these to start.

Use these prompts to trigger the density calculation immediately.

Starting points

Swap the bracketed text for your actual content or specific keywords.

Keyword Extractor Engine Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_pI6NO6ZkNzeuheRsFlhUgGz8DmheaeJNHApCwOY7/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat, Keyword Extractor Engine capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "keyword-extractor-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_pI6NO6ZkNzeuheRsFlhUgGz8DmheaeJNHApCwOY7/mcp"
    }
  }
}
Copy into chat04
  • 01

    Calculate the density of the term [keyword] in this document: [paste text]

  • 02

    How much does the phrase [target phrase] dominate this blog post: [paste text]?

  • 03

    Check the density of [term] in this markdown file: [paste text]

  • 04

    Run a density check for [keyword] on this email draft: [paste text]

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect Keyword Extractor once, then ask.

Click the link to connect the MCP to your client. Once connected, your agent can run density checks on anything you paste into the chat.

Connect Keyword Extractor to your agent

FAQ

How this task behaves.

  • 01

    Can your agent change my text to fix low density?

    No. The tool only calculates the math. You must manually edit the text if you want to change the density.

  • 02

    Does your agent count partial word matches?

    No. The tool looks for the specific term you provide. It does not automatically include variations unless you ask for them.

  • 03

    Can I calculate density for a whole website?

    No. You must provide the specific text block you want to analyze in the chat.

  • 04

    Will your agent delete my original text?

    No. Your agent only reads the text to perform the calculation. It never modifies or deletes your source data.

  • 05

    Does it handle case sensitivity?

    The tool treats the term as a specific string. You should specify if you want to include or exclude certain casing.

  • More questions about Keyword Extractor? The Connector page answers them. See everything the Keyword Extractor Connector can do

Building with AI? Ship this whole workflow in your product.

Vinkius Connect is the connectivity layer for AI builders. All the capabilities used on this page, from Keyword Extractor Engine to thousands more, arrive through one SDK, already maintained for you. One Application, unlimited seats, each with their own connectors and credentials, isolated and never exposed to Vinkius. No OAuth flows to write, no tokens to store, no APIs to chase.

Explore Vinkius Connect

TypeScript · Python · Java · Go · C# · PHP · Rust

  • 01

    Your customers bring their own keys.

    Each user connects their own apps and keeps their own credentials. Vinkius only sees the identifier your backend sends.

  • 02

    Whole catalog, kept current.

    Keyword Extractor Engine plus thousands more, maintained and growing daily. No integrations to write, no token storage, no OAuth plumbing.

  • 03

    Any agent, any model.

    Capabilities land as framework-neutral objects, with adapters for OpenAI, Anthropic, Gemini, the Vercel AI SDK, LangChain and more.

Connect Keyword Extractor Engine to Claude, Cursor, ChatGPT & more

From idea to done

See what gets done when the agents take over the busywork

Each workflow on this page runs on the same platform. Connect your tools once, and your agents keep working in any AI you trust.