Skip to main content
Glama
treeweft-mcp

treeweft-mcp

Official
by Treeweft

Treeweft is a GraphRAG code search engine that understands code structurally, not as flat text. It parses every file into an abstract syntax tree via tree-sitter, then weaves those parsed pieces into a connected graph in Neo4j, where calls, imports, inheritance, and references become threads connecting the nodes.

Search traverses that woven structure — semantically through vector embeddings and structurally through the graph — instead of grepping flat text. In a September 2026 benchmark on a pinned production codebase, across three current agent models, an agent using treeweft matched the answer quality of a grep/glob/read agent at 11–47% lower cost — with the largest savings on the questions where you don't know the name of what you're looking for. See Benchmarks.

How It Works

Source Code  ──►  tree-sitter  ──►  Abstract Syntax Trees
                                          │
                                   (parse the trees)
                                          │
                                          ▼
                                    Neo4j Graph DB
                                          │
                                   (weave the graph)
                                          │
                                          ▼
                              Milvus Vector Store  ──►  Search API
  1. Parse: tree-sitter parses every file into AST chunks — functions, classes, blocks, with their hierarchical relationships preserved

  2. Embed: Text chunks are embedded via TEI (Jina, BGE, etc.) into Milvus vector store

  3. Weave: Neo4j captures calls, imports, inheritance, and references as graph edges between parsed nodes

  4. Search: Hybrid retrieval combines dense vector search, BM25 keyword matching (Milvus and LanceDB), graph-enhanced scoring, and HyDE query expansion

What is HyDE?

Hypothetical Document Embeddings (Gao et al., 2022). Instead of embedding a raw query like "how does auth middleware work?" — which may share little vocabulary with the actual code — Treeweft asks the LLM to hallucinate a short code snippet that would answer the question, then embeds that. The hypothetical code's embedding is far closer to real matching code in vector space than the raw query would be. It's query expansion via imagination.

Related MCP server: codegraph-mcp

Quick Start

Simple mode (no GPU, one API key)

Evaluating on a laptop? The simple profile swaps Milvus → embedded LanceDB, Neo4j → embedded SQLite, and TEI/local-LLM → the OpenAI API (embeddings + HyDE/summaries), with reranking on the CPU. One Docker container (Postgres) by default.

git clone https://github.com/Treeweft/treeweft.git && cd treeweft
cp .env.simple.example .env   # then paste your OPENAI_API_KEY into it
./run-simple.sh

See docs/simple-mode.md for the full walkthrough, cost expectations, and the capability matrix vs the full stack.

Full stack

Prerequisites: Docker (with compose), Python 3.11+, and an OpenAI-compatible LLM endpoint for HyDE/summaries — the .env.example default expects Ollama on the host (ollama pull qwen2.5-coder:7b); if the LLM is unreachable, indexing and search still work, just without HyDE and chunk summaries.

git clone https://github.com/Treeweft/treeweft.git
cd treeweft
cp .env.example .env   # quickstart defaults: everything local

# One-shot: pip install -e ., build mcp-server (image only — not started by
# default), bring up Postgres + TEI + Neo4j + Milvus
# (COMPOSE_PROFILES=local-infra), and run the host-side indexer in the
# foreground on :8001. MCP access is stdio (treeweft-mcp) by default, no
# container; add http-mcp to COMPOSE_PROFILES for the deprecated HTTP+SSE
# transport.
./run.sh

No NVIDIA GPU? Add cpu to COMPOSE_PROFILES in .env and set EMBEDDING_URL=http://localhost:8083 — embedding runs on the CPU TEI image (slower indexing, identical results). Already running Neo4j/Milvus elsewhere? Drop local-infra from COMPOSE_PROFILES and point NEO4J_URI / MILVUS_URI at your instances.

If you'd rather start the pieces by hand:

pip install -e .

# Docker side: Postgres, TEI embedding + reranker, Neo4j, Milvus
docker compose up -d postgres tei-embedding tei-reranker neo4j milvus

# Host side: the indexer must NOT run in Docker — it reads arbitrary
# user paths off the host filesystem.
uvicorn treeweft.indexer_service:app --host 127.0.0.1 --port 8001

The MCP server is not a compose service by default: it runs as a stdio subprocess spawned by your MCP client (treeweft-mcp). The deprecated HTTP+SSE transport is available with COMPOSE_PROFILES=http-mcp.

