• OUTLIERS
  • NORMAL
  • HUMAN
  • SUMMARY

How to detect anomalous traffic with your AI

Connect the K-Means Cluster Engine to your AI client to isolate unusual network behavior. Once linked, your agent handles the heavy lifting of pattern recognition.

Ask AI about this page

Short answer

How can I find suspicious traffic patterns using AI?

Your AI runs K-Means clustering on your traffic logs to group standard requests and isolate outliers. This separates routine server activity from the anomalies that signal a potential attack. You get a clear list of suspicious data points to investigate.

Where every issue lands.

The outcomes of clustering

The AI processes your raw logs and organizes the results into these categories.

OUTLIERS

Suspicious access patterns

The AI identifies data points that fall outside standard clusters. These are the specific requests that look like bot activity or unauthorized access.

NORMAL

Standard traffic baseline

The engine groups typical user behavior into stable clusters. This provides the context needed to prove what constitutes an anomaly.

HUMAN

Manual review needed

The AI flags high-variance outliers that don't fit any known pattern. You decide if these specific hits require a block or a deeper look.

SUMMARY

Cluster distribution report

The agent summarizes how many clusters were formed and the density of each. This helps you understand the scale of the traffic shift.

The workflow

What your AI does when the logs arrive.

The AI handles the mathematical heavy lifting so you don't have to write clustering algorithms manually.

  1. Ingest traffic data

    Your agent pulls the raw access logs or network telemetry you provide for analysis.

    calculate_kmeans
  2. Run clustering

    The engine applies the K-Means algorithm to the dataset to find natural groupings in the traffic.

    calculate_kmeans
  3. Isolate outliers

    The AI calculates the distance of each point from its cluster center to find the anomalies.

    calculate_kmeans
  4. Report findings

    The agent presents the identified outliers and the characteristics of the normal traffic clusters.

    calculate_kmeans

Try it

Copy these to start.

Use these prompts to trigger the clustering process immediately.

Starting points

Swap the bracketed text for your actual log file names or data sources.

K-Means Cluster Engine Connector

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

Connector linkhttps://edge.vinkius.com/vk_preview_6Ww4kVrA1RFFv9i4y5sPargfFbR4nVocQXy4cCBt/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 — K-Means Cluster Engine capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "k-means-cluster-engine-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_6Ww4kVrA1RFFv9i4y5sPargfFbR4nVocQXy4cCBt/mcp"
    }
  }
}
Copy into chat04
  • Run a K-Means cluster on the traffic logs in /var/log/nginx/access.log to find outliers.

  • Analyze the recent connection data from the security_audit.csv file and identify suspicious IPs.

  • Look at the cluster distribution for the last hour of server traffic and tell me if anything looks weird.

  • Group the request patterns in the network_telemetry.json file and highlight the outliers.

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

Start here

Connect K-Means Cluster Engine once, then ask.

Just one connection link is required. Your credentials stay encrypted, and you can start asking questions about your data right away.

Connect K-Means Cluster Engine to your AI

FAQ

How the clustering behaves

  • 01

    Can the AI automatically block the suspicious IPs it finds?

    No. The AI only identifies and flags the outliers. You must manually trigger any blocking actions in your firewall or security tools.

  • 02

    Does the AI change my original log files?

    No. The AI only reads the data to perform calculations. It never modifies or deletes your source logs.

  • 03

    How does it decide what is an outlier?

    It uses the K-Means algorithm to find the mathematical distance between data points and their nearest cluster center.

  • 04

    Can I use this for real-time traffic monitoring?

    The AI processes the data you provide. It does not actively sit on your network stream unless you feed it continuous log updates.

  • 05

    What kind of data can I feed it?

    You can provide any structured traffic data, such as CSV, JSON, or standard text-based server logs.

  • More questions about K-Means Cluster Engine? The Connector page answers them. See everything the K-Means Cluster Engine Connector can do

Connect K-Means Cluster Engine to Claude, Cursor, ChatGPT & more