mcpbeat Sign in

CocoIndex Code MCP Server

by cocoindex-io Your server? Claim it
local only

CocoIndex Code runs on your own machine — the client starts it, so there is no endpoint to ping. 1 732 installs a week from pypi. Last commit 6 Nov 2026.

Semantic code search over a local repository, with AST-based chunks and incremental re-indexing.

Installs per day peak 5 670 · avg 822 · -29% w/w
a month agotoday
1 732
Installs / week
pypi · cocoindex-code
2 966
Stars
26 open issues
6 Nov 2026
Last commit
from GitHub
Apache-2.0
License
Python

What the code does

We read the source, 1 d ago · rules 995398eba69f

Capabilities

What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.

File ships in the package but is absent from the source [пакет] src/cocoindex_code/_version.py:1
этот файл ставится пользователю, но в репозитории его нет

Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.

This code can reach further than it looks

We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.

Three servers free · no card

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add cocoindex-code -- uvx cocoindex-code
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "cocoindex-code": {
      "command": "uvx",
      "args": [
        "cocoindex-code"
      ]
    }
  }
}
~/.codex/config.toml
[mcp_servers.cocoindex-code]
command = "uvx"
args = ["cocoindex-code"]
.cursor/mcp.json
{
  "mcpServers": {
    "cocoindex-code": {
      "command": "uvx",
      "args": [
        "cocoindex-code"
      ]
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "cocoindex-code": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "cocoindex-code"
      ]
    }
  }
}

Optional settings from the registry entry, left out of the block above: COCOINDEX_CODE_ROOT_PATH (Root directory of the codebase to index. Set it when the client does not start the server inside the codebase. If unset, the server uses its working directory).

Alternatives to CocoIndex Code

same job, measured the same way
Code Context
by infino-ai

Local code search for AI coding agents: hybrid keyword + semantic + SQL over an index in your repo.

83 installs/wk local only
Filesift
by roshunsunder

Local file search for AI agents — semantic + keyword indexing over your codebase.

63 installs/wk local only
Deepcontext
by wild-card

Advanced codebase indexing and semantic search MCP server

92 installs/wk local only
Socraticode
by giancarloerra

MCP server for enterprise local codebase indexing, semantic search, and code dependency graphs.

2 721 installs/wk local only
Jarvis
by phuongddx

Local-first SCIP code navigation and Zoekt search over your own indexed repositories

505 installs/wk local only
Codeintel
by phuongddx

Local-first SCIP code navigation and Zoekt search over your own indexed repositories

3 installs/wk local only
Jarvis
by jarvis-intelligence

Local-first SCIP code navigation and Zoekt search over your own indexed repositories

local only
Vibe Hnindex
by andyanh174

Index source code into a local knowledge base, search with keyword + semantic + hybrid modes.

130 installs/wk local only

CocoIndex Code — questions

Answers built from our own checks of this server.

Why is there no uptime for CocoIndex Code?
CocoIndex Code runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the pypi package cocoindex-code was installed 1 732 times last week.
How do I connect CocoIndex Code?
Copy the ready config from this page. We generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each in the form that client actually reads. It runs locally, so the command pulls cocoindex-code straight from pypi; nothing to host, nothing to sign up for.
How many people use CocoIndex Code?
The pypi package cocoindex-code was installed 1 732 times in the last week. Week over week that is -29%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is CocoIndex Code open source?
Yes — it is published under the Apache-2.0 licence, written in Python, 2 966 stars on GitHub and 26 open issues. The source link is on this page, so you can read exactly what it does with your data before you connect it.