Running Locally
Running Locally
By the end of this guide, you will have Indexed running from source and be able to run the CLI, tests, and the MCP server using a local development install.
Prerequisites
- Python 3.11–3.14 (3.15 is not supported yet:
onnxruntimepublishes nocp315wheel) uv— install withpip install uvorcurl -LsSf https://astral.sh/uv/install.sh | sh- Git
Clone and Install
git clone https://github.com/LennardZuendorf/indexed.git
cd indexed
uv syncuv sync installs all dependencies into a local virtual environment. This takes a minute on the first run while it downloads the embedding model.
If you want the released CLI (not source) for local use, install the published package instead:
uv tool install indexed-shRun the CLI
Use uv run to execute the CLI from the source install:
uv run indexed --helpindexed --help groups the commands the same way the app does: Setup (init), Knowledge & Index Management (index create|search|inspect|update|remove|migrate), Config Management (config get|set|list|validate), MCP (mcp run|dev|inspect), and Resources (docs, license). The top-level options are --local, --engine, --simple-output, --verbose, --log-level, --json-logs, --install-completion, --show-completion, and --help.
All normal indexed commands work the same way — prefix them with uv run:
uv run indexed init
uv run indexed index create files -c test-docs -p ./docs
uv run indexed index search "hello world"Run Tests
uv run pytestTo run only the unit suite, or filter the whole tree by keyword:
uv run pytest tests/unit
uv run pytest tests/ -k "search"MCP Client Config for Source Installs
When running from source, the MCP command changes — instead of "command": "indexed", use uv run with --directory pointing at the repository (same pattern as MCP Setup):
{
"mcpServers": {
"indexed": {
"command": "uv",
"args": ["run", "--directory", "/path/to/indexed", "indexed", "mcp", "run"]
}
}
}Replace /path/to/indexed with the absolute path to your cloned repository. This launches the same subprocess as typing uv run --directory /path/to/indexed indexed mcp run in a shell.
Workspace Structure
The repository is a single package, src/indexed/:
| Module | Description |
|---|---|
src/indexed/core/ | Indexing pipeline: parsing, chunking, embedding, v1 FAISS storage and the v2 LlamaIndex store |
src/indexed/connectors/ | Connector implementations (files, Jira, Confluence, Outline, GitHub) |
src/indexed/mcp/ | MCP server implementation (tools, resources, transports, server lifecycle) |
src/indexed/cli/ | CLI entrypoint and command definitions |
There is one root pyproject.toml; uv sync installs the package in editable mode into the project virtual environment.