Thread Dump Analyzer

v1.0.0Monitoring & Observabilitystable

TDA - Thread Dump Analyzer (for Java). Analyze your Thread Dumps with a GUI or use it as MCP Server.

javajvmjvm-monitormcpmcp-server
Share:
543
Stars
0
Downloads
0
Weekly
0/5

What is Thread Dump Analyzer?

Thread Dump Analyzer is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to tda - thread dump analyzer (for java). analyze your thread dumps with a gui or use it as mcp server.

TDA - Thread Dump Analyzer (for Java). Analyze your Thread Dumps with a GUI or use it as MCP Server.

This server falls under the Monitoring & Observability category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • TDA - Thread Dump Analyzer (for Java). Analyze your Thread D

Use Cases

Analyze Java thread dumps to identify performance bottlenecks.
Debug JVM applications with AI-powered thread analysis.
irockel

Maintainer

LicenseLGPL-2.1
Languagejava
Versionv1.0.0
UpdatedMay 20, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx tda

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Thread Dump Analyzer

TDA (Thread Dump Analyzer) is a Java tool for analyzing JVM thread dumps that exposes its analysis capabilities as an MCP server, letting AI assistants parse, summarize, and diagnose thread dump log files through conversation. It detects deadlocks, identifies long-running and zombie threads, analyzes virtual thread carrier pinning, and provides structured summaries — saving Java developers the time of manually reading thousands of thread stack traces when debugging performance issues or production incidents.

Prerequisites

  • Java 17 or later installed and on your PATH
  • The TDA jar file downloaded from the GitHub releases page
  • An MCP client such as Claude Desktop
  • Java thread dump log files to analyze (generated by jstack, jcmd, or your application server)
1

Download the TDA jar

Download the latest tda.jar from the GitHub releases page at https://github.com/irockel/tda/releases.

2

Test TDA as an MCP server from the command line

Run TDA in headless MCP mode to verify it starts without errors. The -Djava.awt.headless=true flag is mandatory — it prevents TDA from trying to open a GUI window.

java -Djava.awt.headless=true -jar /path/to/tda.jar --mcp
3

Configure Claude Desktop

Add the TDA MCP server block to your Claude Desktop configuration file, using the absolute path to your tda.jar.

{
  "mcpServers": {
    "tda": {
      "command": "java",
      "args": [
        "-Djava.awt.headless=true",
        "-jar",
        "/absolute/path/to/tda.jar",
        "--mcp"
      ]
    }
  }
}
4

Increase heap for large thread dumps

Production thread dumps with thousands of threads can be large. Add a heap size flag if you get OutOfMemoryError.

{
  "mcpServers": {
    "tda": {
      "command": "java",
      "args": [
        "-Xmx2g",
        "-Djava.awt.headless=true",
        "-jar",
        "/absolute/path/to/tda.jar",
        "--mcp"
      ]
    }
  }
}
5

Parse a thread dump and get a summary

Ask Claude to parse a thread dump log file using its absolute path. Then request a summary, deadlock check, or long-running thread analysis.

Thread Dump Analyzer Examples

Client configuration

Claude Desktop config block for TDA in headless MCP mode.

{
  "mcpServers": {
    "tda": {
      "command": "java",
      "args": [
        "-Djava.awt.headless=true",
        "-jar",
        "/Users/you/tools/tda.jar",
        "--mcp"
      ]
    }
  }
}

Prompts to try

Example queries for analyzing Java thread dumps.

- "Parse the thread dump at /var/log/myapp/threaddump.log and give me a summary"
- "Are there any deadlocks in the parsed thread dump?"
- "Which threads have been running the longest without changing state?"
- "Check for virtual thread carrier pinning issues in this dump"
- "List all threads currently in native methods from dump index 0"

Troubleshooting Thread Dump Analyzer

TDA fails to start with 'headless environment' error or opens a GUI window

You must include -Djava.awt.headless=true in the java args. Without this flag TDA attempts to open its Swing GUI, which fails in a server/MCP context. Double-check that the flag appears before -jar in the args list.

parse_log returns an error about file not found

Always use absolute paths when calling parse_log. Relative paths are resolved from TDA's working directory, which may differ from where you expect. Also ensure the MCP server process has read permission on the log file.

OutOfMemoryError when parsing large thread dump files

Add -Xmx2g (or larger) to the java args in your MCP config to give TDA more heap space. Production thread dumps from large JVM processes can easily exceed 100 MB when fully parsed.

Frequently Asked Questions about Thread Dump Analyzer

What is Thread Dump Analyzer?

Thread Dump Analyzer is a Model Context Protocol (MCP) server that tda - thread dump analyzer (for java). analyze your thread dumps with a gui or use it as mcp server. It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Thread Dump Analyzer?

Follow the installation instructions on the Thread Dump Analyzer GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with Thread Dump Analyzer?

Thread Dump Analyzer works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Thread Dump Analyzer free to use?

Yes, Thread Dump Analyzer is open source and available under the LGPL-2.1 license. You can use it freely in both personal and commercial projects.

Browse More Monitoring & Observability MCP Servers

Explore all monitoring & observability servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "tda": { "command": "npx", "args": ["-y", "tda"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Thread Dump Analyzer?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides