go.mod Parser
Parse Go module files — module, go/toolchain version, requires (direct vs indirect), replace, exclude, retract.
Module
github.com/example/myapp
Go version
1.22
Toolchain
go1.22.4
Direct deps
3 / 5
Direct dependencies (3)
| github.com/gin-gonic/gin | v1.10.0 |
| github.com/jackc/pgx/v5 | v5.5.5 |
| go.uber.org/zap | v1.27.0 |
Indirect dependencies (2)
| github.com/bytedance/sonic | v1.11.6 |
| github.com/cespare/xxhash/v2 | v2.3.0 |
Replace directives
| github.com/some/old | ⇒ | github.com/some/new v1.2.3 |
Excluded (1)
| github.com/old/dep | v0.0.1 |
Retracted versions
- v1.0.0
- v1.0.1
</>Use this tool programmaticallycurl · JavaScript · MCP
Same tool, callable from any HTTP client or from Claude (via MCP). Anonymous: 100 req/day per IP. Sign up for 1,000 req/day.
curl
curl https://api.b-e-a-d.com/tools/go-mod-parser/run \
-H "Content-Type: application/json" \
-d '{
"input": "your input here"
}'JavaScript (fetch)
const res = await fetch("https://api.b-e-a-d.com/tools/go-mod-parser/run", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
"input": "your input here"
}),
});
const data = await res.json();
console.log(data.result);MCP (Claude Desktop / Claude Code)
# In Claude Desktop / Claude Code, add to your MCP config:
{
"mcpServers": {
"bead": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://mcp.b-e-a-d.com"]
}
}
}
# Then ask Claude to call:
mcp__bead__bead_go_mod_parserFull reference: developer docs · OpenAPI spec
Directives
We parse module, go, toolchain, require, replace, exclude, and retract, including block forms (require ( … )) and trailing // indirect markers.
You might also like
- Cargo.toml ParserParse Rust Cargo manifests — package, dependencies (with features), dev/build deps, features, workspace.
- composer.json ValidatorValidate PHP Composer manifests — name, require, autoload, license, stability.
- HTTP Status Code ReferenceSearchable reference of every HTTP status code with descriptions and category.
- MIME Type ReferenceSearchable reference of common MIME types by extension and category.