OpenTrace¶
A knowledge graph that maps your codebase structure, service architecture, and system relationships — then exposes it all through MCP so AI tools can understand your systems.
Try it now at app.opentrace.ai — no install required, runs entirely in your browser.
Where to Start¶
| Goal | Start here |
|---|---|
| See what OpenTrace is | Browser (no install) |
| Give Claude Code codebase awareness | Claude Code Plugin |
| Index repos from a terminal | CLI |
| Hack on OpenTrace itself | Development Setup |
Not sure? → Pick Your Path
What It Does¶
OpenTrace indexes source code and builds a queryable knowledge graph. Point it at a repo and it will:
- Parse every file using tree-sitter WASM grammars (12 languages)
- Extract classes, functions, imports, and call relationships
- Build a knowledge graph stored in LadybugDB (embedded graph database)
- Summarize every node using template-based identifier analysis
- Expose the graph via MCP tools to any compatible AI client
See Architecture Overview for how the pieces fit together.
Learn More¶
- Graph Tools — the MCP tools exposed to AI agents
- Supported Languages — full vs. structural extraction
- Claude Code Plugin — agents, commands, and tools
- OpenCode Plugin — native TS plugin, 9 tools, hooks
- Browser Requirements — why Safari doesn't work
- Contributing — help improve OpenTrace
Source¶
OpenTrace is open source under Apache 2.0 — github.com/opentrace/opentrace.