Try “Claude Code skills”, “MCP servers for Cursor” or “Codex” · Esc to close

CocoIndex Code 🔌 MCP server Open source

AST-based local semantic code search CLI and MCP server that cuts agent context tokens

Developer tool MCP servers · Open source ★ 2.7k · +11 this week · Apache-2.0 · updated 2026-10-01

7.0editor score
Visit CocoIndex Code ↗
GitHub stars
2.7k
Stars this week
+11
Forks
225
Licence
Apache-2.0
Last push
2026-10-01
Maintainer
cocoindex-io
Installpipx install 'cocoindex-code[full]'

Third-party MCP servers run with your permissions. Read the source before installing, and prefer pinned versions.

Works with

Built on the open MCP standard, so it works in every app that supports MCP.

About CocoIndex Code

What it does

CocoIndex Code (ccc) is a lightweight, Rust-powered semantic code search engine. Instead of grepping for exact strings, it builds an AST-based index of your repository so you — or your AI coding agent — can search it using natural-language descriptions of what you're looking for.

Tools it gives your agent

It gives an agent a fast, local "describe what you want, find the code" search primitive, aimed at cutting the number of tokens an agent burns exploring an unfamiliar codebase (the README claims roughly a 70% reduction versus plain text search). It supports 28+ languages including Python, JS/TS, Rust, Go, Java, C/C++, C#, and SQL.

Works with

The README documents integration with Claude Code (as a skill or over MCP), Cursor, Codex, OpenCode, Kilo Code, and a Grok plugin with hooks; it can also run standalone as an MCP server for other MCP-compatible agents.

How to install or connect

Install with pipx (recommended) or uv:

pipx install 'cocoindex-code[full]'
uv tool install --upgrade 'cocoindex-code[full]'

The [full] extra bundles local embeddings so no API key is required; a slim install instead relies on a cloud embedding provider. After installing:

ccc init
ccc index
ccc search "your query"

Maintenance and safety

Actively developed (2,700+ stars, 218 forks, 247 commits), Apache-2.0 licensed. Indexing and search run locally — your source code never leaves your machine. It does send anonymous usage telemetry (not code or queries) by default, disable with COCOINDEX_DISABLE_USAGE_TRACKING=1.

Who should use it

Developers who want their AI coding agent to search large or unfamiliar codebases faster and with fewer tokens, especially in Claude Code, Cursor, Codex or OpenCode workflows, without sending code to a third-party service.

semantic-search mcp-server cli ast code-search rust

Pros

  • Real engineering behind it: Rust-based AST indexing across 28+ languages, works fully offline with the [full] local-embeddings variant, Apache-2.0 licensed
  • Broad, concretely documented agent integration: Claude Code (skill or MCP), Cursor, Codex, OpenCode, Kilo Code, and a Grok plugin with hooks
  • Claims ~70% token reduction for agent code search versus naive text search, with source code never leaving the machine

Cons

  • Younger/smaller project (~2.7k stars, 247 commits) than established alternatives
  • Enables anonymous usage telemetry by default (opt-out via COCOINDEX_DISABLE_USAGE_TRACKING=1)

GitHub MCP Server 🔌 MCP serverFree

GitHub's official MCP server: issues, pull requests, code, Actions and security alerts

★ 33k · +132 this week

XcodeBuildMCP 🔌 MCP serverOpen source

Build, run, test and debug iOS and macOS apps from AI agents, maintained by Sentry

★ 6.5k · +27 this week

8.4 Visit ↗

MCP Reference Servers 🔌 MCP serverFree

The official reference MCP servers: fetch, filesystem, git, memory and more

★ 91k · +362 this week

Unity MCP 🔌 MCP serverOpen source

Lets AI agents drive the Unity Editor: scenes, C# scripts, assets, tests and builds

★ 15k · +173 this week

8.0 Visit ↗

Popular searches