kafka-dataops-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@kafka-dataops-mcp check consumer lag for group my-flink-app"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
kafka-dataops-mcp
mcp-name: io.github.Aguantar/kafka-dataops-mcp
A DataOps-focused Kafka MCP server with consumer lag diagnosis and broker health monitoring. Diagnosis logic is based on actual CDC pipeline operational experience.
Features
kafka_consumer_lag— Consumer group lag with incident-pattern diagnosiskafka_topic_info— Topic details with ISR/replication health checkskafka_broker_status— Cluster health: brokers, controller, under-replicated partitionskafka_list_topics— Topic catalog with built-in descriptions
Diagnosis based on real incidents
The diagnosis logic is not generic — it's based on actual operational experience:
Flink crash detection: "no active members" + growing lag = likely Flink Job failure (based on a 46-hour outage caused by MySQL DELETE → Debezium tombstone → Flink NPE)
Checkpoint vs consumer group: warns that Kafka consumer group reset alone is insufficient for Flink — checkpoints must be deleted first
ClusterIdMismatch: detects missing brokers and suggests Docker volume conflict as root cause
ISR monitoring: ISR < min.insync.replicas = write failures (critical)
Related MCP server: kafka-mcp
Installation
pip install kafka-dataops-mcpUsage with Claude Code
Add to your .mcp.json:
{
"mcpServers": {
"kafka": {
"command": "kafka-dataops-mcp",
"env": {
"KAFKA_BOOTSTRAP_SERVERS": "localhost:9092"
}
}
}
}Environment Variables
Variable | Default | Description |
|
| Kafka bootstrap servers |
|
| Command timeout in seconds |
License
MIT
Available Tools
4 toolskafka_broker_statusA
Check Kafka cluster health: brokers, controller, under-replicated partitions.
Detects:
Missing brokers (expected 3 for this cluster)
ClusterIdMismatch pattern (Docker volume recreation issue)
Under-replicated partitions across all topics
Inputs: no named parameters. Returns: result
kafka_consumer_lagA
Monitor consumer group lag with operational diagnosis.
Checks committed offsets vs log-end-offsets for each partition and generates diagnosis based on actual incident patterns:
Flink groups with "no active members" is NORMAL (checkpoint-based offset management)
Flink groups with no active members AND growing lag = likely Flink crash (matches 2026-02-21 incident: MySQL DELETE → tombstone → NPE → 50h outage)
Non-Flink groups with no active members = consuming application is down
Uneven lag distribution = possible hot partition or stuck consumer
Args: group: Consumer group ID. Empty = all groups.
Inputs: group. Returns: result
kafka_list_topicsA
List all Kafka topics with partition count, replication factor, and descriptions.
Built-in descriptions for known topics (CDC pipeline, Circuit Connect).
Args: include_internal: Include internal topics starting with '_' (default: False)
Inputs: include_internal. Returns: result
kafka_topic_infoA
Get topic details: partitions, replicas, ISR, configs, and health diagnosis.
Checks replication health:
ISR < min.insync.replicas = writes FAILING (critical)
ISR < replication.factor but >= min.insync.replicas = degraded (warning)
Retention policy info (size-based deletion warnings)
Args: topic: Topic name to inspect
Inputs: topic (required). Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool targets a distinct aspect of Kafka operation: cluster health, consumer lag, topic listing, and topic details. No functional overlap.
All tools start with 'kafka_' but mix verb-noun ('list_topics') and noun phrases ('broker_status'). Still predictable and readable.
Four tools is reasonable for a monitoring-focused server. Could expand with more actions but not too sparse.
Covers key diagnostic needs (health, lag, topic details) but lacks topic creation or consumer group management. Adequate for observability.
Maintenance
Related MCP Connectors
Kafka and Postgres Monitoring Stack
MCP-Native LLM Orchestration Agent
Streamkap CLI & MCP server - manage CDC pipelines, sources, destinations, and transforms
AI-powered incident management and server monitoring via MCP.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to manage and monitor Apache Kafka clusters through natural language, providing real-time operations, health monitoring, consumer lag analysis, and temporal trend detection for intelligent cluster management.-
- AlicenseBqualityCmaintenanceMCP server for Apache Kafka that allows LLM agents to inspect topics, consumer groups, and safely manage offsets (reset, rewind).1914Apache 2.0
- AlicenseAqualityDmaintenanceA comprehensive Model Context Protocol (MCP) server for Grafana, Prometheus, Kafka UI, and Datadog. Features a secure "Bring Your Own Key" (BYOK) architecture where credentials stay local. Provides tools for metrics querying, dashboard inspection, Kafka lag monitoring, and unified health checks.2325 npm4MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that gives AI agents real-time observability into Apache Kafka clusters, enabling natural language queries for broker health, consumer lag, and diagnostics.MIT