Back to MCP marketplace
johnhuang316/code-index-mcp
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_path
    Set the base project path for indexing.
  • search_code_advanced
    Search 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_files
    Find files matching glob pattern using in-memory index. Supports path patterns (*.py, test_*.js) and filename-only matching (README.md).
  • get_file_summary
    Get a summary of a specific file, including: - Line count - Function/class definitions (for supported languages) - Import statements - Basic complexity metrics
  • get_symbol_body
    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
  • refresh_index
    Manually rebuild the project file index. Use after git operations or when index seems stale.
  • build_deep_index
    Build 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_info
    Get information about the project settings.
  • create_temp_directory
    Create the temporary directory used for storing index data.
  • check_temp_directory
    Check the temporary directory used for storing index data.
  • clear_settings
    Clear all settings and cached data.
  • refresh_search_tools
    Manually 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_status
    Get file watcher service status and statistics.
  • configure_file_watcher
    Configure 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.