MIMRY logo

MIMRY

Indexes local repositories to rank relevant files, symbols, lines, and dependencies for coding tasks through CLI and MCP tools.

Install MIMRY

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

Setup steps from the project

MIMRY 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
    uv tool install mimry
    

Overview

MIMRY indexes a local repository into symbols and a dependency graph, then ranks the files and lines most relevant to a plain-language coding task. Its CLI provides commands for preflight retrieval, file search, symbol lookup, and caller discovery, while the MCP server exposes these lookups to coding agents. Indexing is deterministic, incremental, and performed locally without an LLM, API key, or telemetry. Reach for MIMRY when an agent needs focused repository context instead of reading a broad set of files.

Use cases

  • Rank files before investigating a repository task
  • Find definitions and callers for a symbol
  • Generate a focused context pack for an agent
  • Index source code and project documents locally

Key features

  • Task-based file and line ranking
  • Tree-sitter code graph across 41 languages
  • Incremental local indexing
  • Symbol and caller lookup
  • Context pack generation
  • MCP and CLI access

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.

12/12 checks healthy over the last 47d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 11d ago via OSV.dev

Adoption & maintenance

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

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

How MIMRY works

What MIMRY does

MIMRY helps coding agents identify the repository files and code regions most likely to matter for a task. It analyzes source files into symbols, imports, calls, and other relationships, then uses those relationships with task-language matches to rank relevant files. Results include suggested line ranges and related symbols, giving an agent a smaller starting set for investigation.

The tool also creates a context pack at .mimry/mimry-out/context/latest.md. That file records the selected symbols and files along with related project information such as available test commands. MIMRY can analyze programming languages, stylesheets, markup, SQL, configuration and build files, and several document formats. For structured data files, it indexes keys and names rather than values.

How it works

The repository index is stored locally. Tree-sitter grammars support parsing across 41 languages, and the first run downloads the grammars required by the project. Subsequent indexing is incremental, so unchanged files do not need to be read again. The same source produces the same graph, rankings, and context pack across Windows, Linux, and macOS.

A typical workflow starts with mimry preflight "<task>", which ranks files and identifies lines to read first. mimry find ranks files for a query, mimry symbol locates a function, class, or heading, and mimry callers lists functions that call a selected function. Agents can invoke the same lookup capabilities through the MCP server or use the command line directly.

MIMRY can also use feedback from earlier tasks to rank files that proved useful for similar work more highly. Optional embeddings support search by meaning.

Setup and configuration

Install Python 3.11 or newer on Windows, Linux, or macOS, then install the package with:

bash
uv tool install mimry

In a repository, run a preflight query to build the initial index and verify the result with mimry doctor. Use mimry install --platform <name> to register the skill and MCP server for supported agents. Claude Code can instead use its marketplace plugin commands. MIMRY can also be installed through pipx, a virtual environment, Docker, or its Claude Code plugin.

For Claude Code, installation can add hooks that direct the agent toward MIMRY; --no-hooks omits them. Project installation with --always-on adds MIMRY rules to the agent's always-read file. Run mimry upgrade to update the installation.

Tools and capabilities

  • Rank files and show relevant lines for a task.
  • Build a code graph from symbols, imports, calls, and related structures.
  • Locate definitions for functions, classes, and headings.
  • List callers of a function.
  • Index Markdown, PDF, Word, Excel, and PowerPoint documents.
  • Produce local context packs for coding agents.
  • Expose lookup operations through MCP.

Limitations and notes

MIMRY requires Python 3.11 or newer. The first indexing run downloads the needed tree-sitter grammars. MCP registration differs by agent: some platforms support automatic setup, while others require manual configuration, and some only receive the MIMRY skill because they do not support MCP. MIMRY is local and does not require an LLM, API key, or telemetry.

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 MIMRY

MIMRY is an MCP server that connects coding agents to a local repository index and code graph. Its main tools rank files and relevant lines for tasks, find symbols, list callers, and produce focused context packs. It runs locally, uses deterministic indexing, and requires no LLM, API key, or telemetry.

Install Python 3.11+ and run `uv tool install mimry`, then use `mimry install --platform <name>` for a supported agent. In a repository, run `mimry preflight "<task>"` to build the initial index. Some agents require manual MCP registration.

Yes, MIMRY supports Cursor through `mimry install --platform cursor`, which installs its skill and registers the MCP server. The server can then provide repository lookup results for coding tasks.

Yes, MIMRY keeps its index on the local machine and performs deterministic analysis without an LLM or API key. The first run downloads the tree-sitter grammars required for the repository.

MIMRY indexes code, stylesheets, markup, SQL, configuration, build files, and documents. It supports 41 tree-sitter languages and can read formats including Markdown, PDF, DOCX, XLSX, and PPTX; for structured data, it indexes keys and names rather than values.

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