• RANKED
  • FILTERED
  • HUMAN
  • SUMMARY

How to rank documents by keyword relevance with your agent

Connect this MCP to your AI client to turn raw text files into a sorted, searchable library. Once connected, your agent handles the math to find exactly what you're looking for.

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 sort my files by how much they talk about a specific word?

Your agent uses the TF-IDF Vectorizer Engine to calculate a mathematical score for each document in your set. This score tells you which files are actually relevant to your keyword versus those that mention it passingly. You'll get a ranked list of files ordered from most relevant to least relevant.

Where each result lands.

The outcomes of your search.

The engine processes your files and organizes them into these specific views.

RANKED

Relevance order

Your agent produces a list of files sorted by their TF-IDF score. You get the most important documents at the top.

FILTERED

Keyword matches

The engine isolates only the files that meet your specific term threshold. This clears out the noise from your collection.

HUMAN

Manual review

You decide which high-scoring documents are actually useful for your specific context. Your agent provides the math, but you provide the judgment.

SUMMARY

Topic overview

Your agent identifies which terms are most unique to your document set. This helps you understand the core themes of your data.

The workflow

What your agent does when the files arrive.

Your agent moves from raw text to a structured, mathematical ranking.

  1. Analyze text

    Your agent reads through your provided text files or articles to understand the word distribution.

    calculate_tf_idf
  2. Calculate scores

    The engine runs the TF-IDF algorithm to determine how much each term matters to each document.

    calculate_tf_idf
  3. Rank documents

    Your agent sorts the entire collection based on the calculated relevance scores.

    calculate_tf_idf
  4. Present results

    Your AI client shows you the final list, highlighting the most relevant files first.

    calculate_tf_idf

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 natural 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 once you've connected the MCP.

Starting points

These are starting lines. Replace the bracketed text with your actual folder names or specific keywords.

natural Connector

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

Connector linkhttps://edge.vinkius.com/vk_preview_CzteX5B7baA5kKcgQISGvHapYHeKBksKMIECPMUI/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, natural capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "tf-idf-vectorizer-engine-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_CzteX5B7baA5kKcgQISGvHapYHeKBksKMIECPMUI/mcp"
    }
  }
}
Copy into chat04
  • 01

    Rank the documents in my 'Project_Alpha' folder by how much they discuss 'budgeting'.

  • 02

    Look through the articles in my 'Research_Notes' directory and find the most relevant files for the term 'quantum computing'.

  • 03

    Sort my 'Client_Feedback' folder by relevance to the keyword 'user experience'.

  • 04

    Which files in my 'Legal_Docs' folder are most heavily focused on 'compliance'?

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

Start here

Connect TF-IDF Vectorizer Engine once, then ask.

Click the link to connect the MCP to your client. Your credentials stay encrypted, and you can start ranking files immediately.

Connect TF-IDF Vectorizer Engine to your agent

FAQ

How this task behaves.

  • 01

    Can your agent rewrite my documents to make them more relevant?

    No. This MCP only reads and calculates scores for your existing files. It does not modify your content.

  • 02

    Does your agent delete files that have low relevance scores?

    No. Your agent only ranks and sorts them. Your files remain exactly where they are.

  • 03

    How does it handle files that don't contain the keyword at all?

    Files without the keyword will receive a score of zero and appear at the bottom of your ranked list.

  • 04

    Can I use this to search through my email inbox?

    This specific tool works on text files and articles you provide to your agent. It does not have a tool to access your email directly.

  • 05

    Is the ranking based on meaning or only word counts?

    It uses TF-IDF, which is a mathematical way to weigh how unique a word is to a specific document compared to the whole set.

  • More questions about TF-IDF Vectorizer Engine? The Connector page answers them. See everything the TF-IDF Vectorizer Engine 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 natural 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.

    natural 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 natural 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.