Sense logo

Sense

Indexes local codebases and exposes symbol graphs, semantic search, blast-radius analysis, and conventions over MCP.

Install Sense

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

Setup steps from the project

Sense 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
    curl -fsSL https://luuuc.github.io/sense/install.sh | sh
    
  2. 2. Add to your MCP client
    cd /path/to/project && sense setup
    
  3. 3. Add to your MCP client
    sense setup
    

Overview

Sense MCP server gives AI coding agents structural context about a local repository through four read-only MCP tools. It parses code with tree-sitter, builds a local symbol and relationship index, and uses a bundled ONNX model for semantic search. Reach for Sense when an agent needs callers, callees, affected tests, dead code, or project-specific coding conventions rather than plain text matches. The binary runs locally without a SaaS account, API key, or cloud dependency.

Use cases

  • Trace callers and callees before editing a symbol
  • Assess a change’s blast radius and affected tests
  • Search code by meaning as well as keywords
  • Inspect project conventions before generating code
  • Identify possible dead code and central symbols

Key features

  • Local tree-sitter code indexing
  • Symbol and dependency graph queries
  • Hybrid semantic and keyword code search
  • Blast-radius analysis with risk scoring
  • Detected project conventions
  • Incremental background re-indexing

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.

13/13 checks healthy over the last 60d

Adoption & maintenance

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

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

How Sense works

What Sense does

Sense turns a local codebase into an index that AI coding agents can query through MCP. The index contains symbols such as functions, classes, modules, and methods, along with relationships including calls, imports, and inheritance. It also records project conventions and supports semantic code retrieval.

The server exposes four read-only tools:

  • sense_graph examines symbol relationships, including callers, callees, inheritance, tests, and potential dead code.
  • sense_search combines bi-encoder and cross-encoder retrieval with keyword search and a text-search fallback.
  • sense_blast identifies affected code and tests and returns a risk score for a change.
  • sense_conventions reports patterns detected from the source, including key types, declarations, framework idioms, architectural layers, and naming conventions.

Sense is aimed at structural code-understanding tasks. It can reduce the need for an agent to inspect long chains of files when tracing dependencies or evaluating a change. For simple string or log-message searches, ordinary grep remains the more suitable approach.

How it works

Run sense scan from a project directory. Sense parses the repository with tree-sitter, extracts symbols and relationships, creates embeddings with a bundled ONNX model, and stores the result in a local .sense/ directory. Scans are incremental, so later runs update the existing index rather than rebuilding everything from scratch.

The configured MCP process watches the working tree and re-indexes changes in the background. This covers edits made by an agent or editor, pulls, and branch switches. Each scan also regenerates .sense/summary.md, which provides a cold-start map containing items such as top namespaces, hub symbols, entry points, and conventions.

Setup and configuration

Install the binary with the project’s shell installer:

Terminal
curl -fsSL https://luuuc.github.io/sense/install.sh | sh

Alternatively, download an archive for the target operating system from the project’s latest release, place the sense binary on PATH, or install it with Go 1.26 or newer:

bash
go install github.com/luuuc/sense/cmd/sense@latest

From the repository root, create or update the index and MCP configuration:

bash
cd /path/to/project && sense scan
cd /path/to/project && sense setup

The setup command detects Claude Code, Cursor, Codex CLI, OpenCode, Windsurf, and Cline. It writes the appropriate MCP configuration for detected tools and can generate agent guidance, Claude lifecycle hooks, and workflow skills. Windsurf and Cline use global MCP settings, so setup prints the server entry for those clients to add manually. Run sense setup again after upgrading to reconfigure the integration.

Tools and capabilities

Sense keeps the MCP surface deliberately small: graph inspection, hybrid search, impact analysis, and convention detection. Graph queries help answer relationship questions such as who calls a symbol or what inherits from it. Blast-radius queries combine affected implementation code, affected tests, and a risk score. Convention results help an agent inspect how the repository expresses types, layers, framework patterns, and names before modifying it.

The service is local and read-only. It does not require an account, API key, or cloud service. Release artifacts include signed checksum files and build provenance attestations that can be verified with Sigstore tooling.

Limitations and notes

Sense is designed for structural understanding, not as a replacement for general-purpose text search. Searching for an exact string, log message, or literal may be better handled by grep; Sense’s ripgrep-based text fallback only covers part of that use case. The index is stored inside the project’s .sense/ directory, and the server depends on scanning the repository before its graph and search tools can provide context.

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 Sense

Sense is an MCP server that connects AI coding agents to a local codebase index. Its main tools query symbol relationships, perform hybrid semantic and keyword code search, calculate blast radius and affected tests, and report detected project conventions. It runs locally, is read-only, and requires no SaaS account, API key, or cloud service.

Install Sense with its shell installer, a binary from the latest release, or Go 1.26+ using `go install github.com/luuuc/sense/cmd/sense@latest`. After installation, put the binary on `PATH`, run `sense scan` in the repository, and run `sense setup` to configure detected AI tools.

Run `cd /path/to/project && sense scan` from the repository directory. Sense parses the code with tree-sitter, extracts symbols and relationships, creates embeddings with its bundled ONNX model, and writes an incremental local index under `.sense/`.

Yes, Sense can configure Cursor through `sense setup`. The command detects Cursor and writes its MCP server entry to `.cursor/mcp.json`, along with project guidance such as `.cursorrules` when applicable.

Yes, Sense setup detects Claude Code, Codex CLI, Windsurf, and Cline. It writes configuration for the detected tool; Windsurf and Cline use global MCP settings, so setup prints the entry to add manually for those clients.

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 PreviewSense AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/sense?style=directory)](https://allmcps.com/mcp/sense)
HTML Embed
<a href="https://allmcps.com/mcp/sense"><img src="https://allmcps.com/api/badge/sense?style=directory" alt="Sense on AllMCPs" /></a>