Developer Tools · Search Tools

Code Index MCP logo

Code Index MCP

johnhuang316/code-index-mcp

Code Index MCP is a Model Context Protocol server that bridges the gap between AI models and complex codebases. It provides intelligent indexing, advanced search capabilities, and detailed code analysis to help AI assistants understand and navigate your projects effectively.

Install

uvx code-index-mcp

Client configuration

{
  "mcpServers": {
    "code-index": {
      "command": "uvx",
      "args": [
        "code-index-mcp"
      ]
    }
  }
}
GitHub stars
9
Category
Developer Tools, Search Tools
License
MIT
Updated
Oct 6, 2026

Features

  • Dual-Strategy Architecture: Specialized tree-sitter parsing for 10 core languages, fallback strategy for 50+ file types

  • Direct Tree-sitter Integration: No regex fallbacks for specialized languages - fail fast with clear errors

  • Advanced Search: Auto-detects and uses the best available tool (ugrep, ripgrep, ag, or grep)

  • Universal File Support: Comprehensive coverage from advanced AST parsing to basic file indexing

  • File Analysis: Deep insights into structure, imports, classes, methods, and complexity metrics after running build_deep_index

  • 10 Languages with Tree-sitter AST Parsing: Python, JavaScript, TypeScript, Java, Kotlin, C#, Go, Objective-C, Zig, Rust

  • 50+ File Types with Fallback Strategy: C/C++, Ruby, PHP, and all other programming languages

  • Document & Config Files: Markdown, JSON, YAML, XML with appropriate handling

  • Web Frontend: Vue, React, Svelte, HTML, CSS, SCSS

  • Java Web & Build: JSP/Tag files (.jsp,.jspx,.jspf,.tag,.tagx), Grails/GSP (.gsp), Gradle & Groovy builds (.gradle,.groovy),.properties, and Protocol Buffers (.proto)

Tools (13)

  • set_project_path

    Initialize indexing for a project directory

  • refresh_index

    Rebuild the shallow file index after file changes

  • build_deep_index

    Generate the full symbol index used by deep analysis

  • get_settings_info

    View current project configuration and status

  • search_code_advanced

    Smart search with literal-by-default matching, optional regex=True, fuzzy matching, file filtering, and paginated results (10 per page by default); regex mode…

  • find_files

    Locate files using glob patterns (e.g., **/*.py)

  • get_file_summary

    Analyze file structure, functions, imports, and complexity (requires deep index)

  • get_file_watcher_status

    Check file watcher status and configuration

  • configure_file_watcher

    Enable/disable auto-refresh and configure settings

  • create_temp_directory

    Set up storage directory for index data

  • check_temp_directory

    Verify index storage location and permissions

  • clear_settings

    Reset all cached data and configurations

  • refresh_search_tools

    Re-detect available search tools (ugrep, ripgrep, etc.)

Details on this page are taken from the project's README. Open README

Supported clients

Clients mentioned in this server's README:

View all
Claude Desktop logo

Claude Desktop

Desktop · Freemium · Proprietary

Anthropic's official Claude AI desktop application. Supports MCP servers to extend functionality.

WindowsMacOS

Related MCP servers

More servers
Playwright logo

Playwright

microsoft/playwright

72.2k

Playwright is a framework for web automation and testing. It drives Chromium, Firefox, and WebKit with a single API — in your tests, in your scripts, and as a tool for AI agents.

Developer Tools
repomix logo

repomix

yamadashy/repomix

15.2k

Repomix is a tool that packs a codebase into an AI-friendly format, supporting local and remote repository processing and providing code compression, security checks and multiple output formats.

Developer Tools
UI-TARS-desktop logo

UI-TARS-desktop

bytedance/UI-TARS-desktop

12.9k

TARS is ByteDance's multimodal AI agent stack, shipping two projects: Agent TARS (a CLI and Web UI agent built on MCP) and UI-TARS-desktop (a desktop GUI agent).

Developer Tools
blender logo

blender

ahujasid/blender-mcp

10.6k

formerly blender-mcp — the PyPI package is now mcp-for-blender. Existing setups keep working; no config change is required. Read more.

Developer Tools
Playwright Browser Automation logo

Playwright Browser Automation

microsoft/playwright-mcp

9.2k

A Model Context Protocol (MCP) server that provides browser automation capabilities using Playwright. This server enables LLMs to interact with web pages through structured accessibility snapshots, bypassing the need for screenshots or visually-tuned models.

Developer Tools
2344 logo

2344

comet-ml/opik

7k

Opik is the open-source LLM observability and evaluation platform for AI agent tracing, LLM evaluation, prompt management, and production monitoring. Built by Comet. Apache-2.0 licensed, free to self-host the full platform, with 20,000+ GitHub stars.

Developer Tools