johnhuang316 avatar

Code Index

johnhuang316/code-index-mcp

Code Index MCP provides intelligent code indexing and analysis capabilities for AI models to understand and navigate complex codebases. It offers tools for advanced search, code analysis, and project navigation that enable AI assistants to perform code review, refactoring, documentation generation, and debugging tasks. The server bridges the gap between language models and large projects by creating searchable indexes and providing detailed code insights accessible through a standard Model Context Protocol interface.

GitHub stars
942
tools
13
last updated
Mar 9, 2026

Tools

13 tools

Public tool metadata for what this MCP can expose to an agent.

set_project_pathInitialize indexing for a project directory

Initialize indexing for a project directory

No parameter schema in public metadata yet.

refresh_indexRebuild the shallow file index after file changes

Rebuild the shallow file index after file changes

No parameter schema in public metadata yet.

build_deep_indexGenerate the full symbol index used by deep analysis

Generate the full symbol index used by deep analysis

No parameter schema in public metadata yet.

get_settings_infoView current project configuration and status

View current project configuration and status

No parameter schema in public metadata yet.

search_code_advancedSmart search with literal-by-default matching, optional regex=True, fuzzy matching, file filtering, and paginated results (10 per page by default); regex mode requires a native search tool because the basic fallback is literal-only

Smart search with literal-by-default matching, optional regex=True, fuzzy matching, file filtering, and paginated results (10 per page by default); regex mode requires a native search tool because the basic fallback is literal-only

No parameter schema in public metadata yet.

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

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

No parameter schema in public metadata yet.

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

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

No parameter schema in public metadata yet.

get_file_watcher_statusCheck file watcher status and configuration

Check file watcher status and configuration

No parameter schema in public metadata yet.

configure_file_watcherEnable/disable auto-refresh and configure settings

Enable/disable auto-refresh and configure settings

No parameter schema in public metadata yet.

create_temp_directorySet up storage directory for index data

Set up storage directory for index data

No parameter schema in public metadata yet.

check_temp_directoryVerify index storage location and permissions

Verify index storage location and permissions

No parameter schema in public metadata yet.

clear_settingsReset all cached data and configurations

Reset all cached data and configurations

No parameter schema in public metadata yet.

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

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

No parameter schema in public metadata yet.

Sponsors

Readme

Code Index MCP

MCP Server Python License Sponsor

Intelligent code indexing and analysis for Large Language Models

Transform how AI understands your codebase with advanced search, analysis, and navigation capabilities.

code-index-mcp MCP server

Overview

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.


View the full README on GitHub

Details

Repository
github.com/johnhuang316/code-index-mcp
Category
Search & Web Crawling

Related Search & Web Crawling MCP servers

View all
1saurabhsharma2u avatarSearch Console MCPsaurabhsharma2u/search-console-mcpGoogle Search Console + Bing + GA4 + AdSense — unified SEO intelligence for AI agents.320stars
2zhengyanglsun avatariFlow Searchzhengyanglsun/iflow-search-jsMCP server for iFlow Search web search, image search, and URL fetch tools.0stars
3hasdata avatarHasData DuckDuckGohasdata/duckduckgo-mcpDuckDuckGo search as JSON. Ranked results, ads in their own array, 37 regions.7stars
4hasdata avatarHasData Web Scrapinghasdata/web-scraping-mcpFetch any public web page through managed proxies, with optional JS rendering and extraction rules.7stars
5hasdata avatarHasData Binghasdata/bing-mcpBing search results with the ad block and Copilot answer, geo and market targeting, as JSON.5stars
6titansneaker avatarpaper-search-mcp-openai-v2titansneaker/paper-search-mcp-openaiFind and download academic papers from leading sources like arXiv, PubMed, bioRxiv, medRxiv, Google Scholar, Semantic Scholar, CrossRef, and IACR. Get standardi4stars