Prebuilt images for the Treeweft services (treeweft/indexer, treeweft/mcp-server, treeweft/ui, treeweft/qwen3-reranker) are published to Docker Hub on every release; docker compose pull fetches them instead of building. See docs/docker-images.md for tags, platforms, and the release procedure.

Point your MCP client at the treeweft-mcp console script — it reaches the host indexer directly via INDEXER_URL (no host.docker.internal needed on stdio):

{
  "mcpServers": {
    "treeweft": {
      "command": "treeweft-mcp",
      "env": {
        "INDEXER_URL": "http://localhost:8001",
        "TREEWEFT_MCP_TOKEN": "<your treeweft PAT or API key>"
      }
    }
  }
}

Once everything is up:

# Index a repo (host indexer, :8001)
curl -X POST http://localhost:8001/index-directory \
  -H 'Content-Type: application/json' \
  -d '{"directory": "/path/to/your/repo", "pattern": "**/*"}'

# Search (host indexer, :8001). A scope is required: path_prefix for one
# repo, or "cross_repo": true to deliberately search the whole index.
curl -X POST http://localhost:8001/search \
  -H 'Content-Type: application/json' \
  -d '{"query": "how does auth middleware work?", "path_prefix": "/path/to/your/repo"}'

Before kicking off a long index, run preflight to predict wall time and get tuning hints:

python -m treeweft.preflight /path/to/repo
# or hit the endpoint. A `path` scan is refused (403) unless it sits under
# PREFLIGHT_ALLOWED_ROOTS (colon-separated) in the indexer's environment:
curl -X POST http://localhost:8001/preflight \
  -H 'Content-Type: application/json' \
  -d '{"path": "/path/to/repo"}' | python -m json.tool

Operator UI: the ui/ standalone SPA (see ui/README.md) gives you Jobs, Sources, and Submit tabs against the indexer. Run it with npm install && npm run dev from ui/. When AUTH_ENABLED=true, log in with a bearer token (personal access token or API key); it's stored in localStorage.

When AUTH_ENABLED=true, the indexing endpoints (/index-*), GET /sources, and search (/search, /graph-explore) require -H "Authorization: Bearer $TREEWEFT_KEY"; search is also checked against per-repo grants. /health, /status, and GET /jobs stay open (job views are redacted for anonymous callers). Set TREEWEFT_SEARCH_OPEN=1 to keep /search anonymous while indexing stays protected (/graph-explore still needs a token).

Architecture

┌─────────────────────────────────────────────┐
│                  MCP Server                  │
│             (stdio, per client)              │
│          Pure API consumer — zero DB access   │
└──────────────┬──────────────────────────────┘
               │ HTTP
┌──────────────▼──────────────────────────────┐
│               Indexer Service                │
│              (Host :8001)                    │
│    Owns all data access: Milvus, Neo4j, TEI, │
│    PostgreSQL, tree-sitter, embedding        │
└──────┬──────────────┬───────────┬───────────┘
       │              │           │
  ┌────▼────┐   ┌─────▼─────┐  ┌─▼──────────┐
  │ Milvus  │   │   Neo4j   │  │ PostgreSQL  │
  │(vector) │   │  (graph)  │  │ (persistence)│
  └─────────┘   └───────────┘  └─────────────┘

DDD layers: domain/ (pure logic) → adapters/ (I/O implementations) → application/ (FastAPI wiring) → infrastructure/ (config, DI). Domain never imports adapters.

Features

  • Structural parsing: tree-sitter AST chunking preserves function/class/block hierarchy

  • Graph weaving: Neo4j captures calls, imports, inheritance, references

  • Hybrid search: Dense vectors + BM25 + graph-enhanced scoring + HyDE
    (BM25 available with Milvus and LanceDB; ChromaDB uses embedding-only hybrid search)

  • Dual GPU/CPU embedding: Token-cost-aware routing keeps oversized chunks off the GPU, falls back to CPU

  • Multi-vector backend: Milvus (default), LanceDB, ChromaDB — selected with VECTOR_STORE
    (non-default backends are install extras: pip install -e .[lancedb], .[chromadb], or .[all-backends])

  • Community detection: Louvain algorithm identifies code clusters

  • Webhook indexing: Auto-reindex on merged pull requests (GitHub and Gitea webhooks)

  • Auth & authorization: API key auth, per-repo access grants, groups

  • MCP protocol: Standard Model Context Protocol server for AI agent integration

