CrowdSentinel MCP Server
Lets your AI agent hunt threats and investigate incidents in Elasticsearch or OpenSearch, with endpoint and network forensics.
204 stars on GitHubby thomasxmLicense GPL-3.0Updated 4 months ago
How to install
This MCP is local: it runs on your computer.
It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Codeβ¦). Choose your app:
Paste in the terminal:
claude mcp add crowdsentinel -- uvx crowdsentinel-mcp-server
What to fill in
| Name | What it is | Required |
|---|---|---|
ELASTICSEARCH_HOSTS | Comma-separated Elasticsearch hosts. Supports HTTP/HTTPS, local/remote/cloud (e.g., http://localhost:9200, https://es.prod.example.com:9200) | No |
ELASTICSEARCH_CLOUD_ID | Elastic Cloud deployment ID (alternative to ELASTICSEARCH_HOSTS for cloud deployments) | No |
ELASTICSEARCH_API_KEY | API key for authentication (recommended for production and Elastic Cloud) | No |
ELASTICSEARCH_USERNAME | Username for basic authentication (alternative to API key) | No |
ELASTICSEARCH_PASSWORD | Password for basic authentication (used with ELASTICSEARCH_USERNAME) | No |
ELASTICSEARCH_BEARER_TOKEN | Bearer/service token for authentication (alternative to API key) | No |
VERIFY_CERTS | TLS certificate verification: true (verify CA β production), false (skip β dev/test), or /path/to/ca.crt (custom CA) | No |
REQUEST_TIMEOUT | Request timeout in seconds (e.g., 60 or 10.5) | No |
Ready! Now test it
Restart the app and paste one of these requests in the chat:
Hunt for encoded PowerShell commands in winlogbeat indices.
Analyze this PCAP file for beaconing.
What it is
CrowdSentinel connects an AI agent to security data so you can hunt for threats in plain English. It works with Elasticsearch and OpenSearch, Windows event logs, packet captures, and live endpoints through Velociraptor. It keeps indicators of compromise across tools and comes with detection rules and investigation playbooks.
What it can do
- Natural-language threat hunting in Elasticsearch
- Detection rule search and running (6,060 bundled rules)
- EVTX log analysis with Chainsaw
- PCAP analysis with Wireshark (tshark)
- Velociraptor endpoint forensics, 25 tools
- Indicator of compromise tracking and correlation
- Decoding of encoded commands
- 139 MCP tools in total with all extras
When to use
- βΊWhen you want to search a SIEM for signs of an attack using plain English.
- βΊWhen you have Windows event logs or a packet capture to analyze.
- βΊWhen you are investigating an incident and need indicators tracked across tools.
What you need
Skills that pair well
MCP or skill?
The MCP gives the agent the hands. The skill teaches the right way to use them. Together, the result is better and uses fewer tokens.
hunting-evtx-with-chainsawMakes your agent analyze Windows log files to find threats quickly, even without a central monitoring system. It helps investigate incidents and generate reports.generating-forensic-timelines-with-hayabusaLets your agent create security event timelines from Windows logs. This helps quickly understand what happened during an incident, even without a SIEM system.conducting-cloud-incident-responseHelps your agent respond to cloud security incidents. It can isolate resources and analyze logs to investigate and contain threats in environments like AWS and Azure.Frequently asked questions
Is it production ready?
No. The readme warns it is in active development and meant for security testing, research and education.
Is it open source?
Yes. It is on GitHub and PyPI with a license badge.
What do I need?
An Elasticsearch or OpenSearch cluster and credentials. Optional tools need tshark or the velociraptor extra.
How big is the install?
About 113 MB for the core package, 159 MB with setup, and about 291 MB with tshark.
Can I use it without an AI client?
Yes. There is a standalone crowdsentinel command-line tool.
Which clients work?
Claude Code, Claude Desktop, VS Code Copilot, Cursor, Roo Code, 5ire and any MCP client.
If it does not work
- βΊSet ELASTICSEARCH_HOSTS and either ELASTICSEARCH_API_KEY or username and password before starting.
- βΊRun crowdsentinel doctor to check configuration without making external calls.
- βΊInstall tshark (sudo apt install tshark or brew install wireshark) if PCAP analysis fails.
5 new skills a week. 1 minute to read.