Indexed
Dev

Running Locally

Clone the Indexed repository and run the CLI from source for development and contribution.

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: onnxruntime publishes no cp315 wheel)
  • uv — install with pip install uv or curl -LsSf https://astral.sh/uv/install.sh | sh
  • Git

Clone and Install

Terminal
git clone https://github.com/LennardZuendorf/indexed.git
cd indexed
uv sync

uv 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:

Terminal
uv tool install indexed-sh

Run the CLI

Use uv run to execute the CLI from the source install:

Terminal
uv run indexed --help

indexed --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:

Terminal
uv run indexed init
uv run indexed index create files -c test-docs -p ./docs
uv run indexed index search "hello world"

Run Tests

Terminal
uv run pytest

To run only the unit suite, or filter the whole tree by keyword:

Terminal
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):

mcp_config.json
{
  "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/:

ModuleDescription
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.

What's Next

On this page