walkindude/gosymdb

View on GitHub ↗

A Go symbol and call-graph database backed by SQLite. Query symbols, callers, callees, blast radius, dead code, and interface implementors as structured JSON — typed code navigation for AI agents (MCP) and humans.

18 ★1 forksGoUpdated 1mo ago

What you need to know

Go symbol and call-graph database backed by SQLite for coding agents, indexing Go modules and answering queries for callers, callees, blast radius, dead code, and interface implementors.

Install

brew install --cask gosymdb or go install
gosymdb index --root .
Register with cli-bridge for MCP tools

Usage

  • gosymdb callers --symbol pkg.Func --json
  • Query blast radius, dead code, implementors

Key features

  • SQLite symbol + call index built via go/packages
  • Query commands (find, callers, callees, blast-radius, dead, implementors)
  • Structured JSON output with env envelope
  • Staleness detection with --auto-reindex
  • cli-bridge manifest for MCP tool registration

Caveats

  • Go only, not semantic search
  • Interface dispatch not recorded as direct call edge
  • Freshness depends on index
Platforms: macOS · Linux · WindowsClients: Claude Code

Reviewed 2026-08-11

Topics

ai-agentscall-graphclaude-codeclicode-intelligencecode-navigationcode-searchdead-codedead-code-detectiondeveloper-toolsgogolangmcpmodel-context-protocolsqlitestatic-analysissymbol-index
Stars
18★
Forks
1
Language
Go
License
Apache-2.0
Created
2026-03-27
Last push
2026-07-20