Threadmine MCP
dev.threadmine · Updated
Analyze JVM thread dumps with ThreadMine: deadlocks, CPU spikes, pool exhaustion, health score.
At a glance
Threadmine MCP is an MCP server in the Health & Science category. It runs locally over stdio via `npx -y @threadmine/mcp`, and needs THREADMINE_API_KEY. It exposes 2 tools, including analyze_thread_dump and get_analysis. It scores A (80/100) on the MCP Skills Hub health score as of Oct 28, 2026.
One-click install
Opens your editor and pre-fills the config. Your editor will ask before adding it.
How to install Threadmine MCP in your AI client
Setup for Claude Code, Claude Desktop, Cursor, Codex, Windsurf, Cline and VS Code — copy-paste ready.
How to install Threadmine MCP in Claude CodeAnthropic's agentic CLI
Add the server
bashclaude mcp add threadmine -e 'THREADMINE_API_KEY=<THREADMINE_API_KEY>' -- npx -y @threadmine/mcpFill in your credentials
Replace <THREADMINE_API_KEY> with your real value. Keep secrets out of any config file you commit.
Verify it's connected
bashclaude mcp listSharing it with your team?
Add `--scope project` to write it to .mcp.json in the repository root, which you can commit (with the secrets left as environment variables).
Use it in a session
Ask Claude to use the tools this server exposes (e.g. analyze_thread_dump, get_analysis). It discovers them automatically.
How to install Threadmine MCP in Claude DesktopDesktop app (MCP config)
Open your MCP config
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json · Windows: %APPDATA%\Claude\claude_desktop_config.json
Add this server
json{ "mcpServers": { "threadmine": { "command": "npx", "args": [ "-y", "@threadmine/mcp" ], "env": { "THREADMINE_API_KEY": "<THREADMINE_API_KEY>" } } } }Fill in your credentials
Replace <THREADMINE_API_KEY> with your real value. Keep secrets out of any config file you commit.
Restart Claude Desktop
The tools appear under the 🔌 menu once the app reloads.
How to install Threadmine MCP in CursorAI-first code editor
Create / edit .cursor/mcp.json in your project
json{ "mcpServers": { "threadmine": { "command": "npx", "args": [ "-y", "@threadmine/mcp" ], "env": { "THREADMINE_API_KEY": "<THREADMINE_API_KEY>" } } } }Fill in your credentials
Replace <THREADMINE_API_KEY> with your real value. Keep secrets out of any config file you commit.
Enable it
Cursor Settings → MCP → toggle the server on. Tools become available to the Composer/Agent.
How to install Threadmine MCP in Codex CLIOpenAI coding agent
Add to ~/.codex/config.toml
toml[mcp_servers.threadmine] command = "npx" args = ["-y", "@threadmine/mcp"] env = { THREADMINE_API_KEY = "<THREADMINE_API_KEY>" }Fill in your credentials
Replace <THREADMINE_API_KEY> with your real value. Keep secrets out of any config file you commit.
Run Codex
Codex loads MCP servers from config.toml on startup and exposes their tools to the agent.
How to install Threadmine MCP in WindsurfCodeium's agentic IDE
Edit ~/.codeium/windsurf/mcp_config.json
json{ "mcpServers": { "threadmine": { "command": "npx", "args": [ "-y", "@threadmine/mcp" ], "env": { "THREADMINE_API_KEY": "<THREADMINE_API_KEY>" } } } }Fill in your credentials
Replace <THREADMINE_API_KEY> with your real value. Keep secrets out of any config file you commit.
Reload
Windsurf → Cascade → refresh MCP servers. Cascade can now call the tools.
How to install Threadmine MCP in ClineVS Code autonomous agent
Open Cline → MCP Servers → Configure
Adds to cline_mcp_settings.json.
Add the server
json{ "mcpServers": { "threadmine": { "command": "npx", "args": [ "-y", "@threadmine/mcp" ], "env": { "THREADMINE_API_KEY": "<THREADMINE_API_KEY>" } } } }Fill in your credentials
Replace <THREADMINE_API_KEY> with your real value. Keep secrets out of any config file you commit.
How to install Threadmine MCP in VS CodeCopilot / MCP support
Create .vscode/mcp.json
json{ "servers": { "threadmine": { "type": "stdio", "command": "npx", "args": [ "-y", "@threadmine/mcp" ], "env": { "THREADMINE_API_KEY": "<THREADMINE_API_KEY>" } } } }Fill in your credentials
Replace <THREADMINE_API_KEY> with your real value. Keep secrets out of any config file you commit.
Start it
VS Code shows a ▶ Start action above the server entry. Agent mode (Copilot Chat) can then use the tools.
What does Threadmine MCP need from you?
API key — Optional. Without it, analyses run anonymously (5/hour per IP, report expires in 7 days)
THREADMINE_API_KEYoptionalsecretEnvironment variableOptional. Without it, analyses run anonymously (5/hour per IP, report expires in 7 days)
THREADMINE_API_URLoptionalEnvironment variableOverride the ThreadMine API endpoint (default: https://api.threadmine.dev)
Pass secrets through your shell environment rather than committing them into a config file.
What tools does Threadmine MCP expose? (2)
Taken from the project's README — the server itself was not queried, so check its docs for the exact schemas.
- analyze_thread_dumpUploads a thread dump (inline text or file path) and returns detected problems, health score (0-100) and the report link
- get_analysisFetches a previous analysis by the id `analyze_thread_dump` returned. Read-only, consumes nothing
What the code can do
Read from the published package source — never executed. Parsed 7 of 7 source files.
This server can read and write files, read your environment variables and read system information.
How it was published
- No provenance attestation — there is nothing linking this published artifact to a specific source commit.
- 1 npm maintainer — a single point of compromise · last published by maschiojv.
Maintainer of this package and think something here is wrong? Tell us and we'll correct it.
Before you install
Signals gathered from the source repo and package registry — not a safety verdict.
What it can reach
- Runs code on your machine — Executes as a local process with your user's permissions, including filesystem access.
- Downloads at launch — The package is fetched from its registry each run unless you pin a version.
- Last commit today — Actively maintained.
- 0 GitHub stars — Very little community usage so far.
Client compatibility
Health score
A · 80Maintenance, adoption, transparency and packaging — not a safety audit. How this is calculated
- Maintenance30%100%
Last commit 0 days ago.
- Adoption20%0%
0 stars.
- Transparency20%100%
4/4: ✓ public source repo, ✓ declared license, ✓ documentation, ✓ discoverable tool list.
- Provenance15%100%
Package and registry entry point at the same repository.
- Packaging15%100%
Publishes a pinned version (0.2.0).
Documentation
Full READMEThreadMine 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.
No account needed. Without an API key the server uses the same public endpoint as the threadmine.dev analyzer. With a key, analyses land in your ThreadMine workspace.
Tools
| Tool | What it does | |---|---| | 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 the id analyze_thread_dump returned. Read-only, consumes nothing |
Setup
Claude Code plugin (MCP server plus a skill that tells Claude when to use it)
claude plugin marketplace add maschiojv/threadmine-mcp
claude plugin install threadmine@threadmine-pluginsClaude Code, server only
claude mcp add threadmine -- npx -y @threadmine/mcpClaude Desktop / Cursor (claude_desktop_config.json / .cursor/mcp.json)
{
"mcpServers": {
"threadmine": {
"command": "npx",
"args": ["-y", "@threadmine/mcp"]
}
}
}With or without an account
Maintain Threadmine MCP? Add a badge to your README
Shows its health grade, and links readers to install steps for every client.
[](https://mcp-skills-hub.vercel.app/mcps/dev-threadmine-mcp)Catalog data refreshed . Something wrong? Report it.