# crowdsentinel-mcp-server [Health: Active]

**Category:** 🔒 Security  
**Repository:** https://github.com/thomasxm/CrowdSentinels-AI-MCP  
**GitHub Stars:** 204  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/crowdsentinel-mcp-server

## Description
AI-powered threat hunting and incident response MCP server for Elasticsearch/OpenSearch

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `uvx` (confidence: high):

```json
"mcpServers": {
  "crowdsentinel-mcp-server": {
    "command": "uvx",
    "args": ["crowdsentinel-mcp-server"],
    "env": {
      "ELASTICSEARCH_HOSTS": "",
      "ELASTICSEARCH_API_KEY": "",
      "ELASTICSEARCH_USERNAME": "",
      "ELASTICSEARCH_PASSWORD": "",
      "VERIFY_CERTS": ""
    }
  }
}
```

**Requires environment variables:** `ELASTICSEARCH_HOSTS`, `ELASTICSEARCH_API_KEY`, `ELASTICSEARCH_USERNAME`, `ELASTICSEARCH_PASSWORD`, `VERIFY_CERTS` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What crowdsentinel-mcp-server MCP server does

crowdsentinel-mcp-server MCP server gives MCP-compatible agents a security investigation layer over Elasticsearch and OpenSearch. It supports natural-language threat hunting, incident response workflows, IoC tracking, forensic timelines, and correlation between findings from different analysis tools.

The package includes 139 MCP tools and 6,060 bundled detection rules in Lucene, EQL, and ES|QL formats. Its supported investigation sources include Elasticsearch, OpenSearch, Windows EVTX logs, PCAP files, live Velociraptor endpoint data, and local osquery results. Nine MCP resources provide investigation playbooks, Pyramid of Pain material, and cross-correlation guidance.

## How it works

The server receives requests from an MCP-compatible AI client and uses the configured Elasticsearch or OpenSearch backend for security data queries. Investigation state is retained in an 8 GB FIFO store, allowing IoCs, timelines, and relationships discovered in one session or tool to inform later queries.

Schema-aware hunting adapts queries to field conventions associated with ECS, Sysmon, Windows Security, auditd, Zeek, Packetbeat, and AWS CloudTrail. Encoded commands can be decoded across base64, UTF-16LE, gzip, and hexadecimal layers so indicators embedded in commands can be extracted.

Optional integrations extend the analysis workflow. Chainsaw handles EVTX analysis, tshark supports PCAP work, and the Velociraptor extra adds 25 tools for live endpoint artefact collection, including processes, network data, persistence, execution evidence, NTFS MFT, SRUM, and remote EVTX. The project also provides a standalone CLI for terminal-based hunting without an MCP client.

## Setup and configuration

Install the package with pip or uv, or invoke the Elasticsearch 8.x server directly with uvx. Separate uvx entry points are provided for Elasticsearch 7.x, Elasticsearch 9.x, and OpenSearch 1.x/2.x/3.x. The `crowdsentinel setup` command downloads the Chainsaw binary and Sigma rules into `~/.crowdsentinel/`; the detection rules included in the package need no download.

Set `ELASTICSEARCH_HOSTS` to the backend URL. Authentication can use `ELASTICSEARCH_API_KEY` or `ELASTICSEARCH_USERNAME` and `ELASTICSEARCH_PASSWORD`. `VERIFY_CERTS` controls certificate verification. The `crowdsentinel doctor` command checks connector readiness without making external calls.

Install the `velociraptor` extra for live endpoint tools and the `deobf` extra for additional Chepy-based decoding coverage. PCAP analysis requires tshark or the Wireshark command-line package installed separately.

## Tools and capabilities

- Query Elasticsearch and OpenSearch using natural-language investigations
- Run detection logic using bundled Lucene, EQL, and ES|QL rules
- Track IoCs, timelines, and cross-tool relationships
- Analyze EVTX logs, PCAP files, endpoint artefacts, and local host data
- Expose investigation playbooks and forensic reference resources
- Decode layered command obfuscation and surface embedded indicators

## Limitations and notes

crowdsentinel-mcp-server is marked as active development software for security testing, research, and education. The project states that it is not production-ready and that APIs, tool interfaces, and data formats may change without notice. Optional analysis features require their associated tools, extras, or system dependencies. The server is intended for use with an MCP-compatible client or through its standalone CLI.

_Full upstream README: https://allmcps.com/mcp/crowdsentinel-mcp-server/readme_

