Knowledge Index (KI)
Code search for AI agents across repos: call graph, frontend-to-API routes, docs. Self-hosted.
Installation
Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).
ghcr.io/xamresor/postgres-knowledge-index:0.19.0claude mcp add knowledge-index-ki -e 'KI_DATABASE_URL=<your ki_database_url>' -e 'KI_EMBED_URL=<KI_EMBED_URL>' -e 'KI_API_TOKEN=<your ki_api_token>' -- docker run -i --rm ghcr.io/xamresor/postgres-knowledge-index:0.19.0
{
"mcpServers": {
"knowledge-index-ki": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/xamresor/postgres-knowledge-index:0.19.0"
],
"env": {
"KI_DATABASE_URL": "<your ki_database_url>",
"KI_EMBED_URL": "<KI_EMBED_URL>",
"KI_API_TOKEN": "<your ki_api_token>"
}
}
}
}
Variables d'environnement
KI_DATABASE_URLobligatoire secret Postgres 17 with pgvector, e.g. postgresql://ki:<password>@db:5432/ki. The full stack is docker/compose.postgres.yml.KI_EMBED_URLobligatoire OpenAI-compatible embedding endpoint, e.g. http://embed:11435/v1 (the embed service in docker/compose.postgres.yml).KI_API_TOKENobligatoire secret Bearer token the MCP clients send to this server.
Questions fréquentes
Qu'est-ce que Knowledge Index (KI) ?
Code search for AI agents across repos: call graph, frontend-to-API routes, docs. Self-hosted.
Comment installer Knowledge Index (KI) ?
Il s'exécute sur votre machine. Dans Claude Code : claude mcp add knowledge-index-ki -e 'KI_DATABASE_URL=<your ki_database_url>' -e 'KI_EMBED_URL=<KI_EMBED_URL>' -e 'KI_API_TOKEN=<your ki_api_token>' -- docker run -i --rm ghcr.io/xamresor/postgres-knowledge-index:0.19.0. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.
Faut-il une clé API pour Knowledge Index (KI) ?
Oui. Il attend KI_DATABASE_URL, KI_EMBED_URL, KI_API_TOKEN, à renseigner dans sa configuration.
Knowledge Index (KI) est-il open source ?
Son code est public sur GitHub, mais le dépôt ne déclare pas de licence standard.
Qui maintient Knowledge Index (KI) ?
Il est publié par xamresor. AI.tn le référence sans le maintenir ni le recommander.
Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.