Aidex
@CSCSoftware
关于 Aidex
MCP Server that gives AI coding assistants instant access to your entire codebase through a persistent Tree-sitter index. Instead of grep flooding your context with 2000+ tokens per search, AiDex returns precise identifier matches in ~50 tokens. Supports 11 languages: C#, TypeScr
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"aidex": {
"command": "aidex",
"args": []
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is Aidex?
Aidex is an MCP server that indexes a codebase once using Tree-sitter and provides AI assistants with instant access to every function, class, and method signature. It reduces the token consumption of code searches from thousands of tokens to roughly 50 tokens per query, eliminating the need to grep or read entire files during AI sessions.
How to use Aidex?
Install the package globally with npm install -g aidex-mcp and run aidex setup. The setup command automatically detects and registers Aidex with installed AI clients such as Claude Code, Claude Desktop, Cursor, Windsurf, Gemini CLI, and VS Code Copilot.
Key features of Aidex
- Smart extraction using Tree-sitter – parses code properly, indexes identifiers not keywords
- Method signatures – gets function prototypes without reading implementations
- Project summary – auto-detects entry points, main classes, and language breakdown
- Incremental updates – re-indexes single files after changes
- Cross-project links – queries across multiple related projects
- Time-based filtering – finds changes in the last hour, day, or week
- Session notes – leaves reminders that persist in the database
- Interactive viewer – browser-based project explorer with live reload
Use cases of Aidex
- Quickly locating function, class, or method definitions across a large codebase
- Reducing AI context consumption during code exploration sessions
- Querying code changes from a specific time window (e.g., last hour)
- Searching across multiple related projects without switching tools
- Leaving persistent notes for the next AI session about ongoing work
FAQ from Aidex
What languages does Aidex support?
Aidex supports C#, TypeScript, JavaScript, Rust, Python, C, C++, Java, Go, PHP, and Ruby.
How does Aidex differ from grep or ripgrep?
Grep returns all text matches (thousands of tokens per search), while Aidex returns only identifiers (roughly 50 tokens). Aidex knows about methods, classes, and types, and its index persists across sessions instead of starting fresh every time.
What are the system requirements?
Aidex requires Node.js and uses SQLite with WAL mode as its database (zero configuration, single file). No additional database setup is needed.
Does Aidex work with my AI client?
The aidex setup command auto-detects and registers Aidex with Claude Code, Claude Desktop, Cursor, Windsurf, Gemini CLI, and VS Code Copilot. It works with any client that supports the MCP protocol.
How often do I need to re-index the codebase?
You only need to run the initial setup once. After code changes, Aidex supports incremental updates to re-index single files without rebuilding the entire index.
其他 分类下的更多 MCP 服务器
Production-ready MCP integrations for AI applications
Klavis-AIKlavis AI: MCP integration platforms that let AI agents use tools reliably at any scale
Inbox Zero AI MCP
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
Core Philosophy: Connect, Unify, Respond
mindsdbDelegate anything. It comes back done.
FastMCP v2 🚀
jlowin🚀 The fast, Pythonic way to build MCP servers and clients.
MCP Go 🚀
mark3labsA Go implementation of the Model Context Protocol (MCP), enabling seamless integration between LLM applications and external data sources and tools.
评论