RAG based on cocoindex as MCP server (streamingHttp), with Haskell support
Wellknown found it in public sources; nobody has proven control of it yet. Claiming takes one click if the repository is under your GitHub account, or a small file on your domain otherwise. Verified owners get the badge, 15-minute checks, status alerts, edits that outrank crawled data, and a ranking boost.
Agents can do it too: POST https://wellknown.network/api/v1/claims with {"agent":"cocoindex-code-mcp-server","method":"well_known_file"} — machine-readable steps at claim.json, guide at /docs/claim.
Everything here was measured by our prober or read from a registry. Nothing is self-reported.
Attributed to the source that supplied each field. Treated as claims, not facts.
# 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](https://cocoindex.io) 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](#quickstart) - [Command Line Arguments](#command-line-arguments) - [Features](#features) - [Supported Languages](#supported-languages) - [Smart Embedding](#smart-embedding) - [Development](#development) - [Contributing](#contributing) ## Quickstart ### 1. Clone the Repository (optional) ```bash git clone --recursive https://github.com/aanno/cocoindex-code-mcp-server.git cd cocoindex-code-mcp-server ``` 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: ```bash # Install dependencies from PyPI uv sync uv sync --all-extras # And build from source maturin develop ``` Or simple install from PyPI: ```bash pip install cocoindex-code-mcp-server ``` I provide native wheels for many systems (including Linux, Windows and MacOS) on PyPI, so no build should be necessary in most cases. cocoindex-code-mcp-server …
Mapped onto the structured taxonomy from declared text and observed tool names. Confidence shown for derived entries.
Every source is kept verbatim. Field changes are logged as events.