Cocoindex Code
@cocoindex-io
Cocoindex Code について
An MCP (Model Context Protocol) server for indexing and querying codebases using CocoIndex. Features semantic code search with natural language queries, incremental indexing for fast updates, multi-language support (Python, JavaScript/TypeScript, Rust, Go, Java, C/C++, C#, SQL, S
基本情報
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"cocoindex-code": {
"command": "uvx",
"args": [
"--prerelease=explicit",
"--with",
"cocoindex>=1.0.0a13",
"cocoindex-code@latest"
]
}
}
}ツール
ツールは検出されませんでした
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
概要
What is Cocoindex Code?
Cocoindex Code is an MCP (Model Context Protocol) server for indexing and querying codebases using CocoIndex. It provides semantic code search via natural language queries, supports incremental indexing, multiple programming languages, and flexible embedding models with portable SQLite storage.
How to use Cocoindex Code?
Install uv, then add the server via claude mcp add cocoindex-code using uvx. Optionally set COCOINDEX_CODE_EMBEDDING_MODEL and the corresponding API key environment variable. The server exposes a single search tool. Configuration can be adjusted via environment variables like COCOINDEX_CODE_ROOT_PATH.
Key features of Cocoindex Code
- Semantic code search using natural language queries
- Incremental indexing – only re-indexes changed files
- Multi-language support (Python, JS/TS, Rust, Go, Java, C/C++, C#, SQL, Shell, and more)
- Local SentenceTransformers or 100+ cloud embedding providers via LiteLLM
- Portable SQLite storage – no external database required
Use cases of Cocoindex Code
- Find relevant code snippets by describing them in natural language
- Rapidly navigate large, unfamiliar codebases
- Integrate semantic code search into AI-assisted coding tools
- Support polyglot projects with a single indexing pipeline
FAQ from Cocoindex Code
How do local embeddings differ from cloud embeddings?
Local embeddings use SentenceTransformers and require no API key; cloud embeddings use LiteLLM and need a provider API key and model identifier.
What are the runtime dependencies?
The server requires uv to run via uvx. No external database setup is needed – the index is stored locally in .cocoindex_code/.
Where is the index stored?
The index resides in .cocoindex_code/ under the codebase root, containing a vector database (target_sqlite.db) and CocoIndex state (cocoindex.db/).
Which file types are supported?
Python, JavaScript, TypeScript, Rust, Go, Java, C, C++, C#, SQL, Shell, Markdown, and Plain Text. Common generated directories are automatically excluded.
How is the codebase root discovered?
If COCOINDEX_CODE_ROOT_PATH is not set, the server looks for the nearest parent containing .cocoindex_code/, then .git/, and finally falls back to the current working directory.
「開発者ツール」の他のコンテンツ
MCP Inspector
modelcontextprotocolVisual testing tool for MCP servers
DevDocs by CyberAGI 🚀
cyberagiincCompletely free, private, UI based Tech Documentation MCP server. Designed for coders and software developers in mind. Easily integrate into Cursor, Windsurf, Cline, Roo Code, Claude Desktop App
mcp-excalidraw
yctimlinMCP server and Claude Code skill for Excalidraw — programmatic canvas toolkit to create, edit, and export diagrams via AI agents with real-time canvas sync.
TalkToFigma
sonnylazuardiTalkToFigma: MCP integration between AI Agent (Cursor, Claude Code, Codex) and Figma, allowing Agentic AI to communicate with Figma for reading designs and modifying them programmatically.
MCP Framework
QuantGeekDevThe Typescript MCP Framework
コメント