Sonde logo

Sonde

Indexes TypeScript, Python, and Swift code into a local SQLite graph for symbol lookup, dependency analysis, and change-impact queries.

Install Sonde

Run the project’s own setup commands, in order.

Setup steps from the project

sonde installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Install
    npm install -g @cheppulabs/sonde
    
  2. 2. Add to your MCP client
    sonde init
    

Overview

sonde MCP server indexes TypeScript, Python, or Swift repositories into a symbol-level graph stored locally in SQLite. It exposes `find_symbols`, `query_graph`, and `get_impact_radius` through MCP, helping agents inspect callers, dependencies, related tests, and likely change impact. Use it when structural code questions matter more than open-ended semantic search, especially when reducing repeated search calls and context usage is important. It runs locally without an account or hosted service.

Use cases

  • Find callers of a function before editing it
  • Trace dependencies across modules
  • Estimate the impact radius of a symbol change
  • Relate implementation symbols to tests
  • Generate architecture documentation from repository structure

Key features

  • Local SQLite symbol graph
  • TypeScript, Python, and Swift indexing
  • Caller and dependency queries
  • Change-impact analysis
  • Tier-labelled relationship resolution
  • Generated architecture documentation

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

14/14 checks healthy over the last 74d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars4Stargazers on the source repository.
Last commit15d agoMost recent push to the default branch.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Sonde works

What sonde does

sonde builds a local graph of repository symbols and their relationships for TypeScript, Python, and Swift code. The graph supports questions such as which functions call a symbol, which modules depend on it, what may be affected by a change, and which tests are connected to it. Its three MCP tools are find_symbols, query_graph, and get_impact_radius.

The index is stored in SQLite and is used by an MCP server launched against the project directory. Source returned with a response is re-read and re-hashed for the indexed byte range, so responses do not return stale source bytes. Structural drift is reported rather than hidden.

How it works

The default indexing path uses tree-sitter. With --resolve, Sonde can use the TypeScript compiler for TypeScript and pyright for Python to produce compiler-resolved edges. Relationships are labelled by how they were found: COMPILER, LEXICAL, HEURISTIC, EXTERNAL, or UNRESOLVED. Unresolved references are not assigned guessed targets.

The graph can also produce an ARCHITECTURE.md file describing repository modules, dependencies, and exposed elements. sonde doc --stdout prints the result, sonde doc --check checks whether it is current, and sonde doc --module provides symbol-level detail for a selected module. Generated documentation records the commit it describes and warns when files have changed.

Setup and configuration

Install the package globally, change to the repository you want to index, and initialize it:

Terminal
npm install -g @cheppulabs/sonde
cd your-project
sonde init

Initialization indexes the repository and adds the server to the project’s .mcp.json, asking for confirmation before writing. Use sonde init --yes to skip that prompt. For Python repositories, use sonde init --resolve to enable the compiler-resolution path.

You can perform the steps separately with sonde index ., then configure the MCP server as:

config.json
{
  "mcpServers": {
    "sonde": {
      "command": "sonde",
      "args": ["mcp", "serve", "."]
    }
  }
}

Initialization does not overwrite a conflicting existing sonde entry in .mcp.json. No account or hosted service is needed.

Tools and capabilities

  • find_symbols locates symbols in the indexed repository.
  • query_graph retrieves structural relationships from the symbol graph.
  • get_impact_radius examines the code likely affected by a symbol or change.
  • sonde status reports index drift and the distribution of resolution tiers.
  • sonde doc generates architecture documentation from graph data.
  • sonde doc --check supports freshness checks in CI.

Limitations and notes

Sonde is designed for structural questions. Queries based on behavior or vocabulary absent from the code’s shared symbols, such as locating where retry backoff is decided, are not its supported strength; an agentic search loop may be a better choice for those tasks.

The architecture diagram intentionally shows only the heaviest dependencies and reports omitted relationships. It excludes relationships inferred only from shared symbol names, and --module can expose more detail. Generated ARCHITECTURE.md files should be regenerated rather than edited manually, and Sonde will not overwrite one it did not generate.

The published benchmark reports full structural-task recall on its tested production TypeScript repository while using fewer calls and fewer context tokens than the compared search loop. Those measurements are benchmark-specific rather than a guarantee for every codebase.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Sonde

sonde is an MCP server that connects AI coding agents to a local SQLite graph of TypeScript, Python, or Swift repositories. Its main tools—`find_symbols`, `query_graph`, and `get_impact_radius`—locate symbols, inspect structural relationships, and estimate which code may be affected by a change, without requiring a hosted service.

Install it globally with `npm install -g @cheppulabs/sonde`, then run `sonde init` from the repository root. Initialization indexes the project and registers sonde in `.mcp.json`; use `sonde init --yes` to skip the confirmation prompt.

Run `sonde init --resolve` in the Python repository. This enables the resolution path that uses pyright for Python; the default tree-sitter path did not pass the project’s placement gate for structural queries.

Sonde answers structural questions about symbols and their relationships. Its tools can help identify callers, query graph connections, estimate the impact radius of a change, and relate implementation code to tests.

Run `sonde status` to view structural drift and the distribution of resolution tiers. Generated architecture documentation also records the commit it describes and warns when repository files have changed.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewSonde AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/sonde?style=directory)](https://allmcps.com/mcp/sonde)
HTML Embed
<a href="https://allmcps.com/mcp/sonde"><img src="https://allmcps.com/api/badge/sonde?style=directory" alt="Sonde on AllMCPs" /></a>