Back to Home
johnhuang316 icon

code-index-mcp

Verified Safe

by johnhuang316

Overview

Intelligent code indexing and analysis for Large Language Models, enabling tasks such as code review, refactoring, documentation generation, debugging assistance, and architectural analysis.

Installation

Run Command
uvx code-index-mcp

Security Notes

The server employs robust path validation to prevent directory traversal and uses `subprocess.run` with careful argument handling (`--` before pattern) to mitigate shell injection risks when executing external search tools (ugrep, ripgrep, ag, grep). It includes regex safety checks to prevent ReDoS attacks and a FIFO concurrency limiter to mitigate resource exhaustion. File size and line limits are also in place during indexing. No hardcoded secrets were found in the core server logic; sample projects included environment variable fallbacks for secrets.

Similar Servers

Stats

Interest Score97
Security Score9
Cost ClassMedium
Avg Tokens300
Stars678
Forks84
Last Update2026-01-09

Tags

mcpcode analysisindexingsearchAILLMdevelopmentcode intelligencetree-sitter