# CSCSoftware/AiDex [Health: Active]

**Category:** 💰 Finance & Fintech  
**Repository:** https://github.com/CSCSoftware/AiDex  
**GitHub Stars:** 50  
**npm Downloads (last month):** 1253  
**Views:** 2  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/cscsoftware-aidex

## Description
Persistent code index MCP server using Tree-sitter for fast, precise code search. Replaces grep with 50 token responses instead of 2000+. Supports 11 languages including C, TypeScript, Python, Rust, and Go.

## Tools
Capabilities this server exposes over MCP:

- **aidex_init** — Index a project (creates `.aidex/`)
- **aidex_query** — Search by term (exact/contains/starts_with)
- **aidex_signature** — Get one file's classes + methods
- **aidex_signatures** — Get signatures for multiple files (glob)
- **aidex_update** — Re-index a single changed file
- **aidex_remove** — Remove a deleted file from index
- **aidex_summary** — Project overview
- **aidex_tree** — File tree with statistics
- **aidex_describe** — Add documentation to summary
- **aidex_link** — Link another indexed project
- **aidex_unlink** — Remove linked project
- **aidex_links** — List linked projects
- **aidex_status** — Index statistics
- **aidex_scan** — Find indexed projects in directory tree
- **aidex_files** — List project files by type (code/config/doc/asset)
- **aidex_note** — Read/write session notes (persists between sessions)
- **aidex_session** — Start session, detect external changes, auto-reindex
- **aidex_changes** — Compact "work state since <time>": changed files with method/type delta, new comments, task activity, note change (metadata only)
- **aidex_viewer** — Open interactive project tree in browser
- **aidex_task** — Create, read, update, delete tasks with priority and tags
- **aidex_tasks** — List and filter tasks by status, priority, or tag
- **aidex_screenshot** — Take a screenshot (fullscreen, window, region) with optional scale + color reduction
- **aidex_windows** — List open windows for screenshot targeting
- **aidex_global_init** — Scan directory tree, register all indexed projects in global DB
- **aidex_global_status** — List all registered projects with stats
- **aidex_global_query** — Search terms across ALL registered projects
- **aidex_global_signatures** — Search methods/types by name across all projects
- **aidex_global_refresh** — Update stats and remove stale projects from global DB
- **aidex_global_guideline** — Store/retrieve AI guidelines and coding conventions (key-value, global)
- **aidex_guideline** — Same for ONE project (stored in its `.aidex` index); `always=true` guidelines are delivered by `aidex_session
- **aidex_health** — Read-only report on the instructions an AI gets loaded: size, dead paths, dated lines, duplicates, project-specific content in global text
- **aidex_log** — Universal log receiver — start HTTP server, query logs, live stream in Viewer

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "aidex": {
    "command": "npx",
    "args": ["-y","aidex-mcp"]
  }
}
```

## Documentation

## What CSCSoftware/AiDex does

CSCSoftware/AiDex creates a persistent `.aidex/` index for a project and lets an MCP-compatible coding assistant query that index instead of repeatedly scanning source files. Identifier searches support exact, contains, and starts-with matching, while signature tools return classes and methods without requiring the agent to read an entire file. Project summaries, file trees, file-type listings, and status statistics provide structural context.

The index covers code and can also include Markdown documentation, tasks, session notes, and other workspace items for semantic retrieval. Search can run in exact, semantic, or hybrid mode. Semantic search uses locally run embeddings; hybrid search combines semantic and identifier retrieval. An optional LLM layer can translate queries, expand them, and rerank candidates.

## How it works

Initialize a project with `aidex_init`, which creates the `.aidex/` directory and records the project for later queries. Individual files can be re-indexed or removed as they change. `aidex_session` can detect changes made outside the assistant and trigger re-indexing as part of session handling.

Projects can be linked, discovered, and registered in a global database. Global tools search identifiers, signatures, and statistics across registered projects. Persistent notes, coding guidelines, and task records give later sessions access to information created earlier. Tasks support priorities, tags, status filtering, scheduled work, and recurring work.

The Log Hub accepts application logs over HTTP and makes them queryable, with live streaming in the Viewer. Screenshot tools can target the full screen, a window, or a region; `aidex_windows` lists open windows for targeting. The Viewer presents project trees, signatures, tasks, logs, search, and live reload in a browser.

## Setup and configuration

Run the server with Node.js 20 or newer. After connecting it to an MCP-compatible client, initialize each repository that should be indexed. Enable embeddings during initialization when semantic retrieval is needed; the embeddings are generated locally and cached. The Viewer includes a Settings tab for configuring embeddings, an optional LLM provider and model, and the privacy setting for sending code.

The LLM layer is optional and can use Anthropic, OpenAI, OpenRouter, Ollama, or HuggingFace when an appropriate API key is configured. Without that layer, local embeddings support offline semantic search. The `llm_send_code` privacy setting defaults to disabled, so code bodies remain local unless that behavior is changed.

## Tools and capabilities

- Index, update, remove, and inspect project contents.
- Search identifiers by name, time range, exactness, semantic meaning, or hybrid ranking.
- Retrieve signatures for one file or files selected by a glob.
- Link projects and search across all globally registered projects.
- Persist notes, guidelines, session history, tasks, priorities, tags, and recurring work.
- Receive and stream HTTP logs through the browser Viewer.
- Capture optimized screenshots and list windows available for targeting.
- Support C#, TypeScript, JavaScript, Rust, Python, C, C++, Java, Go, PHP, Ruby, HCL/Terraform, Kotlin, Swift, and Astro frontmatter.

_Full upstream README: https://allmcps.com/mcp/cscsoftware-aidex/readme_

