|
1 |
| -# 🔍 Code Context |
| 1 | +<p align="center"> |
| 2 | + <a href="https://github.com/zilliztech/code-context"> |
| 3 | + <img src="assets/code_context_logo_dark.png" width=600 alt="Code Context Logo"> |
| 4 | + </a> |
| 5 | + <h3 align="center"> Add Semantic Search to Claude Code</h2> |
| 6 | +</p> |
| 7 | + |
| 8 | +<div align="center"> |
2 | 9 |
|
3 | 10 | [](https://opensource.org/licenses/MIT)
|
4 | 11 | [](https://nodejs.org/)
|
|
8 | 15 | [](https://twitter.com/zilliz_universe)
|
9 | 16 | [](https://deepwiki.com/zilliztech/code-context)
|
10 | 17 | <a href="https://discord.gg/mKc3R95yE5"><img height="20" src="https://img.shields.io/badge/Discord-%235865F2.svg?style=for-the-badge&logo=discord&logoColor=white" alt="discord" /></a>
|
| 18 | +</div> |
| 19 | + |
| 20 | +**Code Context** is an MCP plugin that adds semantic code search to Claude Code and other AI coding agents, giving them deep context from your entire codebase. |
11 | 21 |
|
12 |
| -**Code Context** is an MCP plugin that brings semantic code search to Claude Code, Gemini CLI, or any AI coding agent. By indexing your entire codebase, it gives your assistant deep context awareness for better code generation. |
| 22 | +--- |
13 | 23 |
|
14 |
| -AI coding assistants like Claude Code are limited by their context window and can only see part of your codebase. Code Context uses semantic search with a scalable vector database Zilliz Cloud so your assistant can find and understand relevant code from your whole project using natural language, not just keywords. This gives your AI assistant real context awareness. |
| 24 | +## ✨ Features |
15 | 25 |
|
| 26 | +- 🔍 **Semantic Code Search**: Ask questions like *"find functions that handle user authentication"* and get relevant, context-rich code instantly. |
| 27 | +- 🧠 **Context-Aware**: Discover large codebase, understand how different parts of your codebase relate, even across millions of lines of code. |
| 28 | +- ⚡ **Incremental Indexing**: Efficiently re-index only changed files using Merkle trees. |
| 29 | +- 🧩 **Intelligent Code Chunking**: Analyze code in Abstract Syntax Trees (AST) for chunking. |
| 30 | +- 🗄️ **Scalable**: Integrates with Zilliz Cloud for scalable vector search, no matter how large your codebase is. |
| 31 | +- 🛠️ **Customizable**: Configure file extensions, ignore patterns, and embedding models. |
16 | 32 | ---
|
17 | 33 |
|
18 |
| -## 🚀 Use Code Context as MCP in Claude Code and others |
| 34 | +## 🚀 Demo |
19 | 35 |
|
20 | 36 | 
|
21 | 37 |
|
22 | 38 | Model Context Protocol (MCP) allows you to integrate Code Context with your favorite AI coding assistants, e.g. Claude Code.
|
23 | 39 |
|
| 40 | +## Quick Start |
24 | 41 | ### Prerequisites
|
25 | 42 |
|
26 | 43 | <details>
|
@@ -358,18 +375,6 @@ npx @zilliz/code-context-mcp@latest
|
358 | 375 |
|
359 | 376 | </details>
|
360 | 377 |
|
361 |
| ---- |
362 |
| - |
363 |
| -## ✨ Features |
364 |
| - |
365 |
| -- 🔍 **Semantic Code Search**: Ask questions like *"find functions that handle user authentication"* and get relevant, context-rich code instantly. |
366 |
| -- 🧠 **Context-Aware Discovery**: Understand how different parts of your codebase relate, even across millions of lines. |
367 |
| -- 🤖 **AI-Assisted Programming**: Generate, refactor, or extend code using natural language prompts. |
368 |
| -- ⚡ **Incremental File Synchronization**: Efficiently re-index only changed files using Merkle trees. |
369 |
| -- 🧩 **Smart Chunking**: AST-based code splitting for context-preserving search and generation. |
370 |
| -- 🔌 **Pluggable Embedding Providers**: Support for OpenAI, VoyageAI, Ollama, and more. |
371 |
| -- 🗄️ **Vector Storage**: Integrates with Zilliz Cloud for scalable vector search, no matter how large your codebase is. |
372 |
| -- 🛠️ **Customizable**: Configure file extensions, ignore patterns, and embedding models. |
373 | 378 |
|
374 | 379 | ---
|
375 | 380 |
|
|
0 commit comments