ThreadMine MCP Server
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., "@ThreadMine MCP ServerCheck my threaddump at /tmp/dump.txt"
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.
ThreadMine MCP Server
ThreadMine is a Java thread dump analyzer with AI — detects deadlocks, CPU spikes, pool exhaustion and virtual thread pinning. Free online, no signup.
Official MCP server for ThreadMine. Paste a JVM thread dump into your AI assistant — Claude Code, Claude Desktop or Cursor — and get back the detected problems, a health score and a link to the full interactive report, without leaving the chat.
Tools
Tool | What it does | Quota |
| Uploads a thread dump (inline text or file path) and returns detected problems, health score (0-100) and the report link | Consumes 1 analysis from your daily quota |
| Fetches a previous analysis by id | Free (read-only) |
Related MCP server: mcp-dotnet-diagnostics
Setup
Create a free account at threadmine.dev.
Create an API key: Settings → API Keys in the web app.
Add the server to your assistant:
Claude Code
claude mcp add threadmine -e THREADMINE_API_KEY=tf_live_xxx -- npx -y @threadmine/mcpClaude Desktop / Cursor (claude_desktop_config.json / .cursor/mcp.json)
{
"mcpServers": {
"threadmine": {
"command": "npx",
"args": ["-y", "@threadmine/mcp"],
"env": { "THREADMINE_API_KEY": "tf_live_xxx" }
}
}
}Usage
Ask your assistant things like:
"Analyze this thread dump:
<paste>""Run the dump at /tmp/threaddump.txt through ThreadMine"
"What did analysis
<id>find? Any deadlocks?"
Notes
Analyses run in the workspace the API key belongs to and count against that workspace's plan quota (the Free plan includes a daily quota — pricing).
THREADMINE_API_URLcan override the API endpoint (self-hosted / staging).Requires Node.js ≥ 20.
License
MIT
Available Tools
2 toolsanalyze_thread_dumpA
Analyze a JVM thread dump with ThreadMine. Detects deadlocks, CPU spikes, thread pool exhaustion, thread leaks and virtual thread pinning. Returns detected problems, a health score (0-100) and a link to the full interactive report. Pass the dump text in "content", or "file_path" for large dumps. Consumes one analysis from the ThreadMine account's daily quota.
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Optional title for the analysis | |
| content | No | Raw thread dump text (jstack / jcmd Thread.print / kill -3 output) | |
| file_path | No | Absolute path to a thread dump file — preferred for large dumps |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are present, but the description discloses important behavioral traits: it consumes daily quota, returns a health score and link, and detects specific problems. No contradiction with annotations since none exist.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is concise at three sentences, front-loads the purpose and key behaviors, and every sentence contributes meaningful information without redundancy.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Despite no output schema, the description explains what is returned (problems, health score, link) and covers quota consumption. All three parameters are addressed, and no critical information is missing for this tool.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so baseline is 3. The description adds value by stating that file_path is preferred for large dumps, and clarifies that content is raw dump text, going beyond the schema descriptions.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states it analyzes JVM thread dumps and enumerates specific detections (deadlocks, CPU spikes, etc.), distinguishing it from the sibling tool 'get_analysis' which likely retrieves past results.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description explains when to use the tool (to analyze thread dumps) and provides guidance on passing data via content or file_path for large dumps. It could explicitly mention when not to use it, but the context is clear.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_analysisA
Fetch an existing ThreadMine analysis by id (returned by analyze_thread_dump). Read-only: does NOT consume the daily analysis quota.
| Name | Required | Description | Default |
|---|---|---|---|
| analysis_id | Yes | The analysis id (UUID) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden. It explicitly states the tool is read-only and does not consume a daily quota, covering both safety and resource constraints.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single sentence with no unnecessary words, efficiently conveying all critical information.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's simplicity (one parameter, no output schema), the description covers purpose, parameter origin, behavioral constraints, and quota impact, making it fully complete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema already describes 'analysis_id' as a UUID with 100% coverage. The description adds valuable context by noting it is returned by 'analyze_thread_dump', helping the agent understand where to obtain the parameter value.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses a specific verb 'Fetch' and clearly identifies the resource as 'existing ThreadMine analysis by id', distinguishing it from the sibling 'analyze_thread_dump' by referencing it as the source of the id.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies that this tool should be used after 'analyze_thread_dump' to retrieve an analysis by its returned id, providing clear context. It lacks explicit when-not-to-use instructions, but the sibling context is sufficient.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
2 tool updates
v0.1.0- First observed
analyze_thread_dump - First observed
get_analysis
TDQS
The two tools are clearly distinct: one submits a new thread dump for analysis, the other retrieves results by ID. No overlap or ambiguity.
Both tools follow a consistent verb_noun pattern ('analyze_thread_dump', 'get_analysis'), making them predictable and easy to distinguish.
Two tools is reasonable for a specialized analysis server. It covers the essential create and retrieve operations without unnecessary bloat.
The server covers the core workflow (analyze and retrieve results). Missing list or delete functionality are minor gaps but do not break the usage flow.
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 Connectors
Investigate errors, track deployments, analyze performance, and manage application monitoring
Security + bug + perf + refactor audit for Python. Returns 0-10 score + MD report.
Generate SBOMs, scan vulnerabilities, and analyze dependencies from local projects or Git repos.
Provide AI-powered real-time analysis and intelligence on NPM packages, including security, depend…
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables natural language analysis of Perfetto traces to diagnose Android app performance issues like ANRs, jank, CPU hotspots, memory leaks, and lock contention without writing SQL queries.217Apache 2.0
- AlicenseAqualityCmaintenanceLive .NET runtime diagnostics for AI assistants. Ask Claude to diagnose memory leaks, GC pressure, LOH fragmentation, and thread starvation in any running .NET process — no code changes required.72MIT
- AlicenseNot gradedqualityDmaintenanceEnables scanning projects for dependency vulnerabilities, secrets, license conflicts, code quality, and git health, returning a 0-100 health score with actionable suggestions.14MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI-assisted management of Apache Tomcat, including start/stop, WAR deployment, log analysis, thread and heap dumps, and diagnostics.56MIT
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/maschiojv/threadmine-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server