MCP server providing persistent code indexing, semantic and exact search, session memory, and live telemetry for 12 languages.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
One-click editor setup isnβt available for this listing yet β we donβt have a confirmed install command, and weβd rather show nothing than point your editor at the wrong package or host. Follow the projectβs own setup instructions, linked above.
Inspect callable tools, capabilities, and parameters exposed to AI agents by AiDex.
aidex_initIndex a project (creates `.aidex/`)
aidex_querySearch by term (exact/contains/starts_with)
aidex_signatureGet one file's classes + methods
aidex_signaturesGet signatures for multiple files (glob)
aidex_updateRe-index a single changed file
aidex_removeRemove a deleted file from index
The persistent brain for AI coding agents.
AiDex is an MCP server that gives AI coding assistants a memory, semantic search, and live telemetry β local-first, model-agnostic. Works with any MCP-compatible AI assistant: Claude Code, Claude Desktop, Cursor, Windsurf, Gemini CLI, VS Code Copilot, and more.
π§ Memory β Tasks, notes, and session-notes survive every chat. Auto-logged history, scheduled tasks, cross-session continuity. Your AI knows tomorrow what mattered today.
π Search β Three modes: exact (identifier), semantic (concept), hybrid (RRF fusion of both). Embeds code, docs, and workspace items into one ranking. Cross-project β every repo in one query. Optional LLM layer translates non-English queries and reranks results.
π Telemetry β LogHub receives live logs from any app via HTTP (no SDK). The AI watches what your code actually does, not just what it says. Live-streamed in the Viewer.

| Without AiDex | With AiDex | |
|---|---|---|
Find PlayerHealth | Grep β 200 hits in 40 files β reads 5 files β 2,000+ tokens | 1 query β 3 exact locations β ~50 tokens |
| Get file structure | Reads entire 500-line file β 1,500 tokens | Signatures β classes + methods β ~80 tokens |
| What changed today? | git diff + grep + context β 3,000+ tokens | Time-filtered query β ~50 tokens |

| Category | Tools | What it does |
|---|---|---|
| Semantic Search π | search, settings | Hybrid / semantic / exact retrieval over code, docs & workspace. Settings tab to configure embeddings + LLM layer |
| Index & Identifier Search | init, query, update, remove, status | Index your project, search identifiers by name (exact/contains/starts_with), time-based filtering |
| Signatures | signature, signatures | Get classes + methods of any file without reading it β single file or glob pattern |
| Project Overview | summary, tree, describe, files | Entry points, language breakdown, file tree with stats, file listing by type |
| Cross-Project | link, unlink, links, scan | Link dependencies, discover indexed projects |
| Global Search | global_init, global_query, global_signatures, global_status, global_refresh | Search identifiers across ALL your projects β "Have I ever written X?" |
| Guidelines | global_guideline | Persistent AI instructions & coding conventions β shared across all projects |
| Sessions | session, note | Track sessions, detect external changes, leave notes for next session (with searchable history) |
| Task Backlog | task, tasks | Built-in task management with priorities, tags, auto-logged history, and scheduled/recurring tasks |
| Log Hub | log | Universal log receiver β any program sends logs via HTTP, queryable by the AI, live in Viewer |
| Screenshots | screenshot, windows | Cross-platform screen capture with LLM optimization β scale + color reduction saves up to 95% tokens |
| Viewer | viewer | Interactive browser UI with file tree, signatures, tasks, logs, search, and live reload |
14 languages β C#, TypeScript, JavaScript, Rust, Python, C, C++, Java, Go, PHP, Ruby, HCL/Terraform, Kotlin, Swift β plus Astro frontmatter
v2.0 added semantic search via locally-run embeddings β your AI can find a function even when it doesn't know the exact identifier.
| Mode | What it does | When to use |
|---|---|---|
exact | Identifier match (same as aidex_query) | You know the name. PlayerHealth β 3 hits |
semantic | Vector KNN over embedded code+docs+workspace | You know the concept. "how do we cache the model" β finds getQueryEmbedder |
hybrid (default) | RRF fusion of both | Mixed queries. Robust by default |
One ranking, all kinds. A query like "how to write logs from external programs" surfaces the README's ## Log Hub section first, then the log method in commands/log.ts, then any related task.
Or use the Settings tab in the Viewer (aidex_settings({ path: ".", open: true })) β toggles for embeddings, LLM provider, model, and the privacy switch.
When an Anthropic / OpenAI / OpenRouter / Ollama / HuggingFace API key is configured, AiDex can:
Privacy switch llm_send_code defaults to off β only your literal query and metadata (paths, names, anchors) are sent. Code bodies stay local. Per-project, easy to verify in Settings.
Local-first: works fully offline with pure embeddings. The LLM layer is opt-in, never required.
Every time your AI assistant searches for code, it:
A single "Where is X defined?" question can eat 2,000+ tokens. Do that 10 times and you've burned half your context on navigation alone.
Index once, query forever:
Result: 50-80% less context used for code navigation.
| Grep/Ripgrep | AiDex | |
|---|---|---|
| Context usage | 2000+ tokens per search | ~50 tokens |
| Results | All text matches | Only identifiers |
| Precision | log matches catalog, logarithm | log finds only log |
| Persistence | Starts fresh every time | Index survives sessions |
| Structure | Flat text search | Knows methods, classes, types |
The real cost of grep: Every grep result includes surrounding context. Search for User in a large project and you'll get hundreds of hits - comments, strings, partial matches. Your AI reads through all of them, burning context tokens on noise.
AiDex indexes identifiers: It uses Tree-sitter to actually parse your code. When you search for User, you get the class definition, the method parameters, the variable declarations - not every comment that mentions "user".
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/cscsoftware-aidex)<a href="https://allmcps.com/mcp/cscsoftware-aidex"><img src="https://allmcps.com/api/badge/cscsoftware-aidex?style=directory" alt="AiDex on AllMCPs" /></a>