CC

codebendkit/codeseek

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

761 stars 44 forks Качество 75 Тренд 25MIT

codebendkit/codeseek — это кандидат на MCP-сервер, импортированный из https://github.com/codebendkit/codeseek.

Обзор

codebendkit/codeseek — это кандидат на MCP-сервер, импортированный из https://github.com/codebendkit/codeseek.

Обзор (машинный перевод)

Инструмент CLI для Code Intelligence для Claude Code. Анализ графов вызовов на основе AST + семантический поиск — прямо с вашего терминала.

Быстрый старт

Пример поиска кода на естественном языке

Пример графа вызова функций

Установка

npm

Пакет npm поставляет лёгкую JS-оболочку, которая обрабатывает:

Шаг Описание
Мастер первого запуска Интерактивные CLI-запросы для встраивания токена, модели и базового URL API
Бинарная загрузка Автоматически получает правильный бинарный файл Rust для вашей платформы с GitHub Releases
Проходящее Все команды (init, search, callers и др.) пересылаются в родной бинарный файл

Поддерживаемые платформы:

Платформа Архитектура
macOS arm64 (Apple Silicon), x64 (Intel)
Linux x64

Домашнее пиво

От источника

build.sh компилирует обёртку TypeScript (dist/) и бинарный файл Rust, затем устанавливает в ~/.codeseek/bin/.

Приказы

Командование Описание
codeseek Мастер настройки впервые (интерактивно настраивает модель встраивания)
codeseek init Индекс кода для сборки/обновления (полный первый запуск, потом по MD5)

Эта страница переведена автоматически. Технические детали смотрите в оригинале.

README

Показан фрагмент оригинального README. Открыть оригинал.

CodeSeek

Code intelligence CLI tool for Claude Code. AST-based call graph analysis + semantic search — right from your terminal.

Quick Start

# Install via npm (handles setup wizard + binary download automatically)
npm install -g codeseek

# First run — interactive setup wizard configures your embedding model
codeseek

# Index your project
codeseek init

# Search code by symbol name
codeseek search main --limit 10

# Query call graph
codeseek callers main
codeseek callees process_data

# Register with Claude Code / Codex as MCP tools
codeseek install

# Check status
codeseek status

# Auto-index on git commits
codeseek install-hooks

Natural Language Code Search example

╰─$ codeseek search 'how the code embedding work'
1. get_embedding (0.7973)
   /home/do/ssd/iohub/dev/codeseek/rust-core/src/services/embedding_service.rs:0
2. EmbeddingService (0.2855)
   /home/do/ssd/iohub/dev/codeseek/rust-core/src/services/embedding_service.rs:0
3. EmbeddingData (0.1449)
   /home/do/ssd/iohub/dev/codeseek/rust-core/src/services/embedding_service.rs:0
4. EmbeddingResponse (0.1304)
   /home/do/ssd/iohub/dev/codeseek/rust-core/src/services/embedding_service.rs:0
5. default_model (0.0450)
   /home/do/ssd/iohub/dev/codeseek/rust-core/src/config.rs:0

Function Call Graph example

╰─$ codeseek callgraph apply_rerank
Call graph for 'apply_rerank' (depth=1):

== Callers (upstream, depth=1) ==
  search (/home/do/ssd/iohub/dev/codeseek/rust-core/src/services/hybrid_search.rs:210)

== Callees (downstream, depth=1) ==
  rerank (/home/do/ssd/iohub/dev/codeseek/rust-core/src/services/reranker_service.rs:331)
  config (/home/do/ssd/iohub/dev/codeseek/rust-core/src/services/hybrid_search.rs:325)

Install

npm

npm install -g codeseek

The npm package ships a lightweight JS wrapper that handles:

Step Description
First-run wizard Interactive CLI prompts for embedding API token, model, and base URL
Binary download Automatically pulls the correct Rust binary for your platform from GitHub Releases
Pass-through All commands (init, search, callers, etc.) are forwarded to the native binary

Supported platforms:

Platform Architecture
macOS arm64 (Apple Silicon), x64 (Intel)
Linux x64

Homebrew

brew tap CodeBendKit/codeseek [email protected]:CodeBendKit/codeseek.git
brew install codeseek

From source

# install protoc
# macos: brew install protobuf
# ubuntu: sudo apt install protoc

git clone https://github.com/CodeBendKit/codeseek.git
cd codeseek
./build.sh --release

build.sh compiles both the TypeScript wrapper (dist/) and the Rust binary, then installs to ~/.codeseek/bin/.

Commands

Command Description
codeseek First-time setup wizard (configures embedding model interactively)
Открыть полный README на GitHub

Установка

This server does not publish a one-line install command.

Open the repository installation guide Новичок в MCP? Начните с руководства на mcpskill.org →