Connects Claude to Kafka clusters for DataOps monitoring and troubleshooting. Exposes four tools: check consumer group lag with diagnostic patterns, inspect topic configuration and ISR health, view broker status and under-replicated partitions, and list topics. The diagnostics aren't generic, they're based on real production incidents like detecting Flink crashes from inactive consumers plus growing lag, or flagging ClusterIdMismatch from Docker volume conflicts. Reach for this when you're debugging CDC pipelines or need Claude to assess cluster health and consumer lag issues. Configuration is straightforward, just point it at your bootstrap servers via environment variables.
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.
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 descriptionsThe diagnosis logic is not generic — it's based on actual operational experience:
pip install kafka-dataops-mcp
Add to your .mcp.json:
{
"mcpServers": {
"kafka": {
"command": "kafka-dataops-mcp",
"env": {
"KAFKA_BOOTSTRAP_SERVERS": "localhost:9092"
}
}
}
}
| Variable | Default | Description |
|---|---|---|
KAFKA_BOOTSTRAP_SERVERS | localhost:9092 | Kafka bootstrap servers |
KAFKA_COMMAND_TIMEOUT | 10 | Command timeout in seconds |
MIT
KAFKA_BOOTSTRAP_SERVERSKafka bootstrap servers