Benchmarks

Short answer. Across three current agent models, an agent using treeweft matched the answer quality of a grep/glob/read agent at 11–47% lower cost, with fewer turns, in every configuration we measured. The cost win is statistically significant per query on symbol-free questions for every model. Treeweft's answer-quality score was higher in 5 of 6 configurations, but not significantly so in any — so the claim is the same answers for less, not better answers.

The benchmark is agentic: a real LLM agent answers 100 curated questions about featbit — a ~1,900-file C#/TypeScript production codebase, pinned at tag v5.4.9 — once per retrieval approach, with identical prompts and a 12-turn cap. Answers are scored against gold references by an independent judge (gpt-4o-2024-08-06, not any of the agents). Two question populations run separately: symbol-bearing (the identifier is in the question) and symbol-free (a behavioural description with no name to search for).

Treeweft vs the grep/glob/read (Claude-Code-style) agent, September 2026, n=100 per row:

agent model

questions

cost vs grep (per-query p)

turns (grep → treeweft)

12-turn caps (grep / treeweft)

correctness (grep → treeweft, p)

deepseek-flash

symbol-bearing

−11% (p=0.057)

4.7 → 3.6

0 / 0

4.52 → 4.49 (p=0.851)

deepseek-flash

symbol-free

−30% (p=5.6e-07)

6.7 → 4.2

11 / 4

4.40 → 4.56 (p=0.359)

claude-sonnet-5

symbol-bearing

−14% (p=0.00041)

4.8 → 3.3

2 / 1

4.41 → 4.47 (p=0.286)

claude-sonnet-5

symbol-free

−25% (p=4.7e-06)

6.2 → 3.3

11 / 3

4.14 → 4.43 (p=0.185)

gpt-5.5

symbol-bearing

−20% (p=0.035)

5.5 → 5.0

5 / 6

4.30 → 4.38 (p=0.345)

gpt-5.5

symbol-free

−47% (p=3.1e-17)

8.2 → 5.2

24 / 8

4.05 → 4.41 (p=0.061)

What the numbers say:

  • Treeweft is cheaper. The per-query cost difference is significant in 5 of 6 rows (deepseek-flash on symbol-bearing questions is borderline, p=0.057) and on every symbol-free row. The saving is largest on the most expensive model, where every extra exploratory turn costs more.

  • On symbol-free questions grep runs out of road. It hit the 12-turn cap on 11–24% of questions, significantly more often than treeweft on every model. Capable agents usually still reach the answer; they just pay for the search.

  • On symbol-bearing questions grep is hard to beat at finding the file — it string-matches the identifier. Ranking is a statistical tie on two models, and grep ranks the right file first significantly more often on deepseek-flash (p=0.023). Treeweft still gets there for less.

  • vs vector RAG with identical embeddings (zilliztech/claude-context, deepseek-flash): treeweft ranks the right file first significantly more often — recall@1 0.68 vs 0.48 (p=0.0017) on symbol-bearing and 0.44 vs 0.28 (p=0.007) on symbol-free questions — at 11–22% fewer tokens, with answer quality tied.

Full tables, per-query significance, setup, spend, and reproduction steps: docs/benchmark-results-2026-09.md.

Semantic search, not symbol lookup

What you ask matters more than which tool you use. When the identifier is already in the question, grep finds it directly and treeweft's advantage is cost alone (11–20% cheaper). When you can only describe the behaviour, grep has nothing to match and flounders; treeweft's cost advantage widens to 25–47%. Don't use a semantic engine for symbol lookup — grep already nails it. Use treeweft for "how does this work?" and "where is the code that does X?".

The graph layer earns its keep mainly through the neighbor and community context it feeds the agent. Whether graph rescoring of results adds anything on top depends on the strength of the reranker — see docs/benchmark-findings.md and docs/graph-ablation.md.

Earlier results (June 2026)

