Code Index MCP

by BangNGH

157 downloads Not rated yet
GitHub

About

# Code Index MCP Code Index MCP is a Model Context Protocol server that enables large language models (LLMs) to index, search, and analyze code in project directories. ## Features - Index and navigate project file structures - Search for specific patterns in code - Get detailed file summaries - Analyze code structure…

Explore

- Index and navigate project file structures
- Search for specific patterns in code
- Get detailed file summaries
- Analyze code structure and complexity
- Support for multiple programming languages
- Persistent storage of project settings

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Code Index MCP
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

This project uses uv for environment management and dependency installation.

1. Ensure you have Python 3.10 or later installed
2. Install uv (recommended):


bash

uv run run.py
```

UV will automatically handle all dependency installations based on the project's configuration.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "code index mcp": {
            "github-code-index-mcp-server": {
                "command": "uv",
                "args": [
                    "run",
                    "run.py"
                ]
            }
        }
    }
}

McpServers

{
    "github-code-index-mcp-server": {
        "command": "uv",
        "args": [
            "run",
            "run.py"
        ]
    }
}

Code Index MCP is a Model Context Protocol server that enables large language models (LLMs) to index, search, and analyze code in project directories.

Features

- Index and navigate project file structures
- Search for specific patterns in code
- Get detailed file summaries
- Analyze code structure and complexity
- Support for multiple programming languages
- Persistent storage of project settings

Installation

This project uses uv for environment management and dependency installation.

1. Ensure you have Python 3.10 or later installed
2. Install uv (recommended):

   # Windows
   powershell -c "irm https://astral.sh/uv/install.ps1 | iex"
   # macOS/Linux
   curl -LsSf https://astral.sh/uv/install.sh | sh
   
3. Getting the code:
   # Clone the repository
   git clone https://github.com/your-username/code-index-mcp.git
   

Usage

Running the Server Directly

```bash

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.