{"repo":"aanno/cocoindex-code-mcp-server","free":true,"listed":false,"github":"https://github.com/aanno/cocoindex-code-mcp-server","clone":"git clone https://github.com/aanno/cocoindex-code-mcp-server.git","description":"An RAG for code development, implemented as MCP server with cocoindex","language":"Python","stars":42,"topics":[],"license":null,"category":"mcp-servers","readme_excerpt":"CocoIndex Code MCP Server A Model Context Protocol (MCP) server that provides a RAG (Retrieval Augmented Generation) tool with hybrid search capabilities combining vector similarity and keyword metadata search for code retrieval. Built on the CocoIndex data transformation framework with specialized support for multiple programming languages. This RAG MCP server enables AI tools (LLMs) to retrieve relevant code snippets from large codebases efficiently and in real-time, leveraging CocoIndex's incremental indexing, tree-sitter based chunking, and smart language-specific embeddings. It enhances the performance of code generation, code completion, and code understanding by virtually enlarging the context window available to the AI models. Currently uses PostgreSQL + pgvector as the vector database backend, but can be adapted to other backends supported by CocoIndex. Table of Contents - Quickstart - Command Line Arguments - Features - Supported Languages - Smart Embedding - Development - Contributing Quickstart 1. Clone the Repository (optional) Checking out the sources is not strictly necessary if you just want to use the MCP server, as it can be installed from PyPI. However, there are some scripts e.g. for starting the pgvector database that are missing from the PyPI package. 2. Install Build from source using maturin: Or simple install from PyPI: I provide native wheels for many systems (including Linux, Windows and MacOS) on PyPI, so no build should be necessary in most cases.","default_branch":null,"files":null,"tree":[],"storefront":"/r/aanno","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/aanno/cocoindex-code-mcp-server/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}