sqry

MCP.Pizza Chef: verivus-oss

sqry lets you deeply explore and analyze source code structure on your own computer. It works inside VS Code and other MCP-enabled apps to answer complex questions about functions, calls, and symbols across many programming languages. You can find callers, visualize call paths, detect unused code, and get detailed reports—all without sending your code anywhere. Setup is simple with one-click installers or Homebrew.

Coding
Other

Use This MCP server To

Explore and understand unfamiliar codebases Find all callers or callees of a function Identify unused or duplicate code symbols Visualize code relationships as graphs Run complex queries on code structure Analyze cross-language function calls Generate reports on code complexity and hotspots

README

sqry

MCP Registry crates.io License: MIT

sqry is a local semantic code search tool. It parses source code into AST-backed symbol and relationship graphs so you can ask code questions that text search cannot answer reliably.

Everything runs on your machine. Indexing and querying make no network calls, and sqry sends no telemetry.

Website: https://sqry.dev

Current Capabilities

  • 37 language plugins, 28 with full relation support and 9 with symbol extraction plus imports. By build cost, 29 are on the default fast path, json is compiled but excluded by default as high-wall-clock, and 7 specialty plugins sit behind Cargo features. The sqry://meta/manifest MCP resource reports these counts for the binary you have installed.
  • Structural queries over symbol kind, language, visibility, names, return types, references, and relations.
  • Graph analysis for callers, callees, imports, exports, call paths, cycles, unused symbols, duplicates, impact, semantic diff, and focused subgraphs.
  • Edge-backed returns:<TypeName> and resolution-aware resolved_via:<kind> predicates for supported graph paths. See Call resolution predicates.
  • Cross-language FFI edges. The C, C++, C#, Elixir, Haskell, Kotlin, Lua, PHP, R, Ruby, and Rust plugins emit FfiCall edges from mechanisms such as extern "C", DllImport / P/Invoke, JNI, Ruby FFI attach_function, and R .Call / Rcpp. Query them with sqry graph cross-language or the cross_language_edges MCP tool.
  • Structural shape matching with sqry shape-match, which finds functions with similar body structure independently of their identifiers.
  • A declarative rule layer. sqry rules run executes shipped rule IDs and packs, or your own TOML rule packs, against the graph; the rules_run MCP tool exposes the same engine.
  • Go context propagation analysis (sqry context-propagation) for call sites that drop context.Context.
  • Rust macro-boundary analysis: sqry cache expand builds a macro expansion cache, --expand-cache materializes macro-generated symbols as searchable nodes, and --cfg marks #[cfg]-gated symbols active or inactive. Both index-path options are execution-free.
  • Visualization and export as Mermaid, Graphviz DOT, or D2 (sqry visualize, sqry export).
  • An interactive shell (sqry shell) and batch runner (sqry batch) that keep the session cache warm across many queries.
  • Incremental indexing with sqry update and sqry watch.
  • Workspace-aware indexing through .sqry-workspace registries and VS Code .code-workspace sqry.workspace blocks.
  • Daemon-backed shared graph loading through sqryd for editor, MCP, and repeated-agent workflows.
  • One-shot repository orientation with sqry overview (and the matching generate_overview MCP tool for agents): a single report of the load-bearing hubs, path/package subsystems, complexity hotspots, potential issues, and ready-to-run follow-up queries.
  • MCP integration for AI assistants. Standalone sqry-mcp currently exposes 39 tools; daemon-hosted MCP exposes a 17-tool subset. Use tools/list, sqry-mcp --list-tools, or sqry://meta/manifest as the authoritative catalog.
  • LSP and VS Code extension support for editor workflows.

When To Use sqry

Use sqry when you need structural answers:

sqry FAQ

Can I use sqry to search and analyze code structure in my projects?
Yes — sqry lets you ask detailed questions about your code’s symbols, calls, and relationships beyond simple text search.
Can I use sqry inside VS Code?
Yes — sqry integrates with VS Code as an MCP server, enabling semantic code search within the editor.
Do I need an API key or account to use sqry?
No — sqry runs entirely on your machine without network calls or telemetry, so no keys or accounts are needed.
How hard is it to set up sqry?
It’s one-click — you can install it easily using provided scripts or Homebrew without complex configuration.
Does sqry support multiple programming languages?
Yes — it supports 37 languages with detailed symbol and relation analysis for many of them.
Can sqry help me understand unfamiliar codebases?
Yes — it provides overview reports and lets you explore call paths, unused symbols, and complexity hotspots.
Is sqry suitable for simple text searches?
No — for simple text search, tools like ripgrep are better; sqry focuses on semantic and structural code queries.