Skip to content
MCP server

MIMRY

Rank the files and lines a coding task touches so an agent reads less

Runs locallyStatus and history
Install
Pricing
Free
Platforms
CLI, macOS, Windows
Runs
Locally
Version
0.9.0
Listing updated
3 days ago

About MIMRY

MIMRY is a free MCP server for developer tools. It runs locally on your machine and is started by your AI client.

Rather than listing every file that mentions a word, MIMRY ranks the few to read first and says why, such as name or path matches and connections to other hits. For a task described in plain words it returns the files plus the line ranges inside them, and writes a Markdown context pack with symbols, relationships and test commands.

It builds a deterministic index and dependency graph with tree-sitter across 41 languages, with no LLM in the indexing step. The site says code is not uploaded, there are no remote embeddings and no telemetry, and credential files are skipped. Agents can also record which files helped so similar tasks rank them higher later.

The project's own benchmark, on 44 merged pull requests from 6 open-source projects, reports 71 percent fewer tokens than keyword search, and the authors note this measures retrieval, not guaranteed savings. Install with uv tool install mimry, then connect Claude Code, Codex or another agent.

Install

Run in a terminal

claude mcp add mimry -- uvx mimry

Add to claude_desktop_config.json

{
  "mcpServers": {
    "mimry": {
      "command": "uvx",
      "args": [
        "mimry"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "mimry": {
      "command": "uvx",
      "args": [
        "mimry"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "mimry": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mimry"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mimry": {
      "command": "uvx",
      "args": [
        "mimry"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "mimry": {
      "command": "uvx",
      "args": [
        "mimry"
      ]
    }
  }
}

What it does

Ranked file lists
Returns the files and lines to read first, with reasons.
Context packs
Writes a Markdown handoff with symbols, relationships and reading order.
Dependency graph
Maps imports, calls, definitions and references across 41 languages.
Learns from usage
Records opened and changed files to improve later rankings.
Local only
No code upload, remote embeddings or telemetry.
Agent installers
Installs into Claude Code and other agents with hooks.

Good for

  • Point an agent at the right files for a bug report
  • Cut tokens spent exploring a large repository
  • Produce a reading order before a code change
  • Diagnose why an index is stale after renames

Pricing

Free

Free local CLI and MCP server

Prices change. Check jbacalso24.github.io before you buy.

MIMRY FAQ

Does my code leave my machine?

No, the site says no code upload, remote embeddings or telemetry.

How do I install it?

Run uv tool install mimry; it needs Python 3.11 or newer.

How good is the retrieval?

The site reports recall@5 of 0.94 on a 9-case benchmark and 71 percent fewer tokens on a scripted 44-task test.

Which agents does it support?

Claude Code and Codex, among others via mimry install.

Is it free?

The site calls it a free, local CLI and MCP server.

Is MIMRY free?

Yes. MIMRY is free to use.

How do I add MIMRY to Claude Code?

Run this command in your terminal: claude mcp add mimry -- uvx mimry

What are the best alternatives to MIMRY?

The closest alternatives to MIMRY are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

Alternatives to MIMRY

  1. REA

    MCP server

    CLI and MCP server that lets coding agents reverse engineer apps and binaries

    Runs locally
    • Open source
    • 464K GitHub stars
    • Developer tools
  2. Codebase Memory

    MCP server

    Local MCP server that builds a code knowledge graph for AI coding agents

    Runs locally
    • Open source
    • 48.7K GitHub stars
    • Knowledge and memory
  3. GitHub

    MCP server

    Official MCP server connecting AI assistants to GitHub repos, issues and workflows

    Not checked yet
    • Remote
    • Open source
    • 34.5K GitHub stars
    • Developer tools
  4. MCP toolkit giving coding agents symbol-level code retrieval and editing

    Runs locally
    • Open source
    • 31.5K GitHub stars
    • Developer tools
  5. XERJ

    MCP server

    Local search engine for AI agents with cited answers over your code and docs

    Runs locally
    • Open source
    • 19.2K GitHub stars
    • Knowledge and memory
  6. Ouroboros

    MCP server

    Spec-first layer that pins requirements and verifies results of AI coding agent work

    Runs locally
    • Open source
    • 6.4K GitHub stars
    • Developer tools