Enables Large Language Models to interact with BloodHound Community Edition data.
A Model Context Protocol (MCP) server that enables Large Language Models to interact with BloodHound Community Edition data through Claude Desktop. This tool allows security professionals to query and analyze Active Directory attack paths using natural language.
This MCP server provides a comprehensive interface to BloodHound Community Edition's REST API, not just a wrapper around Cypher queries. The implementation includes:
/api/v2/domains
, /api/v2/users
, /api/v2/groups
, etc.)While Cypher queries are powerful, this MCP goes beyond simple query execution:
As a proper Model Context Protocol implementation:
Clone the repository
git clone <repository-url>
cd bloodhound-mcp
Install dependencies
uv sync
Configure environment variables
Create a .env
file in the project root:
BLOODHOUND_DOMAIN=your-bloodhound-instance.domain.com
BLOODHOUND_TOKEN_ID=your-token-id
BLOODHOUND_TOKEN_KEY=your-token-key
claude_desktop_config.json
:{
"mcpServers": {
"bloodhound_mcp": {
"command": "uv",
"args": [
"--directory",
"/path/to/your/bloodhound-mcp",
"run",
"main.py"
]
}
}
}
/path/to/your/bloodhound-mcp
with the actual path to your installation.env
fileWhat domains are available in BloodHound?
Domain Reconnaissance:
Show me all users in the DOMAIN.LOCAL domain
What computers are in the domain?
Find all Domain Admins
User Analysis:
What administrative rights does john.doe@domain.local have?
Show me all sessions for the user administrator
What groups is this user a member of?
Privilege Escalation:
Find all kerberoastable users
Show me users with DCSync privileges
What computers can I RDP to from this user?
Advanced Analysis:
Run a cypher query to find all paths to Domain Admin
Show me the shortest path from user A to user B
Find all users with SPN set
This tool processes BloodHound data through Claude Desktop, which means Active Directory information is transmitted to Anthropic's servers. Do not use this tool with production or sensitive BloodHound data.
Run the test suite to verify functionality:
# Basic functionality tests
uv run pytest tests/test_basics.py -v
# HTTP request testing
uv run pytest tests/test_bloodhound_http.py -v
# MCP tools testing
uv run pytest tests/test_mcp_tools.py -v
# Integration tests (requires running BloodHound instance)
BLOODHOUND_INTEGRATION_TESTS=1 uv run pytest tests/test_integration.py -v
Contributions are welcome! This project is designed for learning and experimentation with MCPs and BloodHound APIs.
This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.
generate lyrics, song and background music(instrumental)
A virtual travel environment for an avatar on Google Maps, utilizing various Google Maps and optional AI image generation APIs.
An intelligent trading assistant that fetches live stock prices using the Yahoo Finance API.
Provides time-related functions such as current time queries, timezone conversions, and time difference calculations.
Fulcra Context MCP server for accessing your personal health, workouts, sleep, location, and more, all privately. Built around Context by Fulcra.
Search for movies and manage playlists on your Plex Media Server using the Plex API.
A philosophical reasoning system combining OpenEnded Philosophy with the Non-Axiomatic Reasoning System (NARS) for advanced analysis and synthesis.
Provides real-time weather information for any location.
Provides Chinese Tung Shing (almanac) data, including calendar conversions, auspicious activities, and traditional metaphysical elements.
AI-driven venture capitalist agents powered by Octagon Private Markets' real-time intelligence.