
A Model Context Protocol server for global law with read-only tools to find and read provisions by date, trace the law behind each word, search text and changes, and check cases or briefs against law in force.

An MCP server that loads Procmon XML captures and exposes tools for querying events, processes, network connections, and exports so an LLM can investigate system behaviour.
MCP server for analysing Process Monitor XML logs is cataloged as an MCP server attributed to jamezuk. An MCP server that loads Procmon XML captures and exposes tools for querying events, processes, network connections, and exports so an LLM can investigate system behaviour. It is categorized under file systems-docs. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for MCP server for analysing Process Monitor XML logs are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
Yes, files can be loaded at runtime using the load_file tool, avoiding a server restart.
It supports stdio (recommended), Streamable HTTP, and deprecated SSE transport.
README.md · df52a93972c4 · 采集于 2026-11-13 12:24:43 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
ProcmonMCP is a Model Context Protocol (MCP) server that allows LLMs to autonomously analyse Process Monitor (Procmon) XML log files. It exposes a comprehensive set of analysis tools to any MCP-compatible client, including Claude Code, Claude Desktop, Cline, and others.
|
|
Included in REMnux Ships in the REMnux® malware-analysis distro, pre-configured for OpenCode as the procmon MCP server.
|
Process Monitor captures detailed system activity — file access, registry operations, network connections, process creation, and more. ProcmonMCP parses these XML logs into an optimised in-memory representation and exposes them as MCP tools, enabling an LLM to investigate system behaviour without manual data wrangling.
Key capabilities:
This project was inspired by the approach taken in GhidraMCP.
Security Warning
Process Monitor logs can contain extremely sensitive system information (keystrokes, passwords in command lines, file contents, network traffic details, etc.).
- This tool loads any file path that the user running the script has read permissions for. There is no directory sandboxing.
- Only run this server in trusted environments.
- Never run this server with Procmon logs captured from systems containing sensitive production or personal data unless you fully understand and accept the risks.
- Review the logs you intend to load for sensitive information before using this tool.
Current release: v0.5.0, which requires MCP SDK v2 (mcp[cli]>=2.0.0). Earlier versions are listed on the releases page; notable changes are recorded in CHANGELOG.md.
pip (Python package installer)git clone https://github.com/JameZUK/ProcmonMCP
cd ProcmonMCP
pip install -r requirements.txt
That tracks the latest state of the default branch. To pin the current release instead:
git clone --branch v0.5.0 --depth 1 https://github.com/JameZUK/ProcmonMCP
cd ProcmonMCP
pip install ".[all]"
Or install the package itself (provides a procmon-mcp console script):
pip install . # core only (mcp[cli])
pip install ".[all]" # core + optional lxml and psutil
pip install -e ".[dev]" # editable install with test tooling
| Package | Required | Purpose |
|---|---|---|
mcp[cli]>=2.0.0 | Yes | MCP SDK with CLI tools and Streamable HTTP support |
lxml>=4.9.0 | Recommended | Faster XML parsing (falls back to stdlib ElementTree if absent) |
psutil>=5.9.0 | Optional | Memory usage reporting after file loading |
google-re2 | Optional | Linear-time, ReDoS-safe engine for user filter regexes (pip install ".[re2]"; falls back to stdlib re) |
Install all at once:
pip install "mcp[cli]>=2.0.0" lxml psutil
MCP SDK v2: the SDK renamed
FastMCPtoMCPServerand moved it tomcp.server.mcpserverin v2. ProcmonMCP targets v2, and still runs againstmcp<2via a compatibility fallback. If you previously installed with an unpinnedmcp[cli]and saw "the MCP SDK could not be loaded", upgrade withpip install --upgrade "mcp[cli]>=2".
The recommended way to use ProcmonMCP is via stdio transport with Claude Code. The server starts without any file loaded — you (or the LLM) can then use the load_file tool to open a Procmon capture.
# Add ProcmonMCP as a stdio server (user-wide)
claude mcp add procmon --scope user -- python -m procmon_mcp
# Or with a file pre-loaded at startup
claude mcp add procmon --scope user -- python -m procmon_mcp --input-file /path/to/capture.xml.gz
# Or scoped to the current project only
claude mcp add procmon --scope project -- python -m procmon_mcp
claude mcp add-json procmon '{
"type": "stdio",
"command": "python",
"args": ["-m", "procmon_mcp"]
}'
Claude Code reads MCP server configuration from these locations:
| Scope | File | Description |
|---|---|---|
| Project (shared, version-controlled) | .mcp.json in project root | Shared with the team |
| Project (personal) | .claude/settings.local.json | Your local overrides |
| User (global) | ~/.claude.json | Available across all projects |
Example .mcp.json for a shared project:
{
"mcpServers": {
"procmon": {
"type": "stdio",
"command": "python",
"args": ["-m", "procmon_mcp"]
}
}
}
Example with a pre-loaded file and options:
{
"mcpServers": {
"procmon": {
"type": "stdio",
"command": "python",
"args": [
"-m", "procmon_mcp",
"--input-file", "/path/to/capture.xml.gz",
"--no-stack-traces"
]
}
}
}
For network access or multi-client scenarios, use Streamable HTTP:
# Add as an HTTP server (start the server separately first)
claude mcp add --transport http procmon http://127.0.0.1:8081/mcp
Then start the server:
python -m procmon_mcp --transport streamable-http --mcp-port 8081
Once configured, verify that Claude Code can see ProcmonMCP:
claude mcp list
Inside a Claude Code session, you can also type /mcp to check the status of connected servers.
get_status to see if a file is loadedload_file with a path to a Procmon XML capture| Argument | Default | Description |
|---|---|---|
--input-file <path> | (none) | Pre-load a Procmon XML file at startup. If omitted, use load_file from the MCP client. |
--transport <mode> | stdio | Transport protocol: stdio, streamable-http, or sse (deprecated). |
--mcp-host <ip> | 127.0.0.1 | Host address (HTTP transports only). |
--mcp-port <port> | 8081 | Port number (HTTP transports only). |
--no-stack-traces | off | Skip loading stack traces to save memory. |
--no-extra-data | off | Skip loading unknown/extra event fields to save memory. |
--no-cache | off | Bypass the parsed-capture cache (always re-parse, and refresh the cache). |
--clear-cache | off | Remove all cached parsed captures, then exit. |
--debug | off | Enable verbose debug logging. |
--log-file <path> | (console) | Write logs to a file instead of the console. |
--profile | off | Enable cProfile profiling (for development). |
Start with stdio (no file pre-loaded — use load_file from the client):
python -m procmon_mcp
Pre-load a compressed XML file:
python -m procmon_mcp --input-file /path/to/capture.xml.gz
Start with Streamable HTTP on a custom port:
python -m procmon_mcp --transport streamable-http --mcp-port 9000
Skip stack traces for a very large file:
python -m procmon_mcp --input-file /path/to/huge_capture.xml --no-stack-traces --no-extra-data
| Transport | Use case | Status |
|---|---|---|
| stdio | Local use with Claude Code, Claude Desktop, etc. | Recommended |
| streamable-http | Network access, multiple clients, remote deployment | Supported |
| sse | Legacy MCP clients that do not yet support Streamable HTTP | Deprecated (MCP spec 2025-03-26) |
The simplest and most reliable transport. Claude Code spawns the server as a child process and communicates over stdin/stdout. No network configuration required.
Uses a single HTTP endpoint (/mcp) for all communication. Supports session management, optional SSE streaming for long-running operations, and is designed for scalability.
python -m procmon_mcp --transport streamable-http --mcp-host 0.0.0.0 --mcp-port 8081
The server will be available at http://<host>:<port>/mcp.
Deprecated since MCP specification 2025-03-26. SSE is retained for backwards compatibility but will be removed in a future release. Please migrate to
streamable-httporstdio.
python -m procmon_mcp --transport sse --mcp-port 8081
ProcmonMCP stores user preferences in ~/.procmonmcp/config.json. This file is created automatically and remembers:
get_status when no file is loaded)no_stack_traces, no_extra_data)No API keys or authentication tokens are required — ProcmonMCP is a purely local analysis tool.
Parsing a large capture is expensive (tens of seconds to minutes). After a successful
parse, ProcmonMCP serializes the optimised in-memory representation (events, interners,
indices, process tables) to ~/.procmonmcp/cache/, keyed on the source file's path,
size, and modification time plus the load options. Reloading the same unchanged file is
then served from the cache and is near-instant — in practice a 20s parse drops to well
under a second.
no_stack_traces/no_extra_data options are
cached separately.--no-cache (CLI) or no_cache: true (the load_file tool); the
from_cache field in the load response indicates whether the cache was used.--clear-cache (CLI) or the clear_cache tool. The cache is
size-bounded with LRU eviction (default 5 GiB; override with the
PROCMONMCP_CACHE_MAX_BYTES environment variable).pickle and are read back only
from your user-owned ~/.procmonmcp/cache directory (only this tool's own output is
ever deserialized). Do not point the cache at a location other users can write to.| Tool | Description |
|---|---|
get_status() | Returns the current server state — whether a file is loaded, loading progress, memory usage, and available actions. Call this first. |
load_file(file_path, no_stack_traces?, no_extra_data?, no_cache?) | Loads a Procmon XML file (.xml, .gz, .bz2, .xz) for analysis. Uses the parsed-capture cache for near-instant reloads (from_cache in the response says whether it was used). Set no_cache: true to bypass the cache. Provides progress feedback. Replaces any previously loaded data. |
close_file() | Closes (unloads) the currently loaded capture and frees its memory. Analysis tools are unavailable until another file is opened with load_file. Does not remove the on-disk cache. |
clear_cache() | Removes all on-disk parsed-capture caches. Reclaims disk space and forces a clean re-parse on the next load. Does not affect currently loaded data. |
| Tool | Description |
|---|---|
get_loaded_file_summary() | Returns a detailed summary of the loaded file — filename, counts, compression, index stats, interner stats, and selective loading flags. |
get_metadata() | Returns basic metadata (filename, type, event/process counts). |
list_processes() | Lists unique processes (PID, name, image path, parent PID) from the process list section. |
get_process_details(pid) | Returns detailed properties for a specific process by PID. |
query_events(...) | Queries events with flexible filters — by process, PID (filter_pid), operation, result, path (contains/regex), detail (regex), timestamp range, and stack module path. Returns event summaries with index. |
get_event_details(event_index) | Returns all properties for a specific event by its index. |
get_event_stack_trace(event_index) | Returns the call stack for a specific event (module path, location, address). |
| Tool | Description |
|---|---|
count_events_by_process() | Counts events per process name. |
summarize_operations_by_process(process_name_filter) | Counts operations for a specific process. |
get_timing_statistics(group_by) | Calculates duration statistics grouped by process or operation. |
get_process_lifetime(pid) | Finds the Process Create and Process Exit timestamps for a given PID. |
find_file_access(path_contains, limit?) | Finds file system events matching a path substring (case-insensitive). |
find_network_connections(process_name) | Returns enriched records for the remote endpoints a process accessed: endpoint, host/ip/hostname/port, operations, inferred directions (connect/send/receive), results, event count, and first/last-seen timestamps — ranked by count. |
list_network_connections(limit?) | Capture-wide network triage: one enriched record per (process, PID, endpoint) across all processes, ranked by event count. |
get_network_top_talkers(limit?) | Ranks unique remote endpoints across the whole capture by event count, with the count of distinct processes (and their names) that touched each. |
| Tool | Description |
|---|---|
export_query_results(...) | Exports filtered events to CSV or JSON file. Uses the same filters as query_events. |
ProcmonMCP works with any MCP-compatible client. Below are setup instructions for popular clients.
See the Quick Start with Claude Code section above.
Add the following to your Claude Desktop configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.json{
"mcpServers": {
"procmon": {
"command": "python",
"args": ["-m", "procmon_mcp"]
}
}
}
For Cline with Streamable HTTP transport, first start the server:
python -m procmon_mcp --transport streamable-http --mcp-port 8081
Then in Cline, select MCP Servers and add:
http://127.0.0.1:8081/mcp(Assuming a Procmon XML file is loaded)
suspicious.exe."suspicious.exe and filter_operation is RegSetValue, limit 10."suspicious.exe." (Enriched: directions, results, counts, first/last-seen)temp\\suspicious_data, limit 50."RegSetValue and filter_path_contains is CurrentVersion\\Run, limit 20."CreateFile and filter_path_contains is StartUp, limit 10."ACCESS DENIED, limit 10."NAME NOT FOUND, limit 10."suspicious_reg_writes.csv where filter_process is suspicious.exe and filter_operation contains RegSet."network_activity.json in json format."ProcmonMCP builds four indices during file loading for fast filtered lookups:
| Index | Used by | Complexity |
|---|---|---|
| Process name (interned ID) | query_events, count_events_by_process | O(1) lookup |
| Operation (interned ID) | query_events, summarize_operations_by_process | O(1) lookup |
| PID | query_events (filter_pid), get_process_lifetime | O(1) lookup with set intersection |
| File path (interned ID) | find_file_access | O(unique_paths) substring scan |
For filters not backed by an index (e.g., regex, path contains, stack module path), ProcmonMCP falls back to a linear scan of all events. Use indexed filters first to narrow results, then apply more expensive filters.
--no-stack-traces and --no-extra-data for very large files.filter_pid instead.Notable changes are recorded in CHANGELOG.md.
Contributions are welcome! Please feel free to submit pull requests or open issues on GitHub.
This project is licensed under the MIT License — see the LICENSE file for details.
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for MCP server for analysing Process Monitor XML logs from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/procmonmcp)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Alternative and complementary servers in the same category

A Model Context Protocol server for global law with read-only tools to find and read provisions by date, trace the law behind each word, search text and changes, and check cases or briefs against law in force.

Hosted MCP server for tabletop RPG worlds that organizes messy notes and documents into a private store and lets MCP apps search lore, read documents, find characters, and optionally generate character or world pictures.

An MCP server that gives AI assistants scoped file system operations inside a project directory, with read-only reference projects plus git and GitHub tools.