Skip to content
hnindex.Documentation

DOCUMENTATION / v0.16.1

A clearer project.
A ready agent.

hnindex gives your AI agent project context and code locations backed by source evidence. Start locally; add semantic retrieval when you need it.

01Orientworkspace_context
02Locatelocate_code
03Connectgraph_context

Start with what you need

Your first session

Run this from your project directory. Node 22+ is enough for the offline multilingual graph workflow.

npx -y hnindex-cli init --mcp claude

// Ask your MCP agent to run:
index_code_graph(path: "/your/project", project_name: "my-app")
workspace_context(project_name: "my-app", task: "Add session expiry")
locate_code(project_name: "my-app", symbol: "verifySession")
Local first. Cloud optional.

Workspace context, tasks and the code graph live in SQLite. Semantic/hybrid search needs Qdrant and an embedding provider. Cloud providers receive the code chunks you choose to embed.

Context with evidence

Tasks are declared by the agent, rather than inferred from Git. The code graph now supports multiple AST language profiles; dynamic calls and external dependencies can remain unresolved. Check freshness before editing and use filesystem search for missing, excluded or stale code.