---
title: Context
description: Standalone CLI and MCP server for deterministic repository context.
---

`context` gives agents and humans one command for the repository facts they usually gather with many shell calls.

**Git context**

Branch, pull request, working-tree, diff, and recent-commit context in one
deterministic snapshot.

**Stack detection**

Language, ecosystem, tooling, and framework detection from repository files,
with no LLM and no external scanners.

**MCP server**

The same producers exposed over stdio as read-only MCP tools and resources
for agent harnesses.

**Generated references**

CLI help, shell completions, and MCP tool docs generated from the same
source metadata.

## Start Here

**[Install](/install)**

Install from the AUR or build the binary locally with mise.

**[Quick Start](/quick-start)**

Run the core CLI commands and start the MCP server.

**[CLI](/cli)**

Use context directly from a terminal or script.

**[MCP Server](/mcp)**

Expose context to MCP-compatible agents over stdio.

## Documentation Scope

Generic CLI and MCP behaviour lives here. OpenCode plugins that inject this context into sessions live in [`timmo001/dotfiles`](https://github.com/timmo001/dotfiles), with integration notes in the [dotfiles docs](https://dotfiles.timmo.dev/opencode/).

## Machine-readable docs

| URL                                     | Use                                      |
| --------------------------------------- | ---------------------------------------- |
| https://context.timmo.dev/llms.txt      | Compact page index                       |
| https://context.timmo.dev/llms-full.txt | Full docs bundle                         |
| https://context.timmo.dev/mcp           | Hosted MCP (search, page and navigation) |
| `/{route}.md`                           | One page as Markdown                     |