An earlier multi-repo run — featbit plus PowerToys (C#), guava (Java) and three.js (JS), n=100 per repo, agent deepseek-chat — found treeweft significantly better than grep on symbol-free answer quality (pooled p<0.0001), with the grep agent collapsing outright on PowerToys (recall 0.27, 43k tokens of failed searches). That run also measured aider's repo-map (an 8k-token symbol map re-sent every turn: 5.1× grep's tokens, and worse retrieval — see docs/benchmark-refresh-runbook.md §1) and a cost comparison including Claude Opus 4.8 (−16% vs grep). Two things limit how far to lean on it: it used an earlier version of the benchmark harness whose numbers this project does not mix with current ones, and its significant answer-quality edge did not replicate on featbit with current models, whose agents keep grep competitive. The cost direction did replicate.

That pattern — a quality edge with weaker agents, cost-only with stronger ones — shows up within the current harness too: a July 2026 run with gpt-4o as the agent (weaker than the models above, and judging its own answers) found treeweft significantly better on symbol-free answer quality on featbit (p=2.3e-10), with grep capping out on 26% of questions. When grep has nothing to match, a weaker agent gives up; a capable one keeps searching and pays for it. Details: docs/benchmark-findings.md and docs/cost-across-models.md.

Caveats, stated plainly

  • One repository in the September run (featbit: C# back end, TypeScript front end), and one run per configuration — no repeated-run variance estimate.

  • The judge scale is compressed. Correctness means sit between 4.05 and 4.56 out of 5, with 71–81 ties per 100 questions, which makes small quality differences hard to detect.

  • Recall counts files the agent opened, so an arm that takes more turns scores higher on it mechanically; read grep's recall numbers with that in mind.

  • A treeweft search takes roughly 3 seconds, most of it reranking — latency traded for fewer agent turns.

  • Raw per-query result rows are not shipped in the repo; the query sets and gold answers are. Reproduce with python -m treeweft.benchmark agentic --help.

We also ran a milestone of token-optimization experiments trying to shrink the search payload, and rejected nearly all of them: a smaller response just makes the agent re-read (compensatory fetch), raising turns and erasing the saving. The only default-on win was serialization (markdown encoding, −26%), not content. The methodology and every rejected experiment — including across five agent models, where trimming gets worse as capability rises — are written up in docs/token-optimization-rejected.md.

Configuration

Copy .env.example to .env and configure:

Variable

Default

Purpose

EMBEDDING_MODEL

jinaai/jina-embeddings-v2-base-code

TEI embedding model

RERANKER_MODEL

BAAI/bge-reranker-v2-m3

TEI reranker model

VECTOR_DIM

768

Must match embedding model

LLM_URL

http://localhost:11434/v1

OpenAI-compatible LLM for HyDE/summaries (Ollama default)

DATABASE_URL

required

Postgres connection string (job state + summary cache)

See .env.example for all options.

Observability

Treeweft emits OpenTelemetry traces from the indexer for every job and per-stage span (parse_and_chunk, embed.chunks, summaries.*, milvus.*, graph.index_file). The bundled docker-compose.yml defines an OTel collector (head sampling, always_on by default — tail sampling belongs in a central collector, see docs/observability-runbook.md), Tempo and Grafana; run.sh does not start them, so bring them up with docker compose up -d otel-collector tempo grafana. Point Grafana at the Tempo datasource (assets/observability/grafana-datasources.yaml) and import assets/grafana/treeweft-indexer-traces.json for the pre-built per-stage dashboard. Configure via the standard OTEL_EXPORTER_OTLP_ENDPOINT / OTEL_TRACES_SAMPLER env vars; span names use the stable treeweft. attribute prefix. Set OTEL_SDK_DISABLED=true to turn it off entirely.

Testing

# The bare `pip install -e .` from Quick Start above is not enough — the
# full suite also exercises every optional-backend adapter. Pull in dev
# (pytest) + all-backends + simple:
pip install -e ".[dev,all-backends,simple]"
pytest tests/unit -q     # 1,656 Detroit-style unit tests (no services needed)

Retrieval quality is validated separately against a live stack via the benchmark harness (python -m treeweft.benchmark run|ab|agentic).

Documentation

docs/index.md maps every document under docs/: a one-line summary of each, how far to trust it, and a recommended reading order for evaluating, operating, and changing Treeweft.

Brand

See assets/branding/ for logo files, favicon, and full brand guidelines. The Thread-Tree mark is the canonical Treeweft symbol.

License

MIT

Available Tools

20 tools
explain_codeA

Use when the user asks you to explain a specific concept or section of code and wants tight, focused context (e.g. 'explain how X works' rather than 'find everything about X'). Same as search_code but with top_k=5 and an optional file_path filter applied server-side — useful for narrowing to a single file you already know is relevant.

Inputs: query (required), language, use_hyde, file_path, +7 more.

find_callersB

Find callers of a function/method. Accepts either a name (auto-resolves; returns callers across all matches with target_id set) or a full entity id.

Inputs: name_or_id (required), source_id. Returns: result

find_definitionA

Find where a symbol is defined. Looks up Class/Function entities by name. Returns all matches across files (let the caller disambiguate). Optional kind filter ('Class' or 'Function') and source_id to scope to one indexed source.

Inputs: name (required), kind, source_id. Returns: result

find_referencesA

Find all references (any incoming relationship — CALLS, INHERITS, IMPORTS, DEFINES) to a symbol. Accepts a name or a full entity id.

Inputs: name_or_id (required), source_id. Returns: result

get_index_jobB

Get the current state of an index job (queued/running/done/failed).

Inputs: job_id (required).

graph_exploreA

Use when the user wants a structural/architectural view rather than a code-snippet view — 'what depends on X', 'what does X talk to', 'show me the call graph around Y'. Finds entities related to the query and traverses their connections (callers, callees, imports, inheritance) up to depth hops. For 'find the code that does X', use search_code instead.

Inputs: query (required), depth, language, use_hyde, +6 more.

hydrate_chunksA

Fetch the full code bodies for facet search hits. After a search_code call with response_mode='facet' (which returns ranked metadata + headers but NO code), pass the hit_id values of the results you care about here — in ONE batched call — to get their exact code bodies. Cheaper and more precise than read_file: it returns exactly the indexed chunk(s), reconstructing merged ranges. Returns compact markdown by default; pass response_format='json' for the structured dict.

Inputs: ids (required), source_id, response_format. Returns: result

index_directoryA

Index all code files in a directory (recursive). Returns immediately with a job_id; poll get_index_job to track progress. Set force=true to re-index even if the directory is already indexed and unchanged (otherwise the call no-ops to the prior job).

Inputs: directory (required), force, pattern.

index_fileA

Index a single code file. Parses with tree-sitter, chunks with chonkie, embeds via TEI, and stores vectors in Milvus + entities in Neo4j. Returns immediately with a job_id; poll get_index_job to track progress. Set force=true to re-index even if this file is already indexed and unchanged (otherwise the call no-ops to the prior job).

Inputs: file_path (required), force.

index_graphA

Build (or rebuild) the Neo4j code graph for an already-indexed source — pass 2 of two-pass indexing. Use this when chunks/vectors exist but graph-backed tools (find_definition, find_callers, find_references, graph_explore) return empty, or after a chunks-only index (skip_graph=true). Drops the source's existing graph entities and re-extracts; safe to re-run. Returns immediately with a job_id; poll get_index_job. Get source_id from list_indexed_sources.

Inputs: source_id (required).

index_repoA

Index a git repository. Accepts a local path (with ~/ expansion) or a remote git URL. Auto-detects current branch for local repos. Returns immediately with a job_id; poll get_index_job to track progress. Re-indexing the same source upserts (no duplicates). By default an already-indexed, unchanged source no-ops to its prior job — set force=true to force a full re-index.

Inputs: url, path, force, branch.

list_indexed_sourcesA

List all indexed sources (repos, directories, files) with their stats.

Inputs: no named parameters. Returns: result

list_index_jobsA

List indexing jobs across all sources. Each entry includes status (queued/running/done/failed), kind (file/directory/repo/graph/incremental), processed_files / total_files, errors, current_file, and timing. Useful for answering 'is treeweft busy?' or 'what happened to my last index job?'.

Inputs: status. Returns: result

list_job_errorsA

List the per-file errors recorded during a specific indexing job. Each entry includes file_path, error_kind ('timeout' or 'exception'), error_message, elapsed_s, and occurred_at. Useful for 'which files failed?' and 'why?' without grepping process logs.

Inputs: job_id (required), limit, offset.

rebuild_all_graphsA

Bulk-build the Neo4j code graph for indexed sources. Lists sources, then enqueues a graph job (POST /index-graph) for each. Use this once to repair a bulk import where chunks were indexed but the graph was never built (so find_definition/graph tools are globally empty). Graph extraction is idempotent (drops + rebuilds), so rebuilding a healthy source is harmless. Defaults to rebuilding ALL sources — the graph_indexed flag is NOT a reliable signal for the empty-graph bug (jobs marked themselves indexed while writing nothing), so only_missing=true (which filters to graph_indexed=false) will skip the very sources that need repair. Returns one entry per source with its job_id (or error). Jobs run through the shared queue — this kicks them off and returns; poll list_index_jobs(status='running') to track.

Inputs: only_missing.

remove_indexed_sourceA

Remove an indexed source. Drops its Milvus chunks and Neo4j entities (but preserves entities still referenced by other sources).

Inputs: source_id (required).

search_codeA

PRIMARY code-search tool — use FIRST for any question about how indexed code works, to plan a change, trace a flow, or find an implementation by behavior. Prefer this over grep/Read for indexed repos: grep needs exact strings, this finds code by meaning. Embeds the query, vector-searches Milvus, expands via Neo4j graph neighbors (callers/callees/imports/inheritance) and community summaries, reranks, returns chunks with file_path, start_line, end_line, snippet, score. Each chunk carries a citation field (e.g. 'repo@sha12:path') and the response includes a top-level sources map with commit_sha and permalink_base per source for building file-level permalinks. top_k defaults to 5 (the benchmarked sweet spot) — raise it only when a first search shows the answer spans many files. Optional filter: language (e.g. 'python'). SCOPE IS REQUIRED: pass source_id (from list_indexed_sources) or path_prefix (e.g. '/repo/src/') to scope to one repo, OR cross_repo=true to search the whole multi-repo index — exactly one, not both, or the search is rejected. Set check_staleness=true to add an is_stale flag per source (does live git HEAD resolution — slightly slower). response_mode (opt-in, default 'full'): 'facet' returns ranked metadata + a one-line header per hit with NO code body (cheaper — then fetch ranges with read_file); 'summary_tail' keeps the top-2 snippets and replaces lower-ranked bodies with their indexed one-line summary. Returns compact markdown by default (~20% fewer tokens); pass response_format='json' to get the structured dict instead (for programmatic callers).

Inputs: query (required), top_k, language, use_hyde, +15 more. Returns: result

search_code_enhancedA

Use when search_code results suggest the answer spans multiple structurally-related files (e.g. handler/publisher/consumer triads, or a class and its subclasses) and you want to pull in chunks from those neighbor files in one shot. Same inputs and filters as search_code; does a second-pass Milvus search filtered to neighbor file paths before reranking. Results carry per-chunk citation fields and a top-level sources map (commit_sha + permalink_base). Set check_staleness=true to add an is_stale flag per source (does live git HEAD resolution — slightly slower). response_mode (opt-in, default 'full'): 'facet' returns ranked metadata + a one-line header per hit with NO code body (then fetch ranges with read_file); 'summary_tail' keeps the top-2 snippets and replaces lower-ranked bodies with their indexed summary. Returns compact markdown by default (~20% fewer tokens); pass response_format='json' to get the structured dict instead (for programmatic callers).

Inputs: query (required), top_k, language, use_hyde, +15 more. Returns: result

source_stalenessA

Check whether an indexed source is out of date relative to its current upstream HEAD. For local-path sources, resolves via git rev-parse; for URL sources via git ls-remote. Returns {indexed_sha, current_sha, is_stale} — is_stale is null for non-git inputs.

Inputs: source_id (required).

wait_for_index_jobA

Block until an index job reaches done/failed/cancelled, or until timeout_s elapses. Polls server-side. Use this when you want a synchronous index call.

Inputs: job_id (required), timeout_s.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.8/5.0

    Scored across 20 tools

    Disambiguation4/5

    Most tools have clearly distinct roles: indexing scopes, job tracking, search, and graph traversal are easy to separate. The main ambiguity is between search_code, search_code_enhanced, and explain_code, and between find_callers and find_references, but the descriptions give enough usage guidance to make the intended choice.

    Naming Consistency4/5

    The set mostly follows a clean verb_noun snake_case pattern: index_*, get_*, list_*, find_*. Minor deviations like 'source_staleness' (a noun phrase instead of a verb), 'search_code_enhanced' (suffix modifier), and 'rebuild_all_graphs' (bulkier form) keep it from a perfect 5.

    Tool Count3/5

    20 tools is on the heavy side, and several are near-variants of the same operation: three search entry points and two graph-build tools add surface area. However, the server covers distinct responsibilities—indexing, job management, search, and graph analysis—so the count is not unreasonable.

    Completeness4/5

    The surface covers the full indexing lifecycle—create, list, track, force-reindex, and remove—along with code search and graph navigation. Minor gaps remain, such as no dedicated source-detail tool, no scoping for find_callers, and no explicit incremental update beyond force reindexing.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers