Skip to content
Claude Code

Knowledge Index (KI) for Claude Code

io.github.xamresor/postgres-knowledge-index

Code search for AI agents across repos: call graph, frontend-to-API routes, docs. Self-hosted.

client:Claude Code transport:stdio runtime:oci

Install Knowledge Index (KI) in Claude Code

run in your project directory

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

claude mcp add postgres-knowledge-index -e KI_DATABASE_URL=<KI_DATABASE_URL> -e KI_EMBED_URL=<KI_EMBED_URL> -e KI_API_TOKEN=<KI_API_TOKEN> -- docker run -i --rm ghcr.io/xamresor/postgres-knowledge-index:0.18.0

Adds it for this project only. Append --scope user to make it available everywhere. Claude Code docs

Knowledge Index (KI) in other clients