Wazuh LLM Integration: Step-by-Step Guide with Claude
Wazuh LLM integration, step by step: connect Claude or any LLM to your Wazuh SIEM with the open-source Wazuh MCP Server, read-only by default.
By Aloke Majumder · · 2 min read
- Wazuh
- MCP
- Claude
- LLM
- AI SOC
- Agentic AI
- SIEM
Most security teams I talk to want the same thing from AI: ask a question about their environment in plain language and get an answer grounded in their own SIEM data, not a generic chatbot reply. For teams running Wazuh, the cleanest way to do that today is the Model Context Protocol (MCP).
I built the Wazuh MCP Server for exactly this. This guide explains what it does, how to connect Claude to it, and the guardrails that make it safe to put in front of a SOC.
What the Wazuh MCP Server does
MCP is an open protocol that lets an AI client such as Claude call tools on a server. The Wazuh MCP Server exposes your Wazuh deployment as 55 security tools in eight toolsets:
- alerts and agents
- vulnerabilities and threat analysis
- compliance (PCI DSS, HIPAA, SOX, GDPR, NIST and ISO 27001:2022)
- manager and cluster health
- active response, with verification and rollback
So an analyst can ask "which agents raised high-severity alerts in the last 24 hours, and what do they have in common?" and Claude answers by calling those tools against your real data.
Safe by default
Putting an AI in front of a SIEM only works if it can't do damage by accident. The server is read-only by default: the 14 state-changing tools require a wazuh:write scope that is never granted implicitly. Active response, when you do enable it, comes with verification and rollback.
The server also never calls a model itself. It only executes tools, which matters for data residency (more on that below).
Connecting Claude
Deploy the server with Docker Compose or the published multi-arch image, then point your client at its Streamable HTTP endpoint, https://<your-host>/mcp.
- Claude (claude.ai and Claude Desktop): add it as a custom connector. Claude signs in with OAuth 2.0 (authorization code with PKCE); users can authenticate with an API key or through an OpenID Connect provider such as Entra ID, Google Workspace, Okta or Keycloak.
- Open WebUI, LibreChat and scripts: use a bearer token minted from an API key.
The project README has the full configuration, including the OAuth issuer setting you need behind a reverse proxy.
Keeping SIEM data on-premises
Because the server doesn't call a model, you choose where inference happens. If security data must stay inside your network, pair it with a local model: the project ships a vLLM and Open WebUI stack for exactly that, plus toolset filtering for smaller models.
Where this goes next: an agentic SOC
Connecting an assistant is step one. Step two is letting AI agents do the first pass of triage and investigation on their own, with humans approving anything that changes the environment. That is what Wazuh Autopilot does: a 13-agent swarm that works through the Wazuh MCP Server, with policy-gated autonomy and human approvals.
Both projects are open source under the MIT licence. If you want help deploying them or designing an AI-assisted SOC around Wazuh, see consulting or the Agentic SOC lab in training.