lynx-mcp
Lynx-mcp is a fully local, AST-aware MCP server for semantic code search, hybrid retrieval, and code knowledge graph capabilities over your codebase, docs, and PDFs — no data leaves your machine.
Search & Retrieval
search: Hybrid BM25 + dense semantic search using natural-language behavior descriptions (e.g., "method that handles player damage"). Supports filtering by file glob, extension, or path, and returns full bodies or signatures-only (outlinemode) for token-efficient triage.deep_search: Runs multiple differently-phrased query variants in sequence, stopping at the first that passes a quality threshold — useful when basic search returns weak results.search_diff: Search only files changed vs. a base branch, ideal for code review workflows.find_similar: Identify similar code snippets already in the codebase.
Code Intelligence
graph_query: Query a code knowledge graph for callers, callees, subclasses, superclasses, imports, and shortest paths — answers structural questions like "what breaks if I change this?"find_definition: AST-precise lookup of where a symbol is defined.find_usages: Find every use of a symbol — calls, references, decorators, generics, and docs.find_tests_for: Discover tests associated with a given symbol.
Index Management
list_sources: List all configured sources (codebases, web docs, PDFs) with type, location, chunk count, and drift status.get_rag_status: Check whether a source's index is up to date before triggering a rebuild.update_source_index: Force a full rebuild of a source's index after merges, bulk renames, or embedding model changes.feedback: Log structured retrieval failures locally to help tune sources and chunking over time.
Key Characteristics
All retrieval tools carry
readOnlyHint: truefor safe auto-approval in MCP clients.Multi-source indexing with RRF fusion across codebases, web docs, and PDFs.
Live index via file watcher (~2s re-index on save).
Results expose joinable SQL tables via a local HTTP API (e.g., for DuckDB integration).
Web manager UI for setup, query testing, diagnostics, and client config generation.
Enables querying the code search index and knowledge graph as SQL tables via HTTP API, allowing correlation with other data sources in DuckDB.
Lynx
LynxMCP is a 100% local MCP server for the code questions grep can't answer: what calls this, what breaks if I change it, where is the code that does X, how does the library version I actually use behave. AST-aware chunking, hybrid BM25 + dense retrieval, an optional code knowledge graph, and your library docs and PDFs indexed next to your code. Works with any MCP client (Claude Code, Cursor, Windsurf, Antigravity, ...).
Grep is the right tool when you know the identifier, and your agent already has it. Lynx is for the questions grep cannot answer. Behaviour: "where do we clamp the camera zoom?" matches nothing literal. Structure: who calls this, what inherits from it, what breaks if it changes; polymorphic dispatch leaves no textual trace. Knowledge past the model's training cutoff: the docs of the framework version you run, indexed as a source. Nothing leaves your machine.
What grep can't answer
Each row is measured; the numbers come from the benchmarks below.
Question | Agentic grep | Lynx |
"What inherits from | 101 grep rounds, one per discovered class | 4 |
"What breaks if I change | the textual mentions of the name |
|
"Where do we validate session tokens?" on C# (Json.NET) | hit@1 33% | hit@1 47% |
"How does this API behave in the version we ship?" | the model's memory | the docs you indexed, cited with the page they came from |
Where grep is better, this page says so. On Guava, whose class names document themselves (BloomFilter, RateLimiter), grep ranks higher: hit@1 73% against 60%. On a repository that fits in the agent's context, the built-in tools are fine. Lynx pays off on large codebases, on framework docs your model has gone stale on, and on repeated sessions where re-exploring from scratch is waste.
Related MCP server: Code Memory
Quickstart
# 1. Install the CLI (isolated, no venv ritual). About 460 MB on disk, no PyTorch.
pipx install lynx-mcp
# or: uv tool install lynx-mcp
# 2. Create a config and point it at your project
lynx manager init
lynx source add myproject --type codebase --path /path/to/your/repo
# 3. Build the index (downloads the 130 MB embedding model on first run)
lynx buildlynx manager init also offers to open the web UI, where the same source can be added through a guided form with a folder picker. Everything below works either way.
Every tool your AI gets is also a command, with the same name and the same output: lynx find-definition ApplyDamage, lynx impact ApplyDamage, lynx graph query --op callers --symbol ApplyDamage. Add --json to any of them for scripts.
Then register Lynx in your MCP client. Claude Code is shown; the full guide covers Cursor, Antigravity, and generic stdio clients, or let lynx manager ui generate the snippet for you:
{
"mcpServers": {
"lynx": {
"command": "lynx",
"args": ["serve", "--config", "/absolute/path/to/config.json"]
}
}
}The server answers the MCP handshake in about a second and opens the indexes in the background; a call that arrives earlier gets the loading state back and is retried. If you would rather skip the terminal, there are double-click installers for macOS and Windows.
The tools your AI gets
The tool set is fixed: it does not grow with the number of sources. It is also layered, because every tool definition rides in your client's context on every turn. Three profiles: core (5 tools, about 1,300 tokens of definitions), standard (10 tools, about 2,800 tokens, the default) and full (17 tools, about 4,150 tokens). Set tools.profile in config.json or pass lynx serve --profile full; tools.include adds a single tool to a profile. Tools take a source argument where relevant.
Tool | Profile | What it answers |
| core | Primary hybrid search. Omit |
| standard | Escalation: tries multiple query phrasings until one passes a quality threshold. |
| standard |
|
| standard | Where is X defined? (AST-precise when the graph is on, BM25 fallback otherwise.) |
| core | Every use of X: calls and non-call references (generics, decorators, docs). |
| full | Are there tests for X? |
| full | Does code like this already exist? |
| core | One-shot context for X: definition, who calls it, what it calls, its tests, in a single call. |
| core | Blast radius: everything that reaches X transitively through the call graph (with hop distance), plus the tests to re-run. |
| full | A file as a unit: the symbols it defines, what it imports, and which files depend on it. (graph) |
| standard | "What is this and where do I start": detected languages, frameworks, entry points, and build/test/run commands. |
| full | Render a shareable, offline graph view (a symbol's blast radius or a file hub) as a single self-contained file. (graph) |
| standard | Search only the files changed vs a base branch. Built for code review. |
| core | The agent files a report when the index couldn't answer. Stored 100% locally, your signal for tuning sources. |
| full | Introspection and maintenance. |
Retrieval tools carry MCP readOnlyHint annotations, so clients can auto-approve them. The only write is export_graph, which saves a graph view file. The server ships its usage playbook in the MCP handshake (instructions plus a lynx://guide resource), so your agent knows how to query well without any rules-file setup.
(graph) tools need the optional code knowledge graph enabled for the source. The tool set is per-capability, never per-source.
How it works
flowchart LR
A["Your code + docs + PDFs"] --> B["Tree-sitter<br/>AST chunker"]
B --> C["bge-small<br/>dense embeddings"]
B --> D["code-tokenized<br/>BM25"]
B --> G["Code knowledge graph<br/>(opt-in)"]
C --> R{{"RRF fusion"}}
D --> R
Q(["Your query"]) --> R
R --> RR["Optional<br/>reranker"]
RR --> RES["Ranked code<br/>file : line : symbol"]
G --> GT["Graph tools<br/>callers · subclasses · usages"]
classDef store fill:#fff3e6,stroke:#e8742c,color:#24292f;
classDef out fill:#e8742c,stroke:#e8742c,color:#fff;
class C,D,G store;
class RES,GT out;Tree-sitter parses 18+ languages (19 grammars, counting TSX) and indexes whole functions and classes, not arbitrary text windows.
Retrieval is hybrid: dense embeddings plus code-tokenized BM25, fused with RRF, with an optional cross-encoder reranker.
The code knowledge graph (opt-in) records who calls what, inheritance and imports, and answers "what breaks if I change this?" with the actual blast radius.
Sources can be codebases, public docs sites (fetched once, on demand; JS-rendered SPAs via optional headless Chromium) and PDFs, searched side by side.
A file watcher re-indexes a saved file in about 2 seconds. No manual rebuild ritual.
Search and the graph are also served as rows over a local HTTP API, so SQL engines can join your code with tickets, PRs or logs (see Integrations).
lynx manager uigives you guided setup, a query playground, diagnostics and client config snippets in the browser.
Everything runs locally: HuggingFace models are downloaded once, then Lynx switches to offline mode. No telemetry, no cloud index, no code upload. The only network access is the model download and the explicit webdoc fetch step you trigger yourself.
The models run on ONNX Runtime, so there is no PyTorch in the install: about 460 MB on disk, and a 165 MB download on Linux where the torch wheel alone used to bring 4 GB of CUDA libraries. Same model, same vectors, so an index built by an earlier version keeps working.
Open as many sessions on one index as you like: two editor windows, an editor plus the web UI, a CLI query while the server runs. They all search the same index. Only indexing is exclusive, and the process doing it hands over automatically if you close it.
Behind a firewall or on an air-gapped machine? The model can come from a mirror, from this repo's GitHub Releases (the automatic fallback), or from an archive you carry over; see Restricted networks in the guide.
Benchmarks (reproducible)
Three codebases, three languages, behavioural questions with known ground-truth files, and a grep baseline built to be strong (IDF-weighted multi-keyword ranking with ideal stopword removal, closer to BM25 than to an agent's first rg). Methodology and per-task results: Django, Json.NET, Guava.
grep / Lynx | Django 5.2 (Python) | Json.NET (C#) | Guava (Java) |
corpus | 883 files, 158k lines, 20 questions | 240 files, 69k lines, 15 questions | 606 files, 181k lines, 15 questions |
hit@5 | 95% / 85% | 67% / 73% | 93% / 80% |
hit@1 | 45% / 55% | 33% / 47% | 73% / 60% |
MRR | 0.64 / 0.67 | 0.47 / 0.58 | 0.81 / 0.70 |
median tokens to answer | 4,150 / 1,725 | 6,590 / 1,540 | 5,892 / 807 |
tool round-trips before the code is in context | 2+ / 1 | 2+ / 1 | 2+ / 1 |
Ranking swings with how self-documenting the code is: Lynx ahead on C#, where PascalCase identifiers and sparse comments starve a lexical baseline; mixed on Python, ahead at hit@1 and behind at hit@5 in Django's docstring-rich code; behind on Guava. The token cost does not swing. It drops 58% to 86% every time, because Lynx hands back the whole function with file:line, symbol and score in one call, where grep returns match lines and then needs a read.
The structural gap is of a different kind. "What inherits from Field?" over Django's 100-class hierarchy takes grep 101 rounds, one per discovered class, each a full model inference over the growing context; graph_query answers it in 4 calls from resolved inheritance edges, same recall, file:line on every edge.
# reproduce: Python (Django)
git clone --depth 1 --branch 5.2 https://github.com/django/django.git benchmarks/_target/django
python benchmarks/run_benchmark.py && python benchmarks/structural_demo.py
# reproduce: C# (Json.NET)
git clone --depth 1 https://github.com/JamesNK/Newtonsoft.Json.git benchmarks/_target/jsonnet
python benchmarks/run_benchmark.py --tasks benchmarks/tasks_jsonnet.json \
--target-dir benchmarks/_target/jsonnet --storage-dir benchmarks/_storage_csharp \
--results-json benchmarks/results_csharp.json --results-md benchmarks/RESULTS_csharp.md
# reproduce: Java (Guava)
git clone --depth 1 https://github.com/google/guava.git benchmarks/_target/guava
python benchmarks/run_benchmark.py --tasks benchmarks/tasks_guava.json \
--target-dir benchmarks/_target/guava --storage-dir benchmarks/_storage_java \
--results-json benchmarks/results_java.json --results-md benchmarks/RESULTS_java.mdWhat it costs, in tokens and in money
Per retrieval, the saving is the measured delta above: 2,400 to 5,100 fewer tokens to get the answer into context. Per session, the tool definitions cost 1,300 tokens (core), 2,800 (standard) or 4,150 (full), so a session has paid for its tool list after the first or second retrieval. outline triage cuts the search step by another 2.4x on broad queries (measured).
In money, for 25 engineers making 60 retrievals a day (31,500 a month), the yearly API bill Lynx removes, as a range across the three codebases:
Flagship model (input $/1M) | Measured floor | With the saved round trip |
Claude Fable 5 ($10) | $9,200 to $19,200 | $16,700 to $26,800 |
GPT-5.5, Claude Opus 4.8 ($5) | $4,600 to $9,600 | $8,400 to $13,400 |
The floor counts only the smaller tool output, no assumptions. The second column adds the one grep round trip Lynx removes, whose 20k-token context is re-read from the prompt cache at a tenth of the input price; that discount is the single modelled assumption, and it is a knob. Run it for your own team, prices and codebase: python benchmarks/savings_calculator.py --devs N, or the interactive savings calculator (presets in pricing.json and measured.json, yours to edit).
Read less: outline mode
Every search ranks the same way. search(query, outline=true) (or ?view=outline over HTTP) returns the same ranked hits without their bodies: a one-line signature plus the first line of the docstring, so the agent scans the candidates and reads the single body it needs, by its cited file:line. On a public repo (psf/requests) it cut the search step to 2.4x fewer tokens. When to use which, the measured data and the chart: docs/OUTLINE.md.
Integrations
Search and the code graph are served as NDJSON over a local HTTP API (/api/v1), and the MCP tools compose with any other MCP server your agent has. Everything below stays on your machine; only the other side of a join (GitHub, Jira, Sentry) touches an API.
Coral: Lynx is a community source in Coral's registry,
lynx.searchplus six graph functions, so a behavioural question becomes a SQL table you join with live GitHub or Sentry data.DuckDB:
read_ndjson_auto('http://127.0.0.1:8765/api/v1/search?...')is a table, no plugin and no daemon; join code relevance with git churn, error logs or ticket exports.Steampipe: a plugin with
lynx_source,lynx_searchandlynx_graphtables that join per row, one search per row of another table; prebuilt macOS and Linux binaries on the releases page.GitHub Action: on every PR, a comment with the downstream callers and the semantically related code, indexed locally on the runner.
MCP recipes: agent patterns combining Lynx with GitHub, Sentry and Jira MCP servers (triage, PR impact, ticket to code).
Documentation
Configuration, all source types (codebase / webdoc / PDF), retrieval internals, tool profiles, troubleshooting | |
Guided setup, playground, diagnostics | |
Signatures instead of bodies: when to use it, measured data, chart | |
Code search and the code graph as SQL tables | |
Combining Lynx with GitHub / Sentry / Jira MCP servers | |
Downstream callers and related code, commented on every PR | |
Annotated example configuration |
Status
Developed by one author; APIs may still move before 1.x stabilizes. Issues and PRs are welcome. The test suite runs with pytest and CI must stay green. See ROADMAP.md for what's under consideration (and what is explicitly not planned).
License
Available Tools
16 toolsdeep_searchARead-onlyIdempotent
Escalation for when search came back weak or empty: runs 2-4 genuinely different phrasings of the same need and returns the first set that passes the quality threshold, or the strongest weak set with a warning. Slower than search; do not start here.
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | dense | sparse | hybrid (single source only). | |
| top_k | No | Max results; default from config. | |
| source | No | Source name, list of names, or omit for all sources, fused. | |
| queries | Yes | 2-4 genuinely different phrasings, tried in order. | |
| file_glob | No | Restrict to paths matching this glob, e.g. `*.cs`. | |
| min_score | No | Quality threshold override. | |
| extensions | No | Restrict to these extensions, e.g. ['.cs']. | |
| min_results | No | Minimum results for a variant to count as strong. | |
| path_contains | No | Restrict to paths containing this substring. | |
| return_all_variants | No | Include per-variant diagnostics (single source only). |
describe_symbolARead-onlyIdempotent
One-shot context for a symbol: definition, who calls it, what it calls, and its tests, in a single call. The fastest way to understand a function or class before changing it, and cheaper than find_definition, find_usages and find_tests_for one after the other. Call data needs the graph layer; definition and tests always work.
| Name | Required | Description | Default |
|---|---|---|---|
| source | No | Source name. Omit when only one source applies. | |
| symbol | Yes | Identifier, e.g. `MyClass` or `MyClass.handleClick`. | |
| tests_limit | No | Max tests. | |
| callees_limit | No | Max callees. | |
| callers_limit | No | Max callers. |
export_graphAIdempotent
Write a self-contained offline HTML view of a symbol's blast radius (mode=symbol) or a file's imports and dependents (mode=module), for a human to open or attach to a PR. Returns the file path.
| Name | Required | Description | Default |
|---|---|---|---|
| out | No | Output path; default: the reports dir. | |
| mode | No | symbol | module. | symbol |
| depth | No | Hops for symbol mode (1-6). | |
| source | No | Source name. Omit when only one source applies. | |
| target | Yes | Symbol (mode=symbol) or file path / fragment (mode=module). |
feedbackA
Report that the index could not answer you, before giving up. Appended to a local log (never uploaded) so the index owner can tune sources and filters.
| Name | Required | Description | Default |
|---|---|---|---|
| stuck | Yes | Where exactly you got stuck. | |
| tried | Yes | Tools and queries you already tried. | |
| trying_to_do | Yes | What you were trying to find or answer. |
find_definitionARead-onlyIdempotent
Jump to where a symbol is defined, when you already know its name. AST-precise when the graph layer is on, BM25 fallback otherwise; each hit says which. Use search instead when you can only describe what the code does, and describe_symbol when you also want the callers and the tests in the same call.
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max results. | |
| source | No | Source name. Omit when only one source applies. | |
| symbol | Yes | Identifier, e.g. `MyClass` or `MyClass.handleClick`. |
find_similarARead-onlyIdempotent
Code semantically similar to a snippet you already have, dense search only: use it before writing a function, to check whether something like it exists. search is the one to call when you can describe the need in words instead. Snippets are cut at 2000 chars.
| Name | Required | Description | Default |
|---|---|---|---|
| top_k | No | Max results. | |
| source | No | Source name. Omit when only one source applies. | |
| snippet | Yes | Code block to match; cut at 2000 chars. |
find_tests_forARead-onlyIdempotent
List the tests that mention a symbol, searched under conventional test paths (tests/, spec/, tests/, _test., .spec., *Test.cs, *Tests.cs); test_path_pattern replaces them for another layout. Use it when the tests are all you want, before or after a change; describe_symbol returns the same tests bundled with the definition and the callers, and impact returns them for a whole blast radius.
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max results. | |
| source | No | Source name. Omit when only one source applies. | |
| symbol | Yes | Identifier to find tests for. | |
| test_path_pattern | No | Regex for test file paths, replacing the defaults. |
find_usagesARead-onlyIdempotent
Every use of a symbol: calls (from the graph when on) plus textual references (generics, decorators, imports, docs), definition excluded. Answers 'who uses X' at one hop; impact walks the chain further and adds the tests.
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max results. | |
| source | No | Source name. Omit when only one source applies. | |
| symbol | Yes | Identifier to find the uses of. |
get_rag_statusARead-onlyIdempotent
Index state for one or all sources: freshness, chunk count, last update, drift. Check it before considering a rebuild.
| Name | Required | Description | Default |
|---|---|---|---|
| source | No | Source to inspect; omit for all. |
graph_queryARead-onlyIdempotent
Raw access to the code knowledge graph (calls, inheritance, imports), for the questions the dedicated tools do not cover: find_usages, impact and describe_symbol answer the common ones with the results already shaped. operation: callers | callees | subclasses | superclasses | imports | neighbors | shortest_path | overview | surprising_connections | status. symbol is matched as a case-insensitive substring; results carry file:line.
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | neighbors: hops out (1-6). | |
| limit | No | Max edges. | |
| top_n | No | overview / surprising_connections: items to return. | |
| source | No | Source name. Omit when only one source applies. | |
| symbol | No | Symbol the operation acts on (not needed by overview / status). | |
| target | No | Destination symbol for shortest_path. | |
| max_hops | No | shortest_path: max path length. | |
| operation | Yes | One of the operations listed in the tool description. | |
| relation_filter | No | neighbors: calls | inherits | imports | imports_from | contains. | |
| min_community_size | No | overview: minimum community size. |
impactARead-onlyIdempotent
Answer 'what breaks if I change this': everything that reaches a symbol transitively through the call graph, with hop distance, plus the tests to re-run. Use find_usages for the direct, one-hop answer; use this before a risky edit, when the indirect callers are the point. max_depth trades reach for noise: 2 stays close to the change, 6 on a hub symbol can return most of the codebase. Transitive callers need the graph layer.
| Name | Required | Description | Default |
|---|---|---|---|
| source | No | Source name. Omit when only one source applies. | |
| symbol | Yes | Identifier whose blast radius to compute. | |
| max_depth | No | Call-graph hops to walk (1-6). | |
| tests_limit | No | Max tests. |
list_sourcesARead-onlyIdempotent
List which sources exist and what each one is: name, type, path, chunk count and drift flag. Read from config and metadata, no index opened. Call it first when you do not know the source names a source argument expects; for how fresh one index is, and whether to rebuild it, use get_rag_status instead.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
module_summaryARead-onlyIdempotent
A file as a unit: the symbols it defines, what it imports, and which files depend on it (via the call graph). Read it before editing a file you don't know; repo_overview does the same for the whole repository, and describe_symbol for one symbol inside the file.
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | File path or fragment, e.g. `VoxelWorld.cs`. | |
| limit | No | Max symbols to list. | |
| source | No | Source name. Omit when only one source applies. |
repo_overviewARead-onlyIdempotent
Orientation for an unfamiliar codebase: languages by file count, frameworks, manifests, likely entry points, and build/test/run commands. Filesystem scan, no index needed. Call once per session.
| Name | Required | Description | Default |
|---|---|---|---|
| source | No | Source name. Omit when only one source applies. |
searchARead-onlyIdempotent
Hybrid semantic + lexical search over the indexed code and docs. Describe what the code does in plain words ('method that clamps camera zoom'), not an identifier. Returns ranked chunks with file:line, symbol and score; a hybrid score near 0.03 is a strong match. Omit source to search every source at once. outline=true returns signatures only, for cheap triage of broad queries.
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | What the code does, in plain words, not an identifier. | |
| top_k | No | Max results; default from config. | |
| source | No | Source name, list of names, or omit for all sources, fused. | |
| outline | No | Signatures only, no bodies: cheap triage for broad queries. | |
| file_glob | No | Restrict to paths matching this glob, e.g. `*.cs`. | |
| extensions | No | Restrict to these extensions, e.g. ['.cs']. | |
| path_contains | No | Restrict to paths containing this substring. |
update_source_indexAIdempotent
Force a full rebuild of a source's index. Expensive and blocking; the watcher keeps the index current, so use it only after a big merge or a drift warning.
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Rebuild even without new git commits. | |
| source | Yes | Source to rebuild. |
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
16 tool updates
v1.9.0- Changed
deep_search23 fields changed- changed
Input schema / properties / extensions / descriptionPrevious value: -"Restrict results to these file extensions, e.g. `['.cs', '.shader']`."New value: +"Restrict to these extensions, e.g. ['.cs']." - removed
Input schema / properties / extensions / titleRemoved value: -"Extensions" - changed
Input schema / properties / file_glob / descriptionPrevious value: -"fnmatch glob to restrict results by path/filename, e.g. `*.cs` or `**/Editor/*`."New value: +"Restrict to paths matching this glob, e.g. `*.cs`." - removed
Input schema / properties / file_glob / titleRemoved value: -"File Glob" - changed
Input schema / properties / min_results / descriptionPrevious value: -"Override the minimum number of results a variant must return to be considered strong."New value: +"Minimum results for a variant to count as strong." - removed
Input schema / properties / min_results / titleRemoved value: -"Min Results" - changed
Input schema / properties / min_score / descriptionPrevious value: -"Override the weakness threshold: a variant's results must beat this score to count as strong."New value: +"Quality threshold override." - removed
Input schema / properties / min_score / titleRemoved value: -"Min Score" - changed
Input schema / properties / mode / descriptionPrevious value: -"Retrieval mode override (single-source only): 'dense', 'sparse', or 'hybrid'. Defaults to the server's configured mode."New value: +"dense | sparse | hybrid (single source only)." - removed
Input schema / properties / mode / titleRemoved value: -"Mode" - changed
Input schema / properties / path_contains / descriptionPrevious value: -"Keep only results whose file path contains this substring."New value: +"Restrict to paths containing this substring." - removed
Input schema / properties / path_contains / titleRemoved value: -"Path Contains" - changed
Input schema / properties / queries / descriptionPrevious value: -"2-4 genuinely different phrasings of the same need (different angles, not paraphrases), tried in priority order."New value: +"2-4 genuinely different phrasings, tried in order." - removed
Input schema / properties / queries / titleRemoved value: -"Queries" - changed
Input schema / properties / return_all_variants / descriptionPrevious value: -"If true, include per-variant diagnostics in the response (single-source only)."New value: +"Include per-variant diagnostics (single source only)." - removed
Input schema / properties / return_all_variants / titleRemoved value: -"Return All Variants" - changed
Input schema / properties / source / anyOfPrevious value: -[ - { - "type": "string" - }, - { - "type": "null" - } -]New value: +[ + { + "type": "string" + }, + { + "items": { + "type": "string" + }, + "type": "array" + }, + { + "type": "null" + } +] - changed
Input schema / properties / source / descriptionPrevious value: -"Source name from `list_sources`. Omit to use the default: all sources for `search`/`deep_search` (RRF-fused), or the single applicable source for the others."New value: +"Source name, list of names, or omit for all sources, fused." - removed
Input schema / properties / source / titleRemoved value: -"Source" - changed
Input schema / properties / top_k / descriptionPrevious value: -"Maximum number of results to return. Defaults to the configured value."New value: +"Max results; default from config." - removed
Input schema / properties / top_k / titleRemoved value: -"Top K" - removed
Input schema / titleRemoved value: -"_deep_searchArguments" - changed
Output schema / (root)Previous value: -{ - "properties": { - "result": { - "title": "Result", - "type": "string" - } - }, - "required": [ - "result" - ], - "title": "_deep_searchOutput", - "type": "object" -}New value: +null
- Added
describe_symbol - Added
export_graph - Changed
feedback7 fields changed- changed
Input schema / properties / stuck / descriptionPrevious value: -"Where exactly you got blocked, or what was missing."New value: +"Where exactly you got stuck." - removed
Input schema / properties / stuck / titleRemoved value: -"Stuck" - changed
Input schema / properties / tried / descriptionPrevious value: -"Which tools and queries you already tried."New value: +"Tools and queries you already tried." - removed
Input schema / properties / tried / titleRemoved value: -"Tried" - removed
Input schema / properties / trying_to_do / titleRemoved value: -"Trying To Do" - removed
Input schema / titleRemoved value: -"_feedbackArguments" - changed
Output schema / (root)Previous value: -{ - "properties": { - "result": { - "title": "Result", - "type": "string" - } - }, - "required": [ - "result" - ], - "title": "_feedbackOutput", - "type": "object" -}New value: +null
- Added
find_definition - Added
find_similar - Added
find_tests_for - Added
find_usages - Changed
get_rag_status4 fields changed- changed
Input schema / properties / source / descriptionPrevious value: -"Source name to inspect (see `list_sources`). Omit to report the status of every configured source."New value: +"Source to inspect; omit for all." - removed
Input schema / properties / source / titleRemoved value: -"Source" - removed
Input schema / titleRemoved value: -"get_rag_statusArguments" - changed
Output schema / (root)Previous value: -{ - "properties": { - "result": { - "title": "Result", - "type": "string" - } - }, - "required": [ - "result" - ], - "title": "get_rag_statusOutput", - "type": "object" -}New value: +null
- Added
graph_query - Added
impact - Changed
list_sources2 fields changed- removed
Input schema / titleRemoved value: -"list_sourcesArguments" - changed
Output schema / (root)Previous value: -{ - "properties": { - "result": { - "title": "Result", - "type": "string" - } - }, - "required": [ - "result" - ], - "title": "list_sourcesOutput", - "type": "object" -}New value: +null
- Added
module_summary - Added
repo_overview - Changed
search17 fields changed- changed
Input schema / properties / extensions / descriptionPrevious value: -"Restrict results to these file extensions, e.g. `['.cs', '.shader']`."New value: +"Restrict to these extensions, e.g. ['.cs']." - removed
Input schema / properties / extensions / titleRemoved value: -"Extensions" - changed
Input schema / properties / file_glob / descriptionPrevious value: -"fnmatch glob to restrict results by path/filename, e.g. `*.cs` or `**/Editor/*`."New value: +"Restrict to paths matching this glob, e.g. `*.cs`." - removed
Input schema / properties / file_glob / titleRemoved value: -"File Glob" - changed
Input schema / properties / outline / descriptionPrevious value: -"If true, return each hit's signature + first doc line instead of its full body — cheap triage for broad queries or a large top_k. Scan the signatures, then read the one body you need (find_definition, or its file:line). Default false = full bodies, for when you'll use the code right away."New value: +"Signatures only, no bodies: cheap triage for broad queries." - removed
Input schema / properties / outline / titleRemoved value: -"Outline" - changed
Input schema / properties / path_contains / descriptionPrevious value: -"Keep only results whose file path contains this substring."New value: +"Restrict to paths containing this substring." - removed
Input schema / properties / path_contains / titleRemoved value: -"Path Contains" - changed
Input schema / properties / query / descriptionPrevious value: -"Natural-language description of the behavior to find (e.g. 'method that handles player damage calculation'), NOT an identifier — use grep for exact names."New value: +"What the code does, in plain words, not an identifier." - removed
Input schema / properties / query / titleRemoved value: -"Query" - changed
Input schema / properties / source / anyOfPrevious value: -[ - { - "type": "string" - }, - { - "type": "null" - } -]New value: +[ + { + "type": "string" + }, + { + "items": { + "type": "string" + }, + "type": "array" + }, + { + "type": "null" + } +] - changed
Input schema / properties / source / descriptionPrevious value: -"Source name from `list_sources`. Omit to use the default: all sources for `search`/`deep_search` (RRF-fused), or the single applicable source for the others."New value: +"Source name, list of names, or omit for all sources, fused." - removed
Input schema / properties / source / titleRemoved value: -"Source" - changed
Input schema / properties / top_k / descriptionPrevious value: -"Maximum number of results to return. Defaults to the server's configured value."New value: +"Max results; default from config." - removed
Input schema / properties / top_k / titleRemoved value: -"Top K" - removed
Input schema / titleRemoved value: -"_searchArguments" - changed
Output schema / (root)Previous value: -{ - "properties": { - "result": { - "title": "Result", - "type": "string" - } - }, - "required": [ - "result" - ], - "title": "_searchOutput", - "type": "object" -}New value: +null
- Changed
update_source_index6 fields changed- changed
Input schema / properties / force / descriptionPrevious value: -"If true, rebuild even when no new git commits are detected."New value: +"Rebuild even without new git commits." - removed
Input schema / properties / force / titleRemoved value: -"Force" - changed
Input schema / properties / source / descriptionPrevious value: -"Name of the source to rebuild (see `list_sources`)."New value: +"Source to rebuild." - removed
Input schema / properties / source / titleRemoved value: -"Source" - removed
Input schema / titleRemoved value: -"update_source_indexArguments" - changed
Output schema / (root)Previous value: -{ - "properties": { - "result": { - "title": "Result", - "type": "string" - } - }, - "required": [ - "result" - ], - "title": "update_source_indexOutput", - "type": "object" -}New value: +null
1 tool update
v1.7.0- Changed
search1 field changed- added
Input schema / properties / outlineAdded value: +{ + "default": false, + "description": "If true, return each hit's signature + first doc line instead of its full body — cheap triage for broad queries or a large top_k. Scan the signatures, then read the one body you need (find_definition, or its file:line). Default false = full bodies, for when you'll use the code right away.", + "title": "Outline", + "type": "boolean" +}
6 tool updates
v1.5.1- First observed
deep_search - First observed
feedback - First observed
get_rag_status - First observed
list_sources - First observed
search - First observed
update_source_index
TDQS
Scored across 16 tools
Tools mostly have distinct purposes, and the descriptions explicitly cross-reference when to use one versus another (e.g., find_usages vs impact vs describe_symbol). Some overlap exists between search, find_similar, and deep_search, but their scopes are clearly differentiated enough for an agent to select correctly.
Most names use snake_case, but the pattern is inconsistent: some are verb_noun (find_definition, list_sources), some are noun phrases (repo_overview, module_summary), and a few are single words (impact, feedback). This mixed style reduces predictability.
16 tools is slightly above the typical 3-15 range, but the breadth is justified by combining code navigation, semantic search, graph queries, and RAG index management. The count feels reasonable rather than bloated.
The toolset covers the full code understanding workflow: overview, definition, usages, tests, impact, similar code, symbol/module summaries, graph export, search variants, and index lifecycle management. No obvious gaps prevent an agent from accomplishing common navigation and search tasks.
Maintenance
Related MCP Connectors
Self-hosted AI workspace: semantic RAG document search, long-term memory, and AI chat via MCP.
Cloud or self-hosted knowledge for AI agents: hybrid search, reranking, GraphRAG, scoped MCP tools.
An MCP server that gives your AI access to the source code and docs of all public github repos
An MCP server for search and retrieval over a local LanceDB database
Related MCP Servers
- AlicenseAqualityBmaintenanceUnified MCP server: hybrid search + code graph + semantic memory. 10 tools, <350MB RAM, fully local. No API keys.8234 PyPI1MIT
- AlicenseAqualityDmaintenanceMCP server with local vector search for your codebase. Smart indexing, semantic search, Git history — all offline.798 PyPI50MIT
- AlicenseAqualityBmaintenanceLocal MCP server for semantic code search using Tree-sitter AST parsing, local embeddings, and hybrid search; enables indexing and querying codebases entirely offline.7MIT
- AlicenseAqualityDmaintenanceLocal-first MCP server for semantic + keyword hybrid code search. Zero external services, no API keys required.2MIT