1. Conduid
  2. RAG
  3. Codesearch
MCP server · RAG

Codesearch

Code, package, docs, and paper search MCP server — per-package navigation, per-repo intelligence, vulns, docs, academic papers

72Good

Scored 5 hours ago · breakdown

About Codesearch

Codesearch is an MCP server published by flupkede in the RAG category: code, package, docs, and paper search MCP server — per-package navigation, per-repo intelligence, vulns, docs, academic papers. Conduid read 6 tools from its source: explore, find, find_impact, get_chunk, search and status. No package is published for it, so it installs from a source checkout.

The repository has 109 stars and 22 forks, and its last commit was on 1 Dec 2026. Conduid has no tagged release on record for it. It passes all 1 static checks Conduid ran on the repository. Its topics include code-search, opencode, package-search, semantic-scholar, stackoverflow and vulnerability-scanning.

Install

From source
git clone https://github.com/flupkede/codesearch

Tools (6)

exploreUnified code exploration. Set `kind` to choose the action: - `outline` (default): list all indexed top-level symbols in a file — kind, signature, and line range. Set `target` to a file path. - `similar`: find chunks semantically similar to a given chunk by its ID. Set `target` to the chunk_id (as string). IMPORTANT (multi-repo): always specify either `project` (single repo) or `group` (cross-repo). Omitting both in multi-repo mode returns a `scope_required` error with the list of available projects and groups. If the user has not indicated which repository to search, ask them to choose.
findUnified symbol navigation. Set `kind` to choose the action: - `definition` (default): locate where a symbol is defined (function, class, struct, etc.) - `usages`: find call-sites of a symbol via LEXICAL TEXT matching — hits may be docs/comments rather than code references; ranking puts source files first and a `note` field flags the precise upgrade path when one exists. On C#/TypeScript projects ALWAYS prefer `find_impact` for usages — it returns exact SCIP references, while this kind is only a text fallback - `imports`: list all imports/dependencies declared in a file (set `symbol` to the file path) - `dependents`: find all files that import or depend on a module, file, or symbol For `imports`, set `symbol` to a file path. For other kinds, `symbol` is the symbol name. IMPORTANT (multi-repo): always specify either `project` (single repo) or `group` (cross-repo). Omitting both in multi-repo mode returns a `scope_required` error with the list of available projects and groups. If the user has not indicated which repository to search, ask them to choose.
find_impactSymbol impact analysis — find all references to a symbol with IDE-class precision (SCIP). The right tool for "who calls X?" / "what breaks if I rename X?". Returns transitive call-sites with file/line precision, enabling agents to plan refactors without missing a caller. More accurate than text-based `find kind="usages"` because it understands language semantics. Input variants (mutually exclusive): - By name: `{ "symbol_name": "FieldDefinition.Validate", "project": "myrepo" }` - By position: `{ "file": "src/Validation/FieldDefinition.cs", "line": 42, "project": "myrepo" }` - By exact canonical key: `{ "symbol_key": "csharp . . . FieldDefinition#Validate().", "project": "myrepo" }` AMBIGUITY: if several stored symbols match (overloads, same-line definitions), the answer is `{"ambiguous": true, "query": ..., "candidates": [...]}` — pick one candidate and re-call with `symbol_key` set to it verbatim. A resolved answer names the selected canonical key in `resolved_symbol`; never assume which overload answered. WARNINGS: a resolved answer may carry a `"warnings": ["..."]` array — non-empty means the reference list may be INCOMPLETE because a helper failure was survived rather than fatal (a project that failed to compile, an exception during reference resolution, a non-zero scip-typescript exit). Each entry names what failed. Treat warnings as a prompt to reindex the project (or cross-check with `find` `kind="usages"`) before concluding "no callers" — absent or empty means the answer is as complete as the index knows. SYMBOL INDEX: resolved and empty answers carry `"symbol_index": [{"language", "state", "age_seconds", ...}]` — the state of the SCIP index that produced the answer (`ready` | `degraded` | `stale` | `restore-pending` | `absent`). Check it before trusting `references: []`: `absent`/`stale`/`restore-pending` means the empty answer reflects an unusable or outdated index, not verified absence of callers — trigger/await a reindex and re-call instead of concluding. LANGUAGE: if `language` is omitted, position lookups auto-detect it from the file extension; with several SCIP helpers installed the answer asks you to name one — pass `language` to avoid the round-trip. Precision backends (SCIP) ship per language; C# (bundled `scip-csharp` helper, `-with-csharp` releases) and TypeScript (via `npx` or `CODESEARCH_SCIP_TYPESCRIPT`) are available today. For Rust/Python/Go/etc., use `find` with `kind="usages"` as a text-based fallback until SCIP backends for those languages ship. On a busy answer (`"busy": true`): sleep `retry_after_seconds` and retry the SAME call. Busy is progress, not failure — never fall back to text search on busy. IMPORTANT (multi-repo): always specify `project` (single repo). Omitting `project` in multi-repo mode returns a `scope_required` error.
get_chunkRetrieve the full content of a specific chunk by its ID, plus optional surrounding lines for context. Use this after search or explore to read the actual code without loading the whole file. USE FOR: reading a specific function/class body after finding it via search. Set context_lines (default 0, max 20) to include lines before and after the chunk. IMPORTANT (multi-repo): chunk_ids are local to each repository and are NOT globally unique. When `project` is omitted in multi-repo mode, the tool scans all repositories for the chunk_id. If found in exactly one repo, it is returned automatically. If found in multiple repos, an `ambiguous_chunk_id` error lists the candidates so you can retry with `project`.
searchUnified code search. Set `mode` to choose the backend: - `semantic` (default): vector embeddings + BM25 FTS + exact-identifier boosting, fused with RRF. Best for conceptual queries, identifier lookups, and mixed natural-language + symbol queries. - `literal`: pure FTS, no embeddings. Fast and works without an embedding model. Sub-mode selection: * Queries with operators, brackets, or punctuation (`foo = null`, `Vec<T>`, `return x;`, `a::b`) -> set `regex=true` and write the query as a regex. BM25 tokenizes on punctuation otherwise, producing noisy results. * Multi-word exact phrases -> set `phrase=true`. * Plain identifier lookups (`CodesearchService`) -> leave both false. For semantic mode, optionally set `semantic_mode`: "auto" (default) | "semantic" | "lexical" | "hybrid". Set `min_score` to drop weak hits and answer with an explicit refusal (empty results + note) instead of nearest-neighbour noise; the score scale depends on `semantic_mode` — cosine similarity for "semantic", RRF points (rarely above 0.2) otherwise. Federated group/project queries forward `min_score` to every leg and surface each leg's refusal note in `warnings`. Not supported in `literal` mode — passing `min_score` with mode="literal" returns an explicit error naming the field. Returns metadata only by default (`compact=true`). Use `get_chunk` to read full code. Prefer `search(mode="literal", regex=true)` over external grep/ripgrep for code patterns. IMPORTANT (multi-repo): always specify either `project` (single repo) or `group` (cross-repo). Omitting both in multi-repo mode returns a `scope_required` error with the list of available projects and groups. If the user has not indicated which repository to search, ask them to choose.
statusUnified status/info tool. Set `kind` to choose the action: - `index` (default): get the status of the local search index (model info, chunk count, readiness) - `projects`: list all registered projects/repositories, groups, and their index status

Security checks

  • ✓README presentThe repository's README runs to about 1.7K words.

5 checks have not been run yet.

README

The repository's README runs to about 1.7K words. The original in the repository is authoritative.

Read full README
Questions

About Codesearch

How do I install Codesearch?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Codesearch safe to use with an AI agent?

Its trust score is 72 out of 100 (good). It passes all 1 static checks Conduid ran on the repository. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Codesearch still maintained?

Yes — the last commit was 14 hours ago. The repository has 109 stars and 22 forks.

What tools does Codesearch provide?

Conduid read 6 tools from the source: explore, find, find_impact, get_chunk, search and status.