Knowledge Index (KI)
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Documentation: knowledge-index.sereda.lv — getting started, every setting, the shared server.
One search over several related code projects and their docs, for AI agents. In a few minutes it builds a map of the projects (for example a Laravel API and its Vue or React frontends) and answers what depends on what, which screen calls which route, how to get from A to B across repositories, and what a pull request touches. It keeps the map current within seconds of each commit. Agents ask it over MCP. Everything runs on your machine, no API keys.
Built on graphify (AST code graph) and qmd (on-device Markdown search).
Using it on your own codebase? It started on one Laravel API with Vue frontends, so other stacks will hit rough edges. Fixes, new language plugins and pull requests are very welcome: open an issue or a PR.
See it first: the demo
A small built graph of a made-up shop ships with the repo:
make demo # open the demo dashboard (python3 only, nothing to build)Red edges are routes: a Vue view's api.get('/orders') linked to the controller method that serves it.
Related MCP server: CodeGraph
Quick start
KI is one Docker stack: Postgres with pgvector, an embedding server, the KI server and a refresh service that rebuilds the index when a repository gets a new commit. You need Docker with Docker Compose.
# a folder with docker/compose.postgres.yml, .env (two random secrets) and config/ki.projects.toml
docker compose -f compose.postgres.yml up -dThe first build runs by itself. The MCP server answers on http://127.0.0.1:8899/mcp with the token from .env.
Every step and file: Getting started. Or let your agent do it in one task:
docs/agent-setup.md.
The earlier file-based prototype (one developer, no Docker) lives in its own repository: github.com/xamresor/knowledge-index.
What the agent gets
Tool | Answers |
| a route: its controller, middleware and every file that calls it |
| one symbol and all its connections |
| what depends on a symbol, across repositories |
| several ways from A to B, with the routes on the way |
| a diff: what changed, what depends on it, the routes and screens it reaches, the docs to check |
| docs and code by meaning |
| a document by path; with Postgres it needs the add-on |
| add-on |
| a first look at a project: what most of the code leans on; with |
Long answers come in pages with a cursor; connections and problems show the service map and its gaps.
Add-ons
Off until you install them; an add-on that is off adds no tool, page or route.
Add-on |
| Needs |
|
| — |
|
| Node 22+ |
|
| graphify via uv or pipx |
|
| — |
| an Audit tab: sign-ins, admin actions, every tool call with user and argument | the admin pages |
ki addon list shows what is on, ki addon remove <name> switches one off. The admin pages (/admin:
status, charts, usage, sign-in clients, settings) are part of the core: on a shared server they need
KI_ADMINS or an access plugin with roles. An add-on can also live
outside this repository, under its own licence: ki addon install <folder with plugin.py> (see
bin/plugins.py for the four names a plugin defines). A team server with browser
sign-in and access per project: docs/server.md; it asks your own system who may see
what through two webhooks, docs/access-protocol.md.
More
The documentation site: everything below, with search, and the configuration reference of every setting.
Install and configure: requirements, the configuration, the dashboard, wiring the KI into each project.
The shared server: sign-in, access per project, speed, admin pages, metrics.
Review context on pull requests: what a branch touches.
Writing docs the KI can use, and the
doc-organizationskill that applies it.Design: where it sits among similar tools, the plugins, the rules, the roadmap.
License
AGPL-3.0-or-later: free software, use, study, share and modify it. Copyright (C) 2026 Romans Sereda. Changed versions must stay under the AGPL, and that includes running a changed KI as a service for other people: its users can then ask for the source of what they use. Versions up to 0.13.0 were released under GPL-3.0-or-later.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Codebase intelligence for AI agents — dead code, blast radius, ownership.
Code intelligence for coding agents: semantic, AST, graph, and full-text search. 279+ languages.
Codebase intelligence for AI coding agents: graph, git history, docs, decisions, code health.
Give your AI agent a persistent map of your project's structure, dependencies, and bugs.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables semantic code search across multiple repositories using natural language queries. Provides intelligent code discovery, symbol lookups, and cross-repo dependency analysis for AI coding agents.MIT
- AlicenseNot gradedqualityBmaintenanceSupercharges AI coding agents with a pre-indexed semantic code graph, enabling instant symbol relationships, impact analysis, and context retrieval across 20+ languages.191,704 npm79,046MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to query and analyze code across multiple repositories through a unified knowledge graph, with tools for symbol search, impact analysis, and graph algorithms.MIT
- FlicenseNot gradedqualityCmaintenanceEnables developer agents to perform semantic codebase search, dependency and impact analysis, cross-file refactoring, and full-stack API tracing through a unified query DSL over a high-performance graph engine.1-