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 💡
mobsf-mcp-server
MCP server using mobsf api's to scan and analyze apk and ipa files.
stellar-mcp
A Model Context Protocol server that provides Stellar blockchain interaction capabilities for LLMs
MCP-SynoLink
An MCP server for Synology NAS that enables AI assistants to perform file operations like listing, uploading, downloading, and managing files and folders.
mcp-datetime
A MCP server for datetime formatting and file name generation.
Magg
A Model Context Protocol server that manages, aggregates, and proxies other MCP servers, enabling LLMs to dynamically extend their own capabilities. It acts as a central hub for managing multiple MCP servers, allowing LLMs to search, add, configure, enable/disable servers, aggregate tools, and persist configurations.
mcp-matlab-executor
MCP tool enabling secure execution of MATLAB code with user approval prompts