MCP server codescout
Коммит 10 нояб. 2026 г.Предоставляет ИИ-агентам для кодинга навигацию по символам, семантический поиск, постоянную память и индексацию артефактов в мультипроектных рабочих пространствах.
Также известен как mareurs/codescout
- Звёзды
- 27
- Инструменты
- —
- Загрузки, 30 дней
- —
- Последняя версия
- —
- Последний коммит
- 10 нояб. 2026 г.
- Лицензия
- MIT
Что такое codescout MCP?
codescout — это MCP server. Предоставляет ИИ-агентам для кодинга навигацию по символам, семантический поиск, постоянную память и индексацию артефактов в мультипроектных рабочих пространствах.
Сводка сгенерирована из README проекта
О codescout MCP server
codescout обеспечивает ИИ-агентам для кодинга уровень интеллекта, сопоставимый с IDE, благодаря продвинутой навигации по символам и семантическому поиску. Он работает как локальный MCP server, который подключается к таким агентам, как Claude Code, GitHub Copilot и Cursor, позволяя им перемещаться по сложным кодовым базам без необходимости чтения файлов целиком. Используя инструменты на базе LSP, такие как символы, ссылки и графы вызовов, он предоставляет точный контекст для девяти поддерживаемых языков, включая Rust, Python и TypeScript.
Разработчики могут управлять мультипроектными рабочими пространствами с помощью конфигурации workspace.toml, сохраняя память и индексацию для каждого проекта. Сервер включает компонент librarian, который индексирует markdown-артефакты (спецификации, планы, ADR) в каталог SQLite. Для глубокого семантического поиска поддерживается стек поиска с использованием локальной модели ONNX или внешней настройки Qdrant с реранкером. Решение оптимизировано для экономии токенов: оно предоставляет компактные детали по запросу, а не сбрасывает огромные объемы текста в контекстное окно агента.
Что вы можете с ним делать
- 1Навигация по сложным структурам кодаАгент может находить определения конкретных функций или места их вызова, используя навигацию по символам вместо поиска по сырому тексту.
- 2Извлечение проектной документацииРазработчик может попросить ИИ найти все актуальные спецификации, относящиеся к определенному этапу конвейера обработки данных.
- 3Поиск кода на основе концепцийПользователи могут находить код по его смысловому значению, используя семантический поиск на базе локальных или внешних моделей.
- 4Управление контекстом нескольких проектовРазработчики могут регистрировать связанные проекты, позволяя ИИ перемещаться между различными репозиториями в рамках одного рабочего пространства.
Взято из README проекта. Каждый вариант использования проверен на соответствие цитате из него.
Автоматические проверки
Запущено 14 нояб. 2026 г.Полный отчёт →Еще не проверено. Для сервера требуется оценка 80, отсутствие серьезных проблем и достаточно данных для нашей проверки. Как работают проверки · Что исправить, чтобы получить больше баллов
- Связанный и доступный исходный репозиторийmareurs/codescout is public and reachablegithub.com/mareurs/codescout ↗Пройдено
- Пакет указывает этот репозиторий как источникНе проверялось
- Происхождение сборки (аттестация Sigstore)Не проверялось
- Open source лицензия (OSI)MITspdx.org/licenses/MIT.html ↗Пройдено
- Коммит или релиз за последний годLast commit or release 2026-11-10github.com/mareurs/codescout ↗Пройдено
- OpenSSF ScorecardНе проверялось
- Имя пакета не похоже на популярный пакетНе проверялось
- Нет критических предупреждений в пакете или его зависимостяхНе проверялось
- Нет скрытых инструкций для модели0 tool descriptions and the README read; no override phrases, credential paths or hidden charactersПройдено
- Деструктивные инструменты помеченыНе проверялось
- Удалённая конечная точка отвечает на рукопожатие MCPНе проверялось
README
Открыть на GitHubcodescout
MCP server giving AI coding agents IDE-grade code intelligence — symbol navigation, semantic search, persistent memory, workspace-wide artifact tracking — optimized for token efficiency.
📖 Full manual at mareurs.github.io/codescout — installation, agent integrations, every tool, every concept.
Works with Claude Code, GitHub Copilot, Cursor, and any MCP-capable agent.
What it does
- Symbol navigation —
symbols,references,symbol_at,call_graph,edit_code, backed by LSP across 9 languages - Semantic search — find code by concept using a local ONNX model or an external Qdrant + reranker stack
- Library navigation — explore dependency source with scoped search and version tracking
- Artifact tracking (new) — index, query, and link the markdown around your code: specs, plans, ADRs, runbooks, memories. See Artifacts below.
- Multi-project workspaces — register related projects in
workspace.tomlfor cross-project navigation with per-project memory and indexing - Token efficiency — compact by default, details on demand, never dumps full files
Why not just read files?
| Without codescout | With codescout |
|---|---|
| Agent reads full files to find one function | Navigates by symbol name — zero file reads |
grep returns noise (comments, strings, docs) |
references returns exact call sites |
| Context burns on navigation overhead | Token-efficient by design |
| State lost between sessions | Persistent memory + artifact catalog across sessions |
| Re-reads same modules from different entry points | Symbol index built once, queried instantly |
Quick Start
cargo build
./target/debug/codescout start --project /path/to/code
Register as an MCP server in ~/.claude/settings.json:
{
"mcpServers": {
"codescout": {
"command": "codescout",
"args": ["start", "--project", "."]
}
}
}
Onboarding is essential. Run
onboarding()once per project on first connect — it discovers languages, reads key files, and generates a project-specific system prompt and memory files. Without it, the agent navigates blind.Tip: Install the codescout-companion plugin to auto-steer Claude toward codescout tools in every session — including subagents.
→ Full setup, agent configs, and project-toml options: mareurs.github.io/codescout
Artifacts
codescout now embeds librarian — a workspace-wide artifact registry that indexes the markdown around your code (specs, plans, ADRs, runbooks, memories, audits, handoffs, roadmaps, user docs), stores metadata + a typed link graph in SQLite, and exposes it to the agent as queryable structured data instead of opaque file listings.
Why it matters. The code is half the project. The other half lives in
markdown files scattered across docs/, design notes, and runbooks. Without
indexing them, the agent re-discovers project history every session. With
librarian, "find every active spec touching the embedder" is a single tool call.
How it works.
- Every markdown file is classified by frontmatter or path-rule into a kind
(spec / plan / adr / runbook / memory / tracker / doc / ...) and indexed
into a SQLite catalog at
~/.local/share/librarian/catalog.db. - A typed link graph (
supersedes,implements,references, ...) connects artifacts; walk it transitively withartifact(action="graph"). - A 4-tier scope ladder (
project→repo→umbrella→all) lets the agent widen beyond the current sub-project on demand. - Optional semantic search via
LIBRARIAN_EMBED_*turnsartifact(action="find", semantic="…")into vector search.
How to use it.
# Find every active spec touching the retrieval stack
artifact(action="find", kind="spec", status="active", semantic="retrieval pipeline")
# Read one, with its outgoing link graph
artifact(action="get", id="abc123", include_links=true)
# Connect a plan to the spec it implements
artifact(action="link", src_id="<plan>", dst_id="<spec>", rel="implements")
# Pack a topic neighbourhood into a single markdown bundle for context
librarian(action="context", topic="hybrid sparse + dense retrieval", max_tokens=4000)
Trackers — augment any artifact with a persistent prompt + params, and codescout auto-refreshes it on demand. Friction logs, observation tables, sprint roadmaps — written once, maintained across sessions.
Embedded by default. No separate server to install. Opt out with
LIBRARIAN_ENABLED=0 for a leaner tool surface.
→ Full artifact guide: librarian embedded · trackers · time-travel · augmentation templates
Retrieval Stack
semantic_search runs through an external Docker Compose stack (Qdrant +
dense embedder + SPLADE sparse + cross-encoder rerank). Two profiles: cpu
and gpu.
docker compose --profile cpu --env-file .env.cpu up -d
# or --profile gpu --env-file .env.gpu
set -a; source .env.cpu; set +a
cargo run --release --bin sync_project -- . codescout
| Profile | Initial sync (~18k chunks) | Sustained throughput |
|---|---|---|
| cpu (llama-server, 4 threads) | ~125 min | 2.4 chunks/s |
| gpu (llama-server-cuda, RTX A5000) | ~2.6 min | 117-132 chunks/s |
→ Stack setup, model choices, and tuning
Agent integrations
| Agent | Guide |
|---|---|
| Claude Code | mareurs.github.io/codescout/agents/claude-code |
| GitHub Copilot | mareurs.github.io/codescout/agents/copilot |
| Cursor | mareurs.github.io/codescout/agents/cursor |
Multi-agent infrastructure
codescout's design is informed by research on compound error in multi-agent systems — failure rates of 41–87% in production pipelines. This drove the choice of single-session skill-based workflows over agent orchestration chains. Read the analysis →
Guidance that agents actually follow
codescout's prompt surfaces — Iron Laws, get_guide topics, tracker rendering,
result envelopes — are shaped by measured findings on how coding agents trust,
follow, and resist the content a tool surfaces. The short version: authority framing
(a persona, a "trusted" marker) buys nothing; placement and server-computed
provenance buy everything. Trust attaches to what the server computes
(symbols, git state, freshness keys), never to a marker the content carries about
itself — because anything in a file body is forgeable by whoever wrote the file.
Read the findings →
Kotlin & Rust LSP multiplexers
Kotlin and Rust LSPs are expensive to boot and allow only one process per
workspace. codescout ships per-language multiplexers — a detached codescout mux process shares one LSP across all codescout instances. Cold-start happens
once; subsequent sessions connect instantly. No configuration needed.
| Metric | Without mux | With mux |
|---|---|---|
| LSP processes per machine | 1 per session (~2GB each) | 1 shared |
| Cold start on 2nd session | 8–15s | ~0s |
→ Kotlin LSP multiplexer · Rust
Tools
Symbol navigation · File operations · Shell · Semantic search · Memory · Library navigation · Artifacts · Workflow & Config
Supported languages: Rust, Python, TypeScript/JavaScript, Go, Java, Kotlin, C/C++, C#, Ruby.
Experimental Features
New features land on experiments before reaching master. They may change
or be removed without notice.
→ Browse experimental features
Contributing
See CONTRIBUTING.md. PRs from Claude Code are welcome.
License
Вопросы о codescout MCP
Какие языки поддерживает codescout для навигации по символам?
Благодаря инструментам на базе LSP, он поддерживает Rust, Python, TypeScript/JavaScript, Go, Java, Kotlin, C/C++, C# и Ruby.
Нужно ли запускать отдельный сервер для поиска по коду?
Для семантического поиска можно использовать локальную модель ONNX или внешний стек Docker Compose с Qdrant, разреженным эмбеддером (sparse embedder) и реранкером. Реестр артефактов встроен и не требует отдельного сервера.
Что делает функция отслеживания артефактов?
Она индексирует markdown-файлы, такие как спецификации, планы, ADR и runbooks, в каталог SQLite с типизированным графом связей, чтобы агент мог находить и связывать их за один вызов инструмента.
Как настроить codescout с Claude Code?
Зарегистрируйте его как MCP server в вашем конфигурационном файле, а затем один раз запустите onboarding() для каждого проекта, чтобы агент мог обнаружить языки и ключевые файлы.
Работает ли codescout с мультипроектными рабочими пространствами?
Да; вы можете зарегистрировать связанные проекты в workspace.toml, чтобы получить межпроектную навигацию с памятью и индексацией для каждого проекта отдельно.