go-archer
go-archer is a tool to inspect and analyze dependencies between packages in a project. It produces a graph of dependencies between packages in the project and selected third-party packages, it highlights dependencies that lead towards concrete packages, it estimates distance of the packages from the main sequence.
Go Archer
go-archer is a tool to inspect and analyze dependencies between packages in a project. It produces a graph of dependencies between packages in the project and selected third-party packages, it highlights dependencies that lead towards concrete packages, it estimates distance of the packages from the main sequence.
To install the binary:
go install gitlab.com/shaydo/go-archer/cmd/go-archer@latest
The command tries to load configuration from ~/.go-archer.toml by default. Configuration file might include some concrete packages that you want to track dependencies on and some exclusions:
concrete_packages = [
"database/sql",
"net/http",
]
ignore_packages = [
"net/http/pprof",
]
To create dependency graph in PDF format run:
go-archer | dot -Tpdf -o deps.pdf
To create dependency graph in mermaid format:
go-archer --format mermaid
MCP Server
You can run go-archer as an MCP server. Here's an example of configuration:
{
"mcpServers": {
"go-archer": {
"command": "go-archer",
"args": ["mcp-server"],
"env": {
"HOME": "/home/me"
"GOPATH": "/home/me/go"
}
}
}
}
Note, that HOME and GOPATH enviroment variables are required for
go-archer to be able to find the config file and go module cache.
Recommend MCP Servers 💡
Office-PowerPoint-MCP-Server
A MCP server for PowerPoint manipulation using python-pptx, providing tools for creating, editing, and manipulating PowerPoint presentations through the MCP protocol.
@pyroprompts/mcp-stdio-to-streamable-http-adapter
An MCP server that acts as a STDIO to Streamable HTTP adapter, enabling existing MCP clients to interact with Streamable HTTP MCP servers.
screenshotone
An official MCP server implementation for the ScreenshotOne API, enabling AI models to render website screenshots.
mvf1-cli
A Python package and command line interface to control video players for MultiViewer For F1, the best way to watch Formula 1.
sandbox-mcp
An MCP server enabling LLMs to run code safely in isolated Docker containers.