aidex_describe
Add or update a section in the project summary (summary.md). Use to document project purpose, architecture, key concepts, or patterns.
Index a codebase once and give the assistant identifier search, semantic search, signatures and memory that survives the chat.
LABSCO SUMMARY
Signatures and identifier lookup answer most "where is this defined, what does it take" questions without pulling whole files into the context, and semantic search covers the case where the name is unknown. The memory side is what changes across sessions: notes, tasks and a session start that reports what changed since last time, so a new chat does not begin from nothing. It stays on your machine unless you deliberately configure a model provider.
A local code-intelligence server: it builds a searchable index of a project's identifiers and signatures, keeps notes and tasks in its own database, and can receive live logs from a running program.
Node.js 20 or newer. Installed globally from npm as aidex-mcp, with a setup command that registers it with your assistant. Local-first: it works fully offline on its own embeddings, and the LLM layer — query translation and reranking — is opt-in, switched on by configuring an Anthropic, OpenAI, OpenRouter, Ollama or Hugging Face key. Embeddings are enabled per project when you initialize it and cached afterwards.
One command — npm install -g aidex-mcp
USE CASES
Index the project, read the summary of entry points and main types, then walk the tree.
Query the identifier index, then read the signatures for the files it points at.
Use semantic search across code, docs and workspace items instead of guessing at names.
Start the session to see what changed since last time, and read the notes you left.
Link the dependency's index, then query identifiers or method signatures across every registered project.
Send the running application's logs to the hub over HTTP and query them alongside the code.
Re-index the file you changed, and drop the ones you deleted.
Counted once with only startup setup. Other versions, modes or optional credentials may expose a different list.
aidex_describeAdd or update a section in the project summary (summary.md). Use to document project purpose, architecture, key concepts, or patterns.
aidex_filesList all files and directories in the indexed project. Returns the complete project structure with file types (code, config, doc, asset, test, other) and whether each file is indexed for code search. Use modified_since to find files changed in this session.
aidex_global_guidelineManage persistent guidelines in the global AiDex database (~/.aidex/global.db). Guidelines are named key-value instructions that apply across all projects — e.g. "review" → detailed review checklist, "release-prep" → release steps, "new-feature" → conventions to follow. Use list at session start to load active guidelines. Works without prior global_init.
aidex_global_initScan a directory tree for AiDex-indexed projects and register them in the global database (~/.aidex/global.db). Also finds unindexed projects (by markers like .csproj, package.json, Cargo.toml, etc.). Use this to enable cross-project searches with aidex_global_query.
aidex_global_querySearch for a term across ALL registered projects in the global AiDex index. Returns matches grouped by project. Use this to find code across your entire codebase.
aidex_global_refreshRefresh project statistics in the global AiDex index. Updates file counts, method counts, etc. from each project's database. Removes projects whose paths no longer exist.
aidex_global_signaturesSearch for methods and types by name across ALL registered projects. Returns method prototypes and type definitions grouped by project. Use to find "where is class X defined?" or "who has a method called Y?".
aidex_global_statusShow overview of all projects registered in the global AiDex index. Lists project names, paths, file counts, languages, and last indexed times.
aidex_initInitialize AiDex indexing for a project. Scans all source files and builds a searchable index of identifiers, methods, types, and signatures.
aidex_linkLink a dependency project to enable cross-project queries. The dependency must have its own .aidex index.
aidex_linksList all linked dependency projects.
aidex_logUniversal Log Hub — receive and query logs from any external program (C#, Python, Node, etc.) via HTTP. Zero-cost when not used. Actions: init (start HTTP server), free (stop server), status (show stats), query (search logs), clear (reset buffer), write (inject entry as "claude"), control_get (read all interactive dashboard control values), control_set (change one control — same set-point the user's dashboard slider drives, so the AI can tune live).
aidex_noteRead or write a session note for the project. Notes persist in the AiDex database. When a note is overwritten or cleared, the old note is automatically archived. Use history/search to browse past notes.
aidex_querySearch for terms/identifiers in the AiDex index. Returns file locations where the term appears. PREFERRED over Grep/Glob for code searches when .aidex/ exists - faster and more precise. Use this instead of grep for finding functions, classes, variables by name.
aidex_removeRemove a file from the AiDex index. Use when a file has been deleted from the project.
aidex_scanScan a directory tree to find all projects with AiDex indexes (.aidex directories). Use this to discover which projects are already indexed before using Grep/Glob - indexed projects should use aidex_query instead.
aidex_screenshotTake a screenshot. Returns file path for Read. No index required. OPTIMIZATION STRATEGY: Always start with scale=0.5 + colors=2 (smallest). If text is unreadable, retry with colors=16. If still unclear, try scale=0.75 or omit colors for full quality. Remember what works for each window/app during the session to avoid retries.
aidex_searchSemantic search across embedded code, docs, and workspace items (tasks/notes/history). Best for natural-language questions like "how do we handle retry with backoff" or "what does the error logging do" — finds the right file even when you don't know the identifier name. Requires embeddings: true on aidex_init for the project. Three modes: semantic (pure vector KNN), exact (identifier match like aidex_query), hybrid (RRF fusion of both — default and recommended).
aidex_sessionStart or check an AiDex session. Call this at the beginning of a new chat session to: (1) detect files changed externally since last session, (2) auto-reindex modified files, (3) get session note and last session times. Returns info for "What did we do last session?" queries.
aidex_settingsOpen the AiDex Settings tab in the viewer (where the user configures embeddings, LLM provider/key/model, and the privacy switch). Use this when the user asks to "open my AiDex settings", "show my LLM configuration", "configure embeddings", etc. Without 'open: true' the tool returns the current settings as JSON for inspection.
aidex_signatureGet the signature of a single file: header comments, types (classes/structs/interfaces), and method prototypes. Use this INSTEAD of reading entire files when you only need to know what methods/classes exist. Much faster than Read tool for understanding file structure.
aidex_signaturesGet signatures for multiple files at once using glob pattern or file list. Returns types and method prototypes. Use INSTEAD of reading multiple files when exploring codebase structure. Much more efficient than multiple Read calls.
aidex_statusGet AiDex server status and statistics for an indexed project
aidex_summaryGet project summary including auto-detected entry points, main types, and languages. Also returns content from summary.md if it exists.
aidex_taskManage a single task in the project backlog. Actions: create (new task), read (get task + log), update (change fields), delete, log (add history note). Tasks persist in the AiDex database. Completed tasks are preserved as documentation.
aidex_tasksList and filter tasks in the project backlog. Returns tasks grouped by status (active, backlog, done, cancelled) and sorted by priority. Use to get an overview of all open and completed work.
aidex_treeGet the indexed file tree. Optionally filter by subdirectory, limit depth, or include statistics per file.
aidex_unlinkRemove a linked dependency project.
aidex_updateRe-index a single file. Use after editing a file to update the AiDex index. If the file is new, it will be added to the index. If unchanged (same hash), no update is performed.
aidex_viewerOpen an interactive project tree viewer in the browser. Shows the indexed file structure with clickable nodes - click on a file to see its signature (header comments, types, methods). Uses a local HTTP server with WebSocket for live updates.
aidex_windowsList all open windows with their titles, PIDs, and process names. Use this to find the exact window title for aidex_screenshot with mode="window". No project index required.
BEFORE YOU INSTALL
31 tools when we connected.
Node.js ≥ 20
All 4 documented clients run the server on your machine.
CONTEXT COST
Rated by the size of the 31 tool definitions that ride along on every turn, not by how many there are
INSTALLATION
npm install -g aidex-mcp{
"mcpServers": {
"aidex": {
"type": "stdio",
"command": "aidex",
"env": {}
}
}
}{
"mcpServers": {
"aidex": {
"command": "aidex"
}
}
}{
"servers": {
"aidex": {
"type": "stdio",
"command": "aidex"
}
}
}