# Sense [Health: Active]

**Category:** 🧬 Biology & Bioinformatics  
**Repository:** https://github.com/luuuc/sense  
**GitHub Stars:** 49  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/sense

## Description
Codebase understanding for AI coding agents — symbol graph, blast radius, semantic search.

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/luuuc/sense), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Install:

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

2. Add to your MCP client:

```sh
cd /path/to/project && sense setup
```

3. Add to your MCP client:

```sh
sense setup
```

## Documentation

## 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:

```bash
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.

_Full upstream README: https://allmcps.com/mcp/sense/readme_

