Skip to main content
ClaudeWave
sanjay-amu avatar
sanjay-amu

kafka-sentinel-mcp

View on GitHub

Read-only Kafka observability for AI agents — MCP server

MCP ServersOfficial Registry0 stars0 forksPythonMITUpdated yesterday
Install in Claude Code / Claude Desktop
Method: pip / Python · kafka-sentinel-mcp
Claude Code CLI
claude mcp add kafka-sentinel-mcp -- python -m kafka-sentinel-mcp
claude_desktop_config.json (Claude Desktop)
{
  "mcpServers": {
    "kafka-sentinel-mcp": {
      "command": "python",
      "args": ["-m", "kafka-sentinel-mcp"]
    }
  }
}
1. Run the command above in your terminal (Claude Code), or paste the JSON config into claude_desktop_config.json (Claude Desktop).
2. Replace any <placeholder> values with your API keys or paths.
3. Restart Claude. The MCP server and its tools appear automatically.
💡 Install first: pip install kafka-sentinel-mcp
Use cases

MCP Servers overview

# kafka-sentinel-mcp

**Give AI agents safe, read-only eyes on your Kafka clusters.**

An [MCP (Model Context Protocol)](https://modelcontextprotocol.io) server that exposes Kafka cluster health, consumer lag, partition state, and replay-readiness as structured tools — so LLM agents (Claude, or any MCP client) can diagnose streaming incidents without ever being able to break anything.

Built by an engineer who spent a decade running Kafka-based financial messaging at 99.999% availability, and got tired of every "AI + Kafka" demo assuming write access to production.

## Why this exists

When a consumer group stalls at 3 a.m., the questions are always the same: Is it lag? A stuck partition? A rebalance storm? An offset reset gone wrong? These are pattern-matching questions — exactly what LLM agents are good at — but no operator will hand an agent admin rights on a production cluster.

`kafka-sentinel-mcp` draws a hard line: **every tool is read-only by design**, enforced at the client-config level (no admin operations are even imported). The agent can observe, correlate, and recommend; a human executes.

## Tools

| Tool | What it returns |
|---|---|
| `cluster_health` | Broker count, controller status, under-replicated / offline partition counts |
| `consumer_lag` | Per-group, per-topic, per-partition lag with committed vs end offsets |
| `topic_audit` | Replication factor, min.insync.replicas, retention, and flags configs that violate durability best practice |
| `partition_state` | Leaders, ISR shrinkage, skew across brokers |
| `replay_readiness` | For a group + topic: earliest available offsets vs committed, i.e., "can we still replay what we missed?" |
| `incident_snapshot` | One-call bundle of all the above, timestamped — designed for pasting into a postmortem |

## Quick start

```bash
pip install kafka-sentinel-mcp   # (or: uv tool install)

# Run against your cluster (read-only credentials!)
KAFKA_BOOTSTRAP=localhost:9092 kafka-sentinel-mcp
```

Add to Claude Desktop / any MCP client:

```json
{
  "mcpServers": {
    "kafka-sentinel": {
      "command": "kafka-sentinel-mcp",
      "env": { "KAFKA_BOOTSTRAP": "broker1:9092,broker2:9092" }
    }
  }
}
```

Then ask your agent: *"Why is the payments-consumer group falling behind, and can we still replay from where it stalled?"*

## Security posture

- Read-only: no produce, no topic/config mutation, no offset commits, no ACL ops.
- Supports SASL/SSL; credentials via env only, never logged.
- Every tool call is logged with caller context for audit.
- Recommended: run with a Kafka principal that has `Describe`/`Read` ACLs only — the server degrades gracefully and reports what it can't see.

## Status

Early. See [ROADMAP.md](ROADMAP.md). Issues and PRs welcome — especially war stories about what you wish an agent could have told you during an incident.

## License

MIT

<!-- mcp-name: io.github.sanjay-amu/kafka-sentinel-mcp -->

kafkallm-agentsmcpmodel-context-protocolobservabilitypythonsre

What people ask about kafka-sentinel-mcp

What is sanjay-amu/kafka-sentinel-mcp?

+

sanjay-amu/kafka-sentinel-mcp is mcp servers for the Claude AI ecosystem. Read-only Kafka observability for AI agents — MCP server It has 0 GitHub stars and was last updated yesterday.

How do I install kafka-sentinel-mcp?

+

You can install kafka-sentinel-mcp by cloning the repository (https://github.com/sanjay-amu/kafka-sentinel-mcp) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.

Is sanjay-amu/kafka-sentinel-mcp safe to use?

+

sanjay-amu/kafka-sentinel-mcp has not been audited yet by our security agent. Review the original repository on GitHub before using it in production.

Who maintains sanjay-amu/kafka-sentinel-mcp?

+

sanjay-amu/kafka-sentinel-mcp is maintained by sanjay-amu. The last recorded GitHub activity is from yesterday, with 0 open issues.

Are there alternatives to kafka-sentinel-mcp?

+

Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.

Deploy kafka-sentinel-mcp to your cloud

Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.

Maintain this repo? Add a badge to your README

Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.

Featured on ClaudeWave: sanjay-amu/kafka-sentinel-mcp
[![Featured on ClaudeWave](https://claudewave.com/api/badge/sanjay-amu-kafka-sentinel-mcp)](https://claudewave.com/repo/sanjay-amu-kafka-sentinel-mcp)
<a href="https://claudewave.com/repo/sanjay-amu-kafka-sentinel-mcp"><img src="https://claudewave.com/api/badge/sanjay-amu-kafka-sentinel-mcp" alt="Featured on ClaudeWave: sanjay-amu/kafka-sentinel-mcp" width="320" height="64" /></a>

More MCP Servers

kafka-sentinel-mcp alternatives