{"$schema":"https://wellknown.network/schemas/agent-record-v1.json","schemaVersion":"1","id":"ag_msu54rkjshja","handle":"cocoindex-code-mcp-server","url":"https://wellknown.network/agents/cocoindex-code-mcp-server","links":{"self":"https://wellknown.network/agents/cocoindex-code-mcp-server/record.json","html":"https://wellknown.network/agents/cocoindex-code-mcp-server","markdown":"https://wellknown.network/agents/cocoindex-code-mcp-server/record.md","api":"https://wellknown.network/api/v1/agents/cocoindex-code-mcp-server","status":"https://wellknown.network/api/v1/agents/cocoindex-code-mcp-server/status","claim":"https://wellknown.network/agents/cocoindex-code-mcp-server/claim","claimApi":"https://wellknown.network/api/v1/claims","claimDescriptor":"https://wellknown.network/agents/cocoindex-code-mcp-server/claim.json","badge":"https://wellknown.network/agents/cocoindex-code-mcp-server/badge.svg","openapi":"https://wellknown.network/openapi.json","history":"https://wellknown.network/api/v1/agents/cocoindex-code-mcp-server/history","tools":"https://wellknown.network/api/v1/agents/cocoindex-code-mcp-server/tools"},"ard":{"identifier":"urn:air::server:cocoindex-code-mcp-server","type":"application/mcp-server-card+json"},"kind":"mcp_server","declared":{"name":"cocoindex-code-mcp-server","summary":"RAG based on cocoindex as MCP server (streamingHttp), with Haskell support","description":"# CocoIndex Code MCP Server\n\nA 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.\n\nThis 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.\n\nCurrently uses PostgreSQL + pgvector as the vector database backend, but can be adapted to other backends supported by CocoIndex.\n\n## Table of Contents\n\n- [Quickstart](#quickstart)\n- [Command Line Arguments](#command-line-arguments)\n- [Features](#features)\n- [Supported Languages](#supported-languages)\n- [Smart Embedding](#smart-embedding)\n- [Development](#development)\n- [Contributing](#contributing)\n\n## Quickstart\n\n### 1. Clone the Repository (optional)\n\n```bash\ngit clone --recursive https://github.com/aanno/cocoindex-code-mcp-server.git\ncd cocoindex-code-mcp-server\n```\n\nChecking out the sources is _not_ strictly necessary if you just want to use the MCP server, as it can be installed\nfrom PyPI. However, there are some scripts e.g. for starting the pgvector database that are missing from the PyPI\npackage.\n\n### 2. Install\n\nBuild from source using maturin:\n\n```bash\n# Install dependencies from PyPI\nuv sync\nuv sync --all-extras\n\n# And build from source\nmaturin develop\n```\n\nOr simple install from PyPI:\n\n```bash\npip install cocoindex-code-mcp-server\n```\n\nI provide native wheels for many systems (including Linux, Windows and MacOS) on PyPI, so no build should be necessary\nin most cases. cocoindex-code-mcp-server …","publisher":null,"homepage":"https://github.com/aanno/cocoindex-code-mcp-server","repository":"https://github.com/aanno/cocoindex-code-mcp-server","version":"0.2.0","license":null,"protocols":["mcp"],"tags":["mcp"],"pricing":null,"endpoints":[{"url":"pypi:cocoindex-code-mcp-server","type":"package_pypi","auth":null,"probeable":false}],"skills":null,"tools":null,"extra":null,"attribution":{"kind":"pypi","name":"pypi","repoUrl":"pypi","summary":"pypi","version":"pypi","description":"pypi","homepageUrl":"pypi"}},"derived":{"capabilities":[{"slug":"data.vector-search","name":"Vector Search","confidence":1,"provenance":"derived"},{"slug":"dev.version-control","name":"Version Control","confidence":1,"provenance":"derived"},{"slug":"dev.package-management","name":"Packages & Dependencies","confidence":1,"provenance":"derived"},{"slug":"data.database","name":"Databases","confidence":0.848,"provenance":"derived"},{"slug":"dev.terminal","name":"Terminal & Shell","confidence":0.825,"provenance":"derived"}],"categories":["data","dev"],"language":"en"},"observed":{"status":"unknown","statusReason":"Distributed as a package to run locally; no network endpoint to check.","lastOkAt":null,"lastProbedAt":null,"statusComputedAt":null,"reliability30d":null,"latestObservations":[],"tools":null,"package":{"name":"cocoindex-code-mcp-server","registry":"pypi","observedAt":"2026-11-09T02:25:39.689Z","publishedAt":"2025-10-24T13:03:27.368804Z","latestVersion":"0.2.0"},"toolSurface":null,"endpointFacts":[]},"verification":{"claimed":false,"claimedAt":null,"proofs":[]},"provenance":{"sources":[{"source":"pypi","key":"cocoindex-code-mcp-server","url":"https://pypi.org/project/cocoindex-code-mcp-server/","firstSeenAt":"2026-09-09T11:31:26.095Z","fetchedAt":"2026-11-09T02:24:11.556Z","normalizedAt":"2026-11-09T02:24:11.556Z"}]},"firstSeenAt":"2026-09-09T11:31:26.095Z","updatedAt":"2026-11-09T02:25:39.689Z"}