npm @threadmine/mcpstdioMITupdated 1mo ago
ThreadMine is a Java thread dump analyzer with AI — detects deadlocks, CPU spikes, pool exhaustion and virtual thread pinning. Free online, no signup.
What can you do with threadmine?
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 |
|---|---|---|
analyze_thread_dump |
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 |
get_analysis |
Fetches a previous analysis by id | Free (read-only) |
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/mcp
Claude 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
Install
Add threadmine to your client. Pick the one you use.
claude mcp add mcp -- npx -y @threadmine/mcpcodex mcp add mcp -- npx -y @threadmine/mcpamp mcp add mcp -- npx -y @threadmine/mcp{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@threadmine/mcp"
]
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@threadmine/mcp"
]
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
code --add-mcp '{"name":"mcp","command":"npx","args":["-y","@threadmine/mcp"]}'Or add the block manually to `.vscode/mcp.json` under `servers`.
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@threadmine/mcp"
]
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@threadmine/mcp"
]
}
}
}Add to `cline_mcp_settings.json` via the MCP Servers panel.
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@threadmine/mcp"
]
}
}
}Add to `~/.gemini/settings.json`.
{
"mcpServers": {
"mcp": {
"type": "local",
"command": "npx",
"args": [
"-y",
"@threadmine/mcp"
],
"tools": [
"*"
]
}
}
}Add to `~/.copilot/mcp-config.json`, or run `/mcp add` inside the CLI.
{
"context_servers": {
"mcp": {
"command": {
"path": "npx",
"args": [
"-y",
"@threadmine/mcp"
]
}
}
}
}Add to your Zed `settings.json`.
npx -y @threadmine/mcpRun `goose configure`, choose **Add Extension → Command-line Extension**, and paste this command.
2 tools
threadmine exposes 2 tools to a connected agent.
- analyze_thread_dump
- Uploads a thread dump (inline text or file path) and returns detected problems, health score (0-100) and the report link
- get_analysis
- Fetches a previous analysis by id
Score
67 / 100
Good
- Documentation22/25
- Maintenance16/25
- Trust13/20
- Capability4/15
- Install experience12/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 48 days ago
- Has a release history
- Repository is not archived
- Licensed MIT
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 2 tool(s) documented
- Provides prompt templates
- Provides resources
- 12 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint — no local install
Version history
| Versions | Published |
|---|---|
| 0.1.0Latest | Jul 14, 2026 |