Quick answer
ThreadMine is a Java thread dump analyzer with AI — detects deadlocks, CPU spikes, pool exhaustion and virtual thread pinning. Free online, no signup. The official MCP server (@threadmine/mcp) puts that analysis inside your assistant: paste the dump in the chat and get the diagnosis without switching windows, with no account and no API key.
What is the ThreadMine MCP server
MCP (Model Context Protocol) is the open standard that connects AI assistants to external tools. With ThreadMine’s official MCP server installed, Claude Code, Claude Desktop and Cursor use ThreadMine: during an incident you paste the thread dump into the conversation (or point at the file path) and the assistant returns the detected problems, the health score and the link to the full interactive report.
The package is published on npm as @threadmine/mcp and listed in the official MCP registry as dev.threadmine/mcp. There are two tools: one that analyzes a new dump and a read-only one to revisit analyses.
Install
THREADMINE_API_KEY in the server’s environment.Claude Code · plugin
claude plugin marketplace add maschiojv/threadmine-mcp claude plugin install threadmine@threadmine-plugins
Claude Desktop · Cursor
{
"mcpServers": {
"threadmine": {
"command": "npx",
"args": ["-y", "@threadmine/mcp"]
}
}
}How it works
- 01
Install with one command
The Claude Code plugin brings the MCP server plus a skill that teaches Claude to reach for ThreadMine when a thread dump shows up. No signup.
- 02
Paste the dump in the chat (or point at the file)
Ask the assistant to analyze it: the dump goes through the analyze_thread_dump tool — large dumps go by file path, without blowing up the context.
- 03
Get the diagnosis in the chat
Detected problems with severity and recommendation, a 0–100 health score, and the link to the full interactive report on ThreadMine.
The tools
| Tool | What it does | Quota |
|---|---|---|
| analyze_thread_dump | Uploads a thread dump (text or file path) and returns detected problems, health score and the report link. | Counts: 5/hour without an account |
| get_analysis | Fetches an existing analysis by id — follow-ups without re-uploading the dump. | Free (read-only) |
Package & source
The server is open source (MIT) and published in the official MCP registry as dev.threadmine/mcp. Security questions? See the security page.
Frequently asked questions
Do I need an account or an API key?
No. Without an API key the MCP server uses the same free analysis as the website: up to 5 analyses per hour and 20 per day per IP, with the report on a public link that expires after 7 days. With a ThreadMine account, the free one included, you create an API key and the analyses are kept in your workspace, within your plan’s daily quota.
Does analyzing via MCP consume my quota?
Without an API key, each analyze_thread_dump call counts against the anonymous limit (5 per hour, 20 per day per IP). With a key, it consumes 1 analysis from your plan’s daily quota, the same cost as uploading through the UI. get_analysis is read-only and consumes nothing, so follow-ups on an existing analysis are free.
Does it work in Cursor and Claude Desktop?
Yes. The same npm package (@threadmine/mcp) works in Claude Code, Claude Desktop and Cursor. In Claude Code it comes as a plugin; elsewhere it is the JSON config from the install section.
Where do my thread dumps go?
The dump is sent over HTTPS to the ThreadMine API. Without an API key it is analyzed like on the website: the report sits on a public link that opens for anyone who has it, and expires after 7 days. With a key, the analysis goes into your account’s workspace. If your policy forbids sending production dumps, anonymize them first with tm-anon. Retention and security details are on the security page.
Analyze your next incident without leaving the editor
Install the MCP server with one command and analyze without an account. Create a free account when you want to keep the reports in your workspace.