Rune logo

Rune

Evidence-traced codebase analysis and security findings with cited file-and-line results over MCP.

Install Rune

Pick your client, then add it in one click or paste the config.

No confirmed install command yet

We only publish a config when the install details come from the project itself — its README, its docs, or a verified owner. We haven’t found those for rune, and we’d rather show nothing than a guess you’d paste into your client.

Open setup steps on GitHub

Overview

The rune MCP server scans software projects into an evidence graph, then exposes code understanding and security analysis through MCP tools. Findings include source file, line, snippet, confidence, and citations that an AI client can use to explain results. Reach for it when agents need read-only answers about a JavaScript or TypeScript codebase, dependency risks, routes, or project structure. It can also use a configured model for deeper investigation, while MCP tool calls do not require a separate model key.

Use cases

  • Ask agents how routes, imports, or components work
  • Trace findings back to exact source lines
  • Scan projects for secrets and dependency issues
  • Check stored facts for codebase drift
  • Expose project analysis to an MCP client

Key features

  • Evidence graph with file-and-line citations
  • Read-only codebase analysis
  • Security findings for secrets, shell use, workflows, and dependencies
  • MCP tools for search, explanation, verification, and route listing
  • Optional model-backed explanations with citation checks
  • Project scanning and file-change monitoring

Security & health

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

ActiveLast checked 2d ago

Recent health check succeeded.

8/8 checks healthy over the last 50d

Adoption & maintenance

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

GitHub stars10Stargazers on the source repository.
Last commit1mo agoMost recent push to the default branch.

How Rune works

What rune does

The rune MCP server analyzes a project without changing its files. It parses supported source files into facts, records where each fact came from, and builds conclusions that retain links to those facts. Questions return ranked findings with file-and-line citations, snippets, and confidence information.

The analysis covers JavaScript and TypeScript constructs such as imports, calls, React components and hooks, Express routes, Next.js routes, and Vue components. It also handles shell, Lua, TOML, YAML, JSON, and Markdown. Security checks include hardcoded secrets, risky shell execution, GitHub Actions workflow issues, and dependency issues.

The server stores scan data in a .rune/ directory inside the project. Its operation is read-only: it observes and reports on the codebase rather than modifying project files.

How it works

An initial scan creates the project graph. Each recorded fact includes a source path, line number, code excerpt, and confidence level. Derived conclusions reference the fact identifiers that support them. When a question arrives, Rune retrieves relevant facts, forms and ranks hypotheses, and checks those hypotheses against the current files.

The rune_agent tool first performs a no-model triage pass. That pass decides whether the retrieved evidence is sufficient or whether the question needs deeper reasoning. A deeper pass can be enabled with deep: true, or forced with force: true; this is the part that may call a configured language model.

For model-written explanations, Rune sends only the evidence selected for the question, limited to as many as 40 short code snippets. It verifies each generated statement against the retrieved material and removes unsupported, uncited, or incorrectly quoted statements. This checks grounding against the supplied evidence, not whether the model interpreted that evidence correctly.

Setup and configuration

Install on Linux x64 or macOS Apple Silicon with the project’s install script. Windows users can download the Windows x64 executable from the latest release. The installer verifies a SHA-256 checksum and places the binary in ~/.local/bin.

Start the MCP endpoint by configuring a client with the executable and the serve command, followed by an absolute project path. A typical configuration uses rune serve /absolute/path/to/your-project.

The rune MCP server does not require a model key for MCP tool calls because the connected client supplies its own model. Command-line explanations can use Anthropic, OpenAI, an OpenAI-compatible endpoint, or Ollama. Relevant settings include ANTHROPIC_API_KEY, OPENAI_API_KEY, RUNE_LLM_BASE_URL, RUNE_LLM_MODEL, and RUNE_LLM_DEBUG. Use evidence-only mode or a local model when code should not be sent to an external provider.

Tools and capabilities

The MCP interface provides 13 tools. Named examples include:

  • rune_agent for evidence-based agent investigations
  • rune_search for searching project knowledge
  • rune_explain for tracing a fact to its supporting evidence
  • rune_verify_fact for checking an individual fact
  • rune_check_drift for identifying changes since scanning
  • rune_list_routes for route information
  • rune_get_security_findings for security results

The command-line interface also supports scanning or rebuilding the graph, watching files for changes, serving MCP, explaining fact IDs, verifying stored facts, and maintaining project notes or experience logs.

Limitations and notes

Results are strongest for JavaScript, TypeScript, shell, Lua, and configuration formats. Other programming languages currently receive thinner analysis. The graph can become stale after files change; use the watch or verify functionality, or rescan the project.

Add .rune/ to .gitignore if the generated scan data should remain local. Binaries are unsigned, and there are no prebuilt binaries for Intel Macs or Linux ARM. Model explanations depend on the selected model and may still misread correctly retrieved evidence. The server currently understands software projects; support for other source types is planned rather than available now.

Reviews

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

Frequently Asked Questions about Rune

rune is an MCP server that connects AI clients to a local software project’s evidence graph and exposes tools such as rune_agent, rune_search, rune_explain, rune_verify_fact, rune_check_drift, rune_list_routes, and rune_get_security_findings. It returns code and security findings with file, line, snippet, confidence, and citation details.

Install it with the provided shell script on Linux x64 or macOS Apple Silicon, or download the Windows x64 executable from the latest release. The installer verifies a SHA-256 checksum and places the binary in ~/.local/bin.

Configure the client to run `rune serve` with an absolute project path, such as `rune serve /absolute/path/to/your-project`. The README also provides `.mcpb` bundles for Claude Desktop, though those bundles have not been tested there.

Yes, MCP tool calls work without a model key because the connected client supplies its own model. For command-line explanations, use a configured provider, a local Ollama model, or evidence-only mode.

It works best with JavaScript and TypeScript, including several framework patterns, and also understands shell, Lua, TOML, YAML, JSON, and Markdown. Other programming languages may produce thinner results.

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