You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+27Lines changed: 27 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,33 @@
2
2
3
3
All notable changes to AiDex will be documented in this file.
4
4
5
+
## [1.12.0] - 2026-03-07
6
+
7
+
### Added
8
+
-**Auto-setup on install**: `npm install -g aidex-mcp` now automatically registers AiDex with all detected AI clients and installs AI instructions (`CLAUDE.md`, `GEMINI.md`)
9
+
- Opt-out via `AIDEX_NO_SETUP=1` or `CI` environment variable
10
+
- Graceful fallback: shows manual hint if auto-setup fails
11
+
-**Comprehensive AI instructions**: The CLAUDE.md block installed by `aidex setup` now covers all 27 tools
12
+
- Decision tree: "Do I want to search code? → .aidex/ exists? → STOP, use AiDex"
13
+
- Explicit ❌/✅ examples (never Grep when .aidex exists)
@@ -18,6 +18,74 @@ AiDex is an MCP server that gives AI coding assistants instant access to your en
18
18
19
19
</details>
20
20
21
+
### What's Inside — 27 Tools in One Server
22
+
23
+
| Category | Tools | What it does |
24
+
|----------|-------|--------------|
25
+
|**Search & Index**|`init`, `query`, `update`, `remove`, `status`| Index your project, search identifiers by name (exact/contains/starts_with), time-based filtering |
26
+
|**Signatures**|`signature`, `signatures`| Get classes + methods of any file without reading it — single file or glob pattern |
27
+
|**Project Overview**|`summary`, `tree`, `describe`, `files`| Entry points, language breakdown, file tree with stats, file listing by type |
28
+
|**Cross-Project**|`link`, `unlink`, `links`, `scan`| Link dependencies, discover indexed projects |
29
+
|**Global Search**|`global_init`, `global_query`, `global_signatures`, `global_status`, `global_refresh`| Search across ALL your projects at once — "Have I ever written X?" |
30
+
|**Sessions**|`session`, `note`| Track sessions, detect external changes, leave notes for next session (with searchable history) |
31
+
|**Task Backlog**|`task`, `tasks`| Built-in task management with priorities, tags, and auto-logged history |
32
+
|**Screenshots**|`screenshot`, `windows`| Cross-platform screen capture (fullscreen, window, region) — no index needed |
33
+
|**Viewer**|`viewer`| Interactive browser UI with file tree, signatures, tasks, and live reload |
Every time your AI assistant searches for code, it:
@@ -85,18 +153,13 @@ The index lives in `.aidex/index.db` (SQLite) - fast, portable, no external depe
85
153
86
154
## Features
87
155
88
-
-**Screenshots**: Cross-platform screenshot capture (fullscreen, window, region) with auto-path for instant AI viewing
89
-
-**Smart Extraction**: Uses Tree-sitter to parse code properly - indexes identifiers, not keywords
90
-
-**Method Signatures**: Get function prototypes without reading implementations
91
-
-**Project Summary**: Auto-detected entry points, main classes, language breakdown
92
-
-**Incremental Updates**: Re-index single files after changes
93
-
-**Cross-Project Links**: Query across multiple related projects
94
-
-**Global Search**: Search across ALL indexed projects at once - "Have I ever written X?"
156
+
-**Tree-sitter Parsing**: Real code parsing, not regex — indexes identifiers, ignores keywords and noise
157
+
-**~50 Tokens per Search**: vs 2000+ with grep — your AI keeps its context for actual work
158
+
-**Persistent Index**: Survives between sessions — no re-scanning, no re-reading
159
+
-**Incremental Updates**: Re-index single files after changes, not the whole project
95
160
-**Time-based Filtering**: Find what changed in the last hour, day, or week
96
-
-**Project Structure**: Query all files (code, config, docs, assets) without filesystem access
97
-
-**Session Notes**: Leave reminders for the next session - persists in the database, with searchable history
98
-
-**Task Backlog**: Built-in task management that lives with your code index - no external tools needed
99
161
-**Auto-Cleanup**: Excluded files (e.g., build outputs) are automatically removed from index
162
+
-**Zero Dependencies**: SQLite with WAL mode — single file, fast, portable
100
163
101
164
## Supported Languages
102
165
@@ -116,14 +179,15 @@ The index lives in `.aidex/index.db` (SQLite) - fast, portable, no external depe
116
179
117
180
## Quick Start
118
181
119
-
### 1. Install & Register
182
+
### 1. Install
120
183
121
184
```bash
122
185
npm install -g aidex-mcp
123
-
aidex setup
124
186
```
125
187
126
-
`aidex setup` automatically detects and registers AiDex with your installed AI clients (Claude Code, Claude Desktop, Cursor, Windsurf, Gemini CLI, VS Code Copilot). To unregister: `aidex unsetup`.
188
+
**That's it.** Setup runs automatically after install — it detects your installed AI clients (Claude Code, Claude Desktop, Cursor, Windsurf, Gemini CLI, VS Code Copilot) and registers AiDex as an MCP server. It also adds usage instructions to your AI's config (`~/.claude/CLAUDE.md`, `~/.gemini/GEMINI.md`).
189
+
190
+
To re-run setup manually: `aidex setup` | To unregister: `aidex unsetup` | To skip auto-setup: `AIDEX_NO_SETUP=1 npm install -g aidex-mcp`
127
191
128
192
### 2. Or register manually with your AI assistant
129
193
@@ -182,20 +246,117 @@ aidex setup
182
246
183
247
### 3. Make your AI actually use it
184
248
185
-
Add to your AI's instructions (e.g., `~/.claude/CLAUDE.md` for Claude Code):
249
+
Add to your AI's instructions (e.g., `~/.claude/CLAUDE.md` for Claude Code, or the equivalent for your AI client). This tells the AI **when and how** to use AiDex instead of grepping:
186
250
187
251
```markdown
188
-
## AiDex - Use for ALL code searches!
252
+
## AiDex - Persistent Code Index (MCP Server)
253
+
254
+
AiDex provides fast, precise code search through a pre-built index.
255
+
**Always prefer AiDex over Grep/Glob for code searches.**
256
+
257
+
### REQUIRED: Before using Grep/Glob/Read for code searches
258
+
259
+
```
260
+
Do I want to search code?
261
+
├── .aidex/ exists → STOP! Use AiDex instead
262
+
├── .aidex/ missing → run aidex_init (don't ask), THEN use AiDex
| Global Search | `aidex_global_init`, `aidex_global_query`, `aidex_global_signatures`, `aidex_global_status`, `aidex_global_refresh` | Search across ALL projects |
Copy file name to clipboardExpand all lines: package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
{
2
2
"name": "aidex-mcp",
3
-
"version": "1.11.0",
3
+
"version": "1.12.0",
4
4
"mcpName": "io.github.CSCSoftware/aidex",
5
5
"description": "MCP Server for persistent code indexing. Gives AI assistants (Claude, Gemini, Copilot, Cursor) instant access to your codebase. 50x less context than grep.",
0 commit comments