Atlas / MCP servers / ozgurcd / Gograph

GographCAUTION

mcp/ozgurcd/gograph

Local-only Go static analysis engine with a built-in MCP server. Gives AI coding agents deterministic structural awareness: call graphs, impact analysis, symbol search, and more.

Verdict
CAUTION
Grade
C
Trust score
78 /100
Exposed tools
—
Transport
stdio
License
MIT
Stars
227
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

Symbol queries accept path/to/file.go:Name, including path/to/file.go:Receiver.Method, or an import-qualified file path when a short name is ambiguous. source prints exact selectors for ambiguous matches. Precise indexes include package-level constant references in usages, and review uses the same test attribution as context. Rebuild after upgrading.

review --uncommitted includes deleted declarations from changes --git HEAD and explicitly leaves historical callers, tests and risk unevaluated. Other current-graph traversal commands retain their deletion refusal. Builds explain when an enclosing Git repository ignores the requested directory.

Session audits list invocation errors separately from operational failures and exclude them from compliance scoring. Composability measures the mix of composed and raw query commands; it does not measure answer correctness or token savings.

[](https://goreportcard.com/report/github.com/ozgurcd/gograph) [](https://opensource.org/licenses/MIT) [](https://github.com/ozgurcd/gograph) [](https://github.com/ozgurcd/homebrew-tap) [](https://gograph.identuum.ai)

Give Go coding agents a compiler-aware map for safer refactors.

gograph builds a local structural graph of your Go repository, with optional type-checked CHA/SSA enrichment. Its CLI and MCP workflows help coding agents trace callers and interface implementations, plan change impact, and enforce architecture without embeddings or a hosted code index.

[Explore the interactive no-install demo](https://gograph.identuum.ai/demo/) · Review the reproducible benchmark

Read from source at commit 3275c3d5f884OBSERVED · 2026-10-06
02

Trust audit

CAUTIONgrade C · trust 78/100 Install with care. The audit found things worth knowing before you trust its output.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codePASS
L2Instruction surface (what it tells the agent)FAIL
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
declared (3 observation(s))
Network
none-observed
Shell
none-observed
Dependencies
pinned
Secrets in source
none-found

Findings (21)

HIGHPrompt injection · prompt.override · CWE-94, CWE-1427
docs/coding-agent-usage.md:153
precise targets; it does not hide imported dependency errors or bypass safety
Why it matters. asks the agent to drop prior instructions or safety
Fix. remove the instruction
LOWInventory / provenance · inv.hidden_file · CWE-1104
.bumpversion.cfg
.bumpversion.cfg
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.hidden_file · CWE-1104
.goreleaser.yaml
.goreleaser.yaml
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.hidden_file · CWE-1104
docs-site/.gitmodules
.gitmodules
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.hidden_file · CWE-1104
docs-site/.hugo_build.lock
.hugo_build.lock
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
internal/parser/flow_test.go:27
func handle(r *http.Request, body []byte, db interface{ Exec(string, ...any) error }) {
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
LOWCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
internal/parser/parser_features_test.go:155
func localConst(db interface{ Exec(string, ...any) }) {
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
LOWCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
internal/parser/parser_features_test.go:165
func localVar(db interface{ Exec(string, ...any) }) {
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
LOWCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
internal/parser/parser_features_test.go:170
func shortDeclaration(db interface{ Exec(string, ...any) }) {
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
LOWCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
internal/parser/parser_features_test.go:175
func ordinaryAssignment(db interface{ Exec(string, ...any) }) {
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
internal/buildctx/buildctx_test.go:417
if err := os.WriteFile(filepath.Join(analysisRoot, "go.work"), []byte("go 1.26\n\nuse (\n\t.\n\t../../mesa2/core\n)\n"), 0o644); err != nil {
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
internal/buildctx/buildctx_test.go:465
if err := os.WriteFile(filepath.Join(analysisRoot, "go.work"), []byte("go 1.26\n\nuse (\n\t.\n\t../../sibling\n)\n"), 0o644); err != nil {
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
internal/cli/answers1710_test.go:21
if err := os.CopyFS(root, os.DirFS("../../testdata/answers1710")); err != nil {
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
internal/cli/answers1710_test.go:85
if err := os.CopyFS(snapshot, os.DirFS("../../testdata/answers1710")); err != nil {
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
internal/cli/answers177_test.go:20
if err := os.CopyFS(root, os.DirFS("../../testdata/answers177")); err != nil {
LOWPrompt injection · prompt.transfer_instruction · CWE-94, CWE-1427
README.md:245
**Native MCP Server** — all 64 repository query, analysis, and workflow capabilities have project-MCP equivalents for Claude, Cursor, Copilot, and other MCP clients; four additional endpoints cover se
Why it matters. an instruction to move sensitive data to an outside destination
Fix. remove; a skill never needs the user's secrets off the machine
LOWPrompt injection · prompt.transfer_instruction · CWE-94, CWE-1427
docs-site/public/benchmarks/index.html:108
"articleBody": "Claims you can reproduce gograph’s checked-in benchmark uses a controlled Go fixture with manually reviewable ground truth. It verifies implicit interface implementations, interface-di
Why it matters. an instruction to move sensitive data to an outside destination
Fix. remove; a skill never needs the user's secrets off the machine
LOWPrompt injection · prompt.transfer_instruction · CWE-94, CWE-1427
llm-wiki/agent-contract.md:66
All 64 repository query, analysis, and workflow capabilities must remain semantically equivalent across CLI and the project MCP server; four additional project-MCP endpoints implement session lifecycl
Why it matters. an instruction to move sensitive data to an outside destination
Fix. remove; a skill never needs the user's secrets off the machine
LOWPrompt injection · prompt.transfer_instruction · CWE-94, CWE-1427
llm-wiki/project.md:12
`gograph` is a local Go repository indexer for coding agents. CLI and the project MCP server share 64 repository query, analysis, and workflow capabilities; four additional session tools make 68 proje
Why it matters. an instruction to move sensitive data to an outside destination
Fix. remove; a skill never needs the user's secrets off the machine
LOWInventory / provenance · mcp.no_tools_extracted · CWE-1104
server.json
Why it matters. the tool list is enumerated at runtime by tools/list, not declared in source
Fix. the page says so rather than showing an empty table
INFOPrompt injection · prompt.credential_read · CWE-94, CWE-1427
docs/coding-agent-usage.md:1187
- **Project metadata reads** — in addition to `.go` files, gograph reads regular `go.mod`, `go.sum`, `go.work`, `go.work.sum`, and `vendor/modules.txt` metadata, `.gitignore`, Git state, `.gograph/gra
Why it matters. asks the agent to read credentials

Gates applied: instruction_override, no_behavioural_pass.

Audited 2026-10-06 · audit v0.4.1 · source sha 3275c3d5f884full audit observations/trust-audit/mcp-server/ozgurcd__gograph.json · Report an issue / request a re-scan
03

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-063275c3d5f884CAUTIONC78first audit
04

Questions

What is the Gograph MCP server?

Local-only Go static analysis engine with a built-in MCP server. Gives AI coding agents deterministic structural awareness: call graphs, impact analysis, symbol search, and more.

Is Gograph safe to connect to an agent?

With care. The audit graded it C (78/100) and found 21 things worth knowing before you trust this server, listed below with the exact line each was found on.

What credentials does Gograph need?

No credential environment variables were found in its source, so it appears to need none.

How does Gograph run?

It speaks stdio, so it runs as a local process your client starts.

How current is this page?

The grade is for one exact copy of the source (3275c3d5f884), read on 2026-10-06. The repository is watched and re-audited when it changes.

Advertisement