Quick Start
Quick Start
By the end of this guide, you will have Indexed installed, a collection indexed, and a working search that any MCP-compatible AI agent can use — all in under 5 minutes.
Prerequisites
- Python 3.11–3.14 (
python3 --version); 3.15 is not supported yet becauseonnxruntimepublishes nocp315wheel — pin--python 3.14if your default interpreter is newer - pip — usually included with Python
- A folder with at least a few text files, Markdown, or PDFs to index
Install Indexed
Install the indexed-sh package and run the indexed CLI.
uv tool install indexed-shVerify:
indexed --helpInitialize
Run the setup command once after installing:
indexed initIt creates the data directories under ~/.indexed/ (data/collections/, data/caches/), validates configuration, and downloads the default embedding model. From source, use uv run indexed init.
indexed init does not write a config.toml: every setting has a default. If you need to override one, indexed config set creates the resolved config file on first write (see the Configuration Guide).
Collections are stored under ~/.indexed/data/collections/<name>/ unless you pass --local on indexed index create (then they live under ./.indexed/ in that project). See the Configuration Guide for layout, credentials, and tuning.
See indexed init --help for --skip-model, --model, and --force.
Index a Folder
Point Indexed at any folder with documents — your project's docs/ directory, a folder of Markdown files, or a directory with a few READMEs.
indexed index create files -c my-docs -p ./docsThe CLI renders the progress and the finished collection as Rich panels and tables — the exact shape depends on your terminal.
No docs folder handy?
Use any directory with text files. Indexed supports PDF, DOCX, Markdown, TXT, HTML, and many more formats.
Search It
indexed index search "authentication guide"Results come back ranked per collection, with the matched chunk text and a relevance score. Scores are ordering guidance within one response only — see Search Index for how they are computed.
Dense retrieval matches meaning, not just shared words: the same query also surfaces chunks that discuss SSO setup or token rotation without using the words "authentication guide."
Connect to Claude Desktop
Minimal MCP wiring (stdio): add Indexed to mcpServers with command indexed and args mcp, run. Restart Claude Desktop after saving.
{
"mcpServers": {
"indexed": {
"command": "indexed",
"args": ["mcp", "run"]
}
}
}Full paths (macOS, Linux, Windows), JSON examples, PATH checks (which / where), and client-specific troubleshooting are in MCP Setup.
Verify CLI and MCP
Optional smoke checks after install and MCP wiring:
indexed --help
indexed index inspect
indexed mcp inspect
indexed index search "test query"From source, prefix each line with uv run (for example uv run indexed mcp inspect).
Update Your Collection
When your documents change, re-fetch and re-embed only what's new:
indexed index update my-docsIndexed detects which files changed since the last index and re-processes only those. For git repos, it uses git diff automatically; for non-git folders it falls back to content hashing.