autopsy-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@autopsy-mcpSearch for 'bitcoin' in the artifacts"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
autopsy-mcp
Read-only MCP (Model Context Protocol) server that exposes the data of an Autopsy case as standard Tools, usable from the Cline chat in VS Code (or from any other MCP client). The server is fully LLM-agnostic: it receives JSON arguments from tool calls and returns case-database data — all calls to OpenAI, Anthropic, Ollama etc. remain entirely on Cline's side.
Requirements
Python 3.10+
An Autopsy case on disk (a folder containing
autopsy.db), or a multi-user PostgreSQL deploymentThe Cline extension in VS Code
Related MCP server: Obsidian Readonly MCP
Installation
git clone https://github.com/th0r10293847/autopsy-mcp.git
cd autopsy-mcp
python3 -m venv .venv
.venv/bin/pip install -r requirements.txt # Windows: .venv\Scripts\pip install -r requirements.txtAlternatively, the start.sh (Linux/macOS) and start.bat (Windows) scripts create the venv and install dependencies automatically on first run.
Configuring the default cases directory
The server looks for cases in the directory pointed to by the AUTOPSY_CASES_DIR environment variable (default: ~/AutopsyCases). A "case" is any subfolder containing autopsy.db. You can set it in three ways, in order of precedence:
As an argument to the start script:
./start.sh /path/to/casesAs an environment variable in your shell:
export AUTOPSY_CASES_DIR=/path/to/casesIn the
envblock ofcline_mcp_settings.json(recommended for use with Cline — see below)
You can always open a case outside the default directory by passing its full path to the set_active_case tool, or pass an alternative directory to list_cases.
PostgreSQL backend (multi-user cases)
For multi-user cases set AUTOPSY_DB_BACKEND=postgresql together with AUTOPSY_PG_HOST, AUTOPSY_PG_PORT, AUTOPSY_PG_USER, AUTOPSY_PG_PASSWORD, and install the driver: pip install psycopg2-binary. In this mode set_active_case accepts the database name of the case (visible in Autopsy under Case → Case Properties). The session is opened with default_transaction_read_only=on.
Connecting to Cline
In VS Code open: Cline icon → MCP Servers → Configure MCP Servers (the cline_mcp_settings.json file) and paste the content of the cline_mcp_settings.json included in this project, adjusting the two paths:
args: absolute path toserver.py(use the venv's Python ascommandif you prefer:.../autopsy-mcp/.venv/bin/pythonor...\\.venv\\Scripts\\python.exe)env.AUTOPSY_CASES_DIR: your cases directory
Cline will launch the server on stdio automatically; you don't need to keep it running yourself. autoApprove is optional and only includes pure read tools.
Exposed Tools
Tool | Description |
| Lists the cases (folders with |
| Sets the active case for the session |
| Summary: creation date, examiner, data sources, file/artifact counts |
| Walks the |
| Queries the Blackboard by type (web history, email, EXIF, chat…); without arguments it lists the available types with counts |
| Text search across file names and/or artifact content |
| Full metadata of a file by |
Typical chat flow in Cline: "List the available cases" → "Open case XYZ" → "Give me a summary" → "Search for the word 'bitcoin' in the artifacts" → "Show me the web history".
Read-only guarantees (chain of custody)
SQLite: connection opened with the URI
file:...?mode=ro. The driver rejects anyINSERT/UPDATE/DELETE/DDLat the engine level.PostgreSQL: session with
default_transaction_read_only=on+set_session(readonly=True).The code contains no write statements and never touches the files in the case folder; no tool accepts arbitrary SQL from the LLM — all queries are predefined and parameterized.
Note: for a repeatable examination it remains good practice to work on a copy of the case, and not on a case while Autopsy is running an ingest (the DB may be temporarily locked; in that situation the server returns a descriptive error and you can simply retry).
Error handling
All errors are returned as JSON {"error": "..."} with hints that enable LLM self-correction: for example, a non-existent artifact type returns the list of types available in the case, and a no such table error includes the list of tables actually present (useful across different Autopsy schema versions).
Quick test without Cline
export AUTOPSY_CASES_DIR=/path/to/cases
.venv/bin/python -c "import server; print(server.list_cases())"Automated tests
The project ships with a pytest suite (tests/) that verifies: all 7 tools against a realistic synthetic case, the self-explanatory error messages, the driver-level rejection of INSERT/UPDATE/DELETE/DDL, the invariance of the SHA-256 hash of autopsy.db after running all the tools (chain of custody), and a real MCP session over stdio (the same protocol used by Cline).
pip install pytest pytest-asyncio
pytest -vFor a manual try without a real case, generate the demo case:
python tests/make_fixture.py ~/AutopsyCases/DemoCaseA GitHub Actions workflow is also included (.github/workflows/tests.yml) that runs the suite on Linux and Windows, Python 3.10 and 3.12, on every push.
Author: th0r10293847 — Copyright (c) 2026, released under the MIT License.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityCmaintenanceA local MCP server that wraps common forensic command-line tools for CTF/forensics competitions into MCP tools, enabling automated analysis of disk images, memory dumps, network captures, SQLite databases, archives, and steganography.1MIT
- AlicenseCqualityCmaintenanceRead-only MCP server for querying a running Obsidian vault from agentic runtimes, exposing safe Obsidian CLI commands.551MIT
- Alicense-qualityCmaintenanceA read-only MCP server that enables LLMs to safely explore and query any SQLite database via natural language. It exposes tools for listing tables, describing schemas, and executing SELECT/WITH queries with built-in safety guards like write prevention and row limits.MIT
- Flicense-qualityCmaintenanceMCP server for read-only forensic analysis of evidence files using local utilities (file, ExifTool, strings, Volatility).
Related MCP Connectors
Agent-native MCP server over the public saagarpatel.dev corpus. Read-only, stateless.
Read-only MCP server for ClassQuill, a tutoring-business-management platform.
MCP server exposing the Backtest360 engine API as tools for AI agents.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/th0r10293847/autopsy-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server