# Documentation

> Task-oriented guides and references for every codeweb surface — CLI, graph model, HTTP API, and MCP tools.

---

LLMS index: [llms.txt](/codeweb/llms.txt)

---

The pages in this section cover one user task each. Start with [Getting started](/codeweb/docs/getting-started/), then pick the surface you need. Every factual claim is verified against the source code of the current release.

---

Section pages:

- [Getting started](/codeweb/docs/getting-started/): Build codeweb, analyze a real project, and trace your first call chain.
- [CLI reference](/codeweb/docs/cli-reference/): Every codeweb subcommand and flag, verified against the --help output of the current release.
- [Graph model](/codeweb/docs/graph-model/): Node types, edge kinds, node keys, and the inferred/system markers used across CLI output and exports.
- [Trace and query](/codeweb/docs/trace-and-query/): Trace call chains, inspect reachability, compute impact, search by SQL fragment, and run declarative JSON queries.
- [Lineage](/codeweb/docs/lineage/): Table-level and column-level lineage with upstream, downstream, and bidirectional modes, plus export to tree, JSON, DOT, and Mermaid.
- [Column analysis](/codeweb/docs/column-analysis/): Aggregate filters, joins, SELECT INTO mappings, and predicates per procedure or package — the machine-readable entry point for test-data and mock generation.
- [CGEF import and merge](/codeweb/docs/cgef/): Import external graph data in the Codeweb Graph Exchange Format and merge it with locally analyzed stores.
- [HTTP API](/codeweb/docs/serve/): The serve feature — browser UI, REST endpoints under /api/v1, CORS, and access logging.
- [MCP tools](/codeweb/docs/mcp/): Run codeweb as a Model Context Protocol server and query the graph from Claude Desktop, Cursor, or any MCP client.
- [Architecture](/codeweb/docs/architecture/): How codeweb is built — parsing pipeline, graph store, feature flags, module map, and extension points.
- [Contributing](/codeweb/docs/contributing/): Development workflow, test discipline, and the pre-commit gates for codeweb.
