
gospy
by monsterxx03·★ 96·Score 44
Go process inspector MCP server with goroutine analysis, memory statistics, and binary information via terminal UI or API.
Overview
GoSpy is a non-invasive goroutine inspector for Go processes that provides detailed insights into running Go applications. It features a terminal UI for interactive inspection and an HTTP API for programmatic access to goroutine states, memory statistics, and runtime information. As an MCP server, it exposes tools for dumping goroutines, memory stats, runtime info, and process IDs, making it valuable for debugging and monitoring Go applications in production environments.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose gospy when you need to analyze running Go applications without restarting them or modifying source code, particularly for debugging goroutine issues or monitoring memory usage in production environments.
When NOT to choose this
Don't choose gospy if you need to inspect non-Go processes, don't have root privileges, or need cross-platform support beyond Linux and macOS.
Tools this server exposes
4 tools extracted from the READMEgoroutinesDump goroutines for a go process
gomemstatsDump memory stats for a go process
goruntimeDump runtime info for a go process
pgrepFind pid from process name
Comparable tools
Installation
Installation
go install github.com/monsterxx03/gospy@latestClaude Desktop Configuration
Add to Claude Desktop config.json:
{
"mcpServers": {
"gospy": {
"command": "sudo",
"args": ["gospy", "serve", "--enable-mcp", "--port", "8974"],
"env": {}
}
}
}FAQ
- Why does gospy require root privileges?
- GoSpy needs root privileges to read process memory (/proc/<pid>/mem on Linux) and access Mach APIs on macOS.
- Can gospy analyze Go processes running on Windows?
- No, gospy currently only supports Linux and macOS (Apple Silicon).
Compare gospy with
Last updated · Auto-generated from public README + GitHub signals.