Quick Start

Get Context42 running in three steps.

1. Add your documentation sources

Point Context42 to directories containing your coding standards, guidelines, or any documentation:

c42 add ./my-standards --name standards --priority 0.9
c42 add ./docs --name reference --priority 0.5

The --priority flag (0.1 to 1.0) controls how important a source is. Higher priority content ranks higher in search results.

2. Index your content

Build the local vector index:

c42 index

This chunks your documents and creates local embeddings. No data leaves your machine.

3. Start the MCP server

c42 serve

Context42 is now ready. Configure your AI assistant to connect to it (see Claude Desktop setup).

What happens next?

When your AI assistant asks a question, Context42 automatically searches your indexed documentation and returns the most relevant chunks — ranked by semantic similarity and priority.