Loading connector details…
Loading connector details…
Choose a unique username to continue using AgentHotspot
by BangNGH • Search & Retrieval
An MCP server that indexes, searches, and analyzes code in project directories to help LLM agents explore and reason about codebases.
Search a project's codebase for symbols, function names, or patterns across multiple file types quickly.
Generate summaries or lists of functions/classes and analyze file-level structure and complexity.
Navigate project structure, locate matching files (e.g., test_*.py), and persist indexing state between runs.
Code Index MCP is a Model Context Protocol server that builds and persists an index of a project's files to enable fast searching, file summaries, and code analysis. It supports many common programming languages, provides pattern search and file-level analysis (e.g., function lists, complexity insights), and stores index/config data in a .code_indexer folder to avoid repeated re-indexing. The server integrates with UV for dependency management and can be run standalone or integrated with Claude Desktop for LLM-driven developer workflows. Security-minded features include path validation and restrictions on absolute path access.
Set the base project path for indexing.
Search for code pattern with pagination. Auto-selects best search tool (ugrep/ripgrep/ag/grep). Supports glob file_pattern (e.g., "*.py"), regex patterns, and fuzzy matching (ugrep only).
Find files matching glob pattern using in-memory index. Supports path patterns (*.py, test_*.js) and filename-only matching (README.md).
Get a summary of a specific file, including: - Line count - Function/class definitions (for supported languages) - Import statements - Basic complexity metrics
Get the source code body of a specific symbol (function, method, or class). This tool retrieves only the code for the specified symbol, enabling efficient context usage by avoiding loading entire files. Args: file_path: Path to the file containing the symbol symbol_name: Name of the symbol to retrieve (e.g., "process_data", "MyClass.my_method") Returns: Dictionary containing: - status: "success" or "error" - symbol_name: Name of the symbol - type: Type of symbol (function, method, class) - line: Start line number - end_line: End line number - code: The actual source code - signature: Function/method signature (if available) - docstring: Documentation string (if available) - called_by: List of symbols that call this symbol
Scores are informational only and provided “as is” without warranty. AgentHotspot assumes no liability for actions taken based on these ratings.