# inth3shadows/runecho [Health: Active]

**Category:** 💻 Developer Tools  
**Repository:** https://github.com/inth3shadows/runecho  
**GitHub Stars:** 2  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/inth3shadows-runecho

## Description
Deterministic symbol oracle over a locally built index of the repo: whether a symbol exists, what a file declares, and what changed structurally since the last snapshot. Ships with a PreToolUse guard that stops an Edit/Write referencing a function, constant or type the repo does not declare, before the write lands. No LLM, no API keys, no network — the same code produces the same answer. Parsers for Go, Python, JS/TS, Rust, Ruby and shell. bash install.sh

## 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/inth3shadows/runecho), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Install:

```sh
bash install.sh
```

2. Install:

```sh
TAG=$(curl -fsSLo /dev/null -w '%{url_effective}' https://github.com/inth3shadows/runecho/releases/latest); TAG=${TAG##*/}; NUM=${TAG#v}
```

3. Install:

```sh
curl -fsSL "https://github.com/inth3shadows/runecho/releases/download/${TAG}/runecho_${NUM}_darwin_arm64.tar.gz" | tar -xz
```

4. Install:

```sh
install -m755 runecho-ir runecho-mcp runecho-guard ~/.local/bin/
```

5. Configure:

```sh
runecho-ir install --periodic   # optional, run inside the checkout: hourly reindex that also keeps the binaries at the newest release
```

6. Configure:

```sh
runecho-ir repo add /path/to/worktree --source-root=/path/to/source
```

## Documentation

## What inth3shadows/runecho does

inth3shadows/runecho provides a local source of truth for repository structure. It parses supported source files into a compact intermediate representation containing file hashes and declarations such as functions, classes, exports, and imports. A deterministic root hash makes structural change detection a comparison rather than a semantic guess.

The project has three command-line components. `runecho-ir` enrolls repositories, creates indexes and snapshots, and inspects diffs or churn. `runecho-mcp` serves read-only repository queries over MCP. `runecho-guard` checks proposed code for references to symbols absent from the indexed repository.

## How it works

The parser reads source files and stores snapshots in a central history database under `~/.runecho/` by default. Enrolled repositories receive stable identities, allowing snapshots from the same or different points in a repository's history to be compared. Structural changes are represented through hashes and diffs rather than generated summaries.

The MCP component communicates over stdio and gives an agent access to `structure`, `diff`, `hash`, `status`, `health`, and `locate`. The `locate` operation maps a symbol name to its file and line, while the other operations expose repository structure, snapshot differences, hashes, and indexing state.

The guard can run as a git pre-commit hook, as a Claude Code `PreToolUse` hook, or in `--protocol` mode. In hook mode it checks edits before they are written and can flag bare calls, constants, and type references that are not present in the indexed code. Protocol mode accepts an edit on standard input and emits a versioned verdict document on standard output.

## Setup and configuration

Prebuilt releases are self-contained and require no runtime or external service. Download the archive for the operating system and CPU architecture, then place `runecho-ir`, `runecho-mcp`, and `runecho-guard` on the executable path. The project also supports `bash install.sh`; building from source requires Go 1.26 or newer.

RunEcho supports Windows, macOS, and Linux, with a POSIX or Windows shell. It uses `~/.runecho/` for storage by default and requires no API keys or network service.

## Tools and capabilities

Supported parsers cover Go, JavaScript, TypeScript, JSX, TSX, Google Apps Script, Python, shell scripts, Rust, and Ruby. Parsing is intentionally shallow and deterministic: it focuses on top-level structure instead of full semantic analysis.

The MCP surface is read-only. The guard is the write-adjacent component, operating before an edit or commit rather than modifying source itself. Its checks are limited to unqualified references; resolving expressions such as receiver-qualified calls requires type information outside its scope.

## Limitations and notes

RunEcho is a focused verification layer, not a general semantic search or full codebase exploration system. It does not replace tests, review, a compiler, or a language server. Qualified references such as calls through an object or module receiver are outside the guard's designed scope, and the parser does not perform complete semantic analysis.

A warning can be premature when an agent writes a caller before the referenced symbol is added. Approvals are therefore still possible for legitimate new, local, dynamic, or intentionally removed symbols. The tool is most suitable when deterministic structural checks are useful alongside broader development validation.

_Full upstream README: https://allmcps.com/mcp/inth3shadows-runecho/readme_

