Koskamo

CocoIndex Code MCP

A lightweight embedded code search engine CLI that performs AST-based semantic search over local repositories. It supports incremental re-indexing and allows coding agents like Claude, Codex, and Cursor to connect via MCP or Skills for efficient codebase context retrieval.

Package and access

Local package with source-attributed installation metadata. Koskamo does not execute packages during review.

CocoIndex Code MCP logo, by cocoindex-ioCommunity listingLocal stdioSource reviewed; not executedPublished by cocoindex-io
You need:pipx install ' cocoindex-code[full] 'uv tool install --upgrade ' cocoindex-code[full] '
Vendor documentation

What you can do with it

  • Perform semantic code search over a local repository
  • Connect coding agents like Claude or Cursor via MCP
  • Index codebase with AST-based chunks
  • Enable incremental re-indexing for updated code

Source and maintenance

Community listingRegistry 0.2.43
Maintenance checked

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

cocoindex-code 0.2.43

pypiuvx
cocoindex-code package definition
{
  "version": "0.2.43",
  "transport": "stdio",
  "identifier": "cocoindex-code",
  "runtimeHint": "uvx",
  "registryType": "pypi",
  "registryBaseUrl": "https://pypi.org",
  "packageArguments": [
    {
      "type": "positional",
      "value": "serve"
    }
  ],
  "runtimeArguments": [
    {
      "name": "--with",
      "type": "named",
      "value": "cocoindex-code[full]",
      "description": "Install the full extra, which adds sentence-transformers for local embeddings. The default embedding model needs it."
    }
  ],
  "environmentVariables": [
    {
      "name": "COCOINDEX_CODE_ROOT_PATH",
      "format": "filepath",
      "description": "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."
    }
  ]
}

Tools

Reported by the attributed source; not independently observed by Koskamo.

No tool definitions available.

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "mcpServers": {
    "cocoindex-code-mcp": {
      "command": "uvx",
      "args": [
        "cocoindex-code==0.2.43",
        "serve"
      ],
      "env": {
        "COCOINDEX_CODE_ROOT_PATH": "<YOUR_COCOINDEX_CODE_ROOT_PATH>"
      }
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "cocoindex-code-mcp": {
      "command": "uvx",
      "args": [
        "cocoindex-code==0.2.43",
        "serve"
      ],
      "env": {
        "COCOINDEX_CODE_ROOT_PATH": "<YOUR_COCOINDEX_CODE_ROOT_PATH>"
      }
    }
  }
}

VS Code

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "servers": {
    "cocoindex-code-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "cocoindex-code==0.2.43",
        "serve"
      ],
      "env": {
        "COCOINDEX_CODE_ROOT_PATH": "<YOUR_COCOINDEX_CODE_ROOT_PATH>"
      }
    }
  }
}

Claude Desktop

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "mcpServers": {
    "cocoindex-code-mcp": {
      "command": "uvx",
      "args": [
        "cocoindex-code==0.2.43",
        "serve"
      ],
      "env": {
        "COCOINDEX_CODE_ROOT_PATH": "<YOUR_COCOINDEX_CODE_ROOT_PATH>"
      }
    }
  }
}

Let your agent find its tools

Find servers like CocoIndex Code MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.