Lupa — local file search for your Mac logo

Lupa — local file search for your Mac

Search indexed Mac files by name or document text through MCP, then retrieve extracted text without opening the originals.

Install Lupa — local file search for your Mac

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

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "lupa-local-file-search-for-your-mac": {
      "command": "npx",
      "args": [
        "-y",
        "lupa-mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

We couldn’t confirm it starts correctly

The install command didn't complete successfully in our automated test.

npx -y lupa-mcp

major version of npm available! 10.1.0 -> 12.2.0 npm notice Changelog: <https://github.com/npm/cli/releases/tag/v12.2.0> npm notice Run `npm install -g npm@12.2.0` to update! npm notice npm ERR! code EBADPLATFORM npm ERR! notsup Unsupported platform for lupa-mcp@0.3.0: wanted {"os":"darwin"} (current: {"os":"linux"}) npm ERR! notsup Valid os: darwin npm ERR! notsup Actual os: linux npm ERR! A complete log of this run can be found in: /home/user/.npm/_logs/2026-10-20T11_37_48_463Z-debug-0.log

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

Lupa — local file search for your Mac MCP server connects AI agents to Lupa's local macOS index for filename and full-text searches. It exposes `lupa_search` for ranked paths and snippets, plus `lupa_read` for text Lupa has already extracted from a file. The index supports PDFs, Office files, HWP/HWPX, plain text, and OCR-processed scanned PDFs, with Korean-aware matching. Use it when an agent needs document discovery and text retrieval without direct filesystem access or network requests.

Use cases

  • Search contracts for clauses and matching passages
  • Find Korean documents using partial-word queries
  • Retrieve extracted text from PDFs and Office files
  • Locate files by date, size, type, or folder
  • Inspect scanned PDFs through OCR-indexed content

Key features

  • Filename and document-content search
  • Korean- and Chinese-aware query syntax
  • OCR-aware scanned PDF search
  • Extracted text retrieval with lupa_read
  • Local tamper-evident audit logging
  • No API key or account required

Tools2

What Lupa — local file search for your Mac lets your agent do. Expand a tool for its parameters.

Self-reported~27 tokens of context

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.

13/13 checks healthy over the last 63d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 16d ago via OSV.dev · lupa-mcp (npm)

Adoption & maintenance

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

npm downloads392Package downloads in the last 30 days.
Last commit17d agoMost recent push to the default branch.
Install checkInconclusiveInstall command did not finish in our automated test.
Tools exposed2Callable tools this server registers over MCP.
Directory activity2 viewsConfig copies, upvotes, and views on AllMCPs.

How Lupa — local file search for your Mac works

What Lupa — local file search for your Mac MCP server does

Lupa — local file search for your Mac MCP server gives an MCP-compatible agent access to the index maintained by the Lupa macOS app. It can search filenames, folder paths, and text extracted from documents. Results include ranked paths and optional matching snippets, so an agent can locate a relevant file before requesting its contents.

Supported material includes PDF, Word, Excel, PowerPoint, plain-text documents, HWP/HWPX files, and scanned PDFs processed with OCR. Queries can also filter by file type, extension, size, date, path, exact phrase, included words, and excluded words. Korean and Chinese query prefixes are supported, and Korean matching handles partial words and attached particles.

How it works

The MCP process passes requests to Lupa's bundled command-line search tool. Lupa answers from its local index rather than creating a separate index for this server. Search is intended to be quick on a large disk because the index already exists; the README reports typical responses around 30 ms.

lupa_search accepts a query, result limit, a filename-only mode, and a snippet length. lupa_read takes an absolute path returned by search and returns text that Lupa has extracted already. This can avoid asking the agent to open or parse the original file, including formats the agent may not handle directly. lupa_read requires Lupa 2.0 or newer.

Setup and configuration

Install Lupa from the Mac App Store, open it, add the folders that should be searchable, and wait for indexing to finish. Then register the server with an MCP client using npx -y lupa-mcp. Claude Code can use the direct command; GUI clients should use /bin/zsh -lc around the command so the login shell can find npx in installations managed by Homebrew, nvm, or another shell setup.

No API key, account, or configuration is needed for the basic setup. macOS and the Lupa app are required. If the app is installed in an unusual location, set LUPA_SEARCH_PATH to the lupa-search binary inside its application bundle.

Tools and capabilities

The Lupa — local file search for your Mac MCP server exposes two tools:

  • lupa_search: searches names and indexed document contents. It supports up to 50 results, filename-only searches, configurable snippets, query operators, wildcards, and filters such as kind:document, size:>10mb, and date:week.
  • lupa_read: returns extracted document text using an absolute path. The default response cap is 8,000 characters; a zero value removes that cap, subject to what Lupa indexed.

Every tool call is recorded locally in an audit JSONL file unless auditing is disabled. Entries include the time, client, tool, query or path, returned paths, and success state, but not snippets or document text. The log is readable only by the local user and uses a hash chain that can reveal altered or removed entries, although deleting the complete log remains possible.

Limitations and notes

Lupa — local file search for your Mac MCP server works only on macOS and depends on folders being registered and indexed in the Lupa app. It does not index files itself. The free Lupa index covers up to 50,000 files, and the server inherits the app's indexed scope.

Only the beginning of each document is indexed, so returned text may not include the entire file. A missing result can mean that the file's folder was not added to Lupa. lupa_read is unavailable with Lupa versions before 2.0.

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 Lupa — local file search for your Mac

Lupa — local file search for your Mac is an MCP server that connects AI agents to the Lupa macOS app's local file index. Its main tools are `lupa_search` for ranked filename and content results and `lupa_read` for previously extracted document text, including supported PDFs, Office files, HWP/HWPX, and OCR-scanned PDFs.

Install Lupa from the Mac App Store, add searchable folders, wait for indexing, and register `npx -y lupa-mcp` in your MCP client. Claude Code can use the direct command; GUI clients should invoke it through `/bin/zsh -lc` so the client can locate `npx`.

Yes, Lupa — local file search for your Mac works with Cursor through its MCP configuration. Add the server with `/bin/zsh -lc` and `npx -y lupa-mcp`, then ensure the Lupa app is installed, the desired folders are indexed, and the client can start the command.

Yes, Lupa can search scanned PDFs when their text has been read by OCR. The server queries the text in Lupa's local index, along with filenames and other supported document contents; it does not perform separate indexing itself.

Call `lupa_search` first, then pass one of its returned absolute paths to `lupa_read`. The second tool returns text Lupa already extracted, with an 8,000-character default cap and support for `max_chars: 0` to request no configured cap.

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 PreviewLupa — local file search for your Mac AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/lupa-local-file-search-for-your-mac?style=directory)](https://allmcps.com/mcp/lupa-local-file-search-for-your-mac)
HTML Embed
<a href="https://allmcps.com/mcp/lupa-local-file-search-for-your-mac"><img src="https://allmcps.com/api/badge/lupa-local-file-search-for-your-mac?style=directory" alt="Lupa — local file search for your Mac on AllMCPs" /></a>