The Volatility MCP Server integrates the Volatility 3 memory forensics framework with Claude and other MCP-compatible LLMs, allowing you to perform memory forensics analysis using natural language instead of complex commands. This tool helps digital forensic investigators analyze memory dumps more efficiently by making memory forensics more accessible.
mcp
package)Clone the repository:
git clone https://github.com/yourusername/volatility-mcp-server.git
Install the required Python packages:
pip install mcp httpx
Configure the Volatility path:
volatility_mcp_server.py
and update the VOLATILITY_DIR
variable to point to your Volatility 3 installation path.Configure Claude Desktop:
%APPDATA%\Claude\claude_desktop_config.json
~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"volatility": {
"command": "python",
"args": [
"/path/to/volatility_mcp_server.py"
],
"env": {
"PYTHONPATH": "/path/to/volatility3"
}
}
}
}
/path/to/
with the actual path to your files.Restart Claude Desktop to apply the changes.
After setup, you can ask Claude natural language questions about your memory dumps:
The server exposes the following Volatility plugins as MCP tools:
list_available_plugins
- Shows all Volatility plugins you can useget_image_info
- Provides information about a memory dump filerun_pstree
- Shows the process hierarchyrun_pslist
- Lists processes from the process listrun_psscan
- Scans for processes including ones that might be hiddenrun_netscan
- Shows network connections in the memory dumprun_malfind
- Detects potential code injectionrun_cmdline
- Shows command line arguments for processesrun_dlllist
- Lists loaded DLLs for processesrun_handles
- Shows file handles and other system handlesrun_filescan
- Scans for file objects in memoryrun_memmap
- Shows the memory map for a specific processrun_custom_plugin
- Run any Volatility plugin with custom argumentslist_memory_dumps
- Find memory dumps in a directoryThis MCP server enables a streamlined memory forensics workflow:
If you encounter issues:
To add this MCP server to Claude Code, run this command in your terminal:
claude mcp add-json "volatility" '{"command":"python","args":["/path/to/volatility_mcp_server.py"],"env":{"PYTHONPATH":"/path/to/volatility3"}}'
See the official Claude Code MCP documentation for more details.
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"volatility": {
"command": "python",
"args": [
"/path/to/volatility_mcp_server.py"
],
"env": {
"PYTHONPATH": "/path/to/volatility3"
}
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.
To add this MCP server to Claude Desktop:
1. Find your configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
~/.config/Claude/claude_desktop_config.json
2. Add this to your configuration file:
{
"mcpServers": {
"volatility": {
"command": "python",
"args": [
"/path/to/volatility_mcp_server.py"
],
"env": {
"PYTHONPATH": "/path/to/volatility3"
}
}
}
}
3. Restart Claude Desktop for the changes to take effect