Back to MCP marketplace
development-it
In Review
johnhuang316/code-index-mcp
Added by github
About
A Model Context Protocol (MCP) server that helps large language models index, search, and analyze code repositories with minimal setup
Tools
- set_project_pathSet the base project path for indexing.
- search_code_advancedSearch for code pattern with pagination. Auto-selects best search tool (ugrep/ripgrep/ag/grep). Supports glob file_pattern (e.g., "*.py"), explicit regex mode, and fuzzy matching (ugrep only). Regex matching requires passing regex=True and
- find_filesFind files matching glob pattern using in-memory index. Supports path patterns (*.py, test_*.js) and filename-only matching (README.md).
- get_file_summaryGet a summary of a specific file, including: - Line count - Function/class definitions (for supported languages) - Import statements - Basic complexity metrics
- get_symbol_bodyGet 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
- refresh_indexManually rebuild the project file index. Use after git operations or when index seems stale.
- build_deep_indexBuild the deep index (full symbol extraction) for the current project. This performs a complete re-index and loads it into memory. Uses parallel processing by default. For large codebases (3000+ files), tuning max_workers
- get_settings_infoGet information about the project settings.
- create_temp_directoryCreate the temporary directory used for storing index data.
- check_temp_directoryCheck the temporary directory used for storing index data.
- clear_settingsClear all settings and cached data.
- refresh_search_toolsManually re-detect the available command-line search tools on the system. This is useful if you have installed a new tool (like ripgrep) after starting the server.
- get_file_watcher_statusGet file watcher service status and statistics.
- configure_file_watcherConfigure file watcher service settings. Args: enabled: Whether to enable file watcher debounce_seconds: Debounce time in seconds before triggering rebuild additional_exclude_patterns: Additional directory/file
Playground
Tested live
Checking your session…
Community reviews
Reports from signed-in users. These reviews describe individual experiences and are not security audits.
No published reviews yet. Share a specific setup result to help the next user evaluate this server.
Used this MCP server?
Sign in before writing so your review is never lost.