Lupa — local file search for your Mac MCP Server
Search your Mac's files by name and by text inside documents. Local index, Korean-aware.
Lupa — local file search for your Mac scores 30 (Limited), licensed MIT and written in JavaScript. It installs as a local process. It declares 5 tools. Filed under Search, File systems. GitHub shows 0 stars. Package registries report about 45 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.
Limited trust
30 of 100 from six public signals. Nobody can buy a point.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade B
75/100 for listing completeness. Lost points: 5 of 5 tools barely described, short summary.
How quality is graded
Where the 30 comes from
0 + 6 + 3 + 10 + 4 + 7 = 30. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 0 of 30 points.How recently the repository saw a commit or release.
Maintenance: 6 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 3 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 7 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "paeyoungpark-web-lupa-mcp": { "command": "npx", "args": [ "-y", "lupa-mcp@0.3.1" ] } }}
Environment variables
This server does not declare environment variables.
Tools5Tool docs quality grade F
All capabilitieslupa_readtoollupa_searchtoolmax_charstool8000
names_onlytoolfalse
snippet_charstool160
About
lupa-mcp
Let your AI agent search the documents on your Mac — by what's written inside them.
An MCP server for Lupa, a macOS file search app with its own index. Your agent asks Lupa; Lupa answers from a local index in ~30 ms. Nothing touches the network.
"find the contract that mentions the penalty clause"
↓
lupa_search → ranked paths + matching snippets
lupa_read → the document's text, without opening the file
Searches file names and document contents: PDF, Word, Excel, PowerPoint, plain text, Hangul HWP/HWPX, and scanned PDFs read with OCR.
Why this instead of find/grep
find / grep / mdfind | lupa-mcp | |
|---|---|---|
| Searches inside PDF, DOCX, HWP | no | yes |
| Scanned documents (OCR) | no | yes |
| Korean partial words and particles | poorly | yes — 보호정책 finds 정보보호정책서.hwp |
| Speed on a large disk | seconds | ~30 ms (indexed) |
| Agent needs file system access | yes | no — Lupa reads the files, not your agent |
That last row is the point. Your agent gets document contents without you granting it access to your disk.
Requirements
The Lupa app must be installed — this server reads the index that Lupa builds; it does not index anything itself.
- Install Lupa (free) from the Mac App Store: https://lupa.kr
- Open it, add the folders you want searchable, and let indexing finish.
macOS only.
Install
Claude Code
claude mcp add lupa -- npx -y lupa-mcp
Claude Desktop / Cursor / any MCP client — add to the client's MCP config:
{
"mcpServers": {
"lupa": { "command": "/bin/zsh", "args": ["-lc", "npx -y lupa-mcp"] }
}
}
That's it. No API key, no account, no configuration.
Why
/bin/zsh -lc? GUI apps don't inherit your shell's PATH, so a bare"command": "npx"fails to start withenv: npx: No such file or directory(measured on Claude Desktop and Aside). A login shell findsnpxwherever it lives — Homebrew, nvm, or a system install. In a terminal-based client (Claude Code, Codex) plainnpx -y lupa-mcpis fine.
Agents: don't run
lupa-searchthrough your shell. Sandboxed agent shells (Aside, Codex) kill the App Store-signed CLI at launch — exit code 133 or 134. Register this MCP server instead; it starts outside that sandbox. Full guide: https://lupa.kr/agents.html
Tools
lupa_search
| argument | default | meaning |
|---|---|---|
query | — | see syntax below |
limit | 10 | results to return (max 50) |
names_only | false | file names only, ignore contents (faster) |
snippet_chars | 160 | truncate each snippet (0 = none) |
lupa_read
Returns the text Lupa already extracted from a file — cheaper than reading the original, and it works for formats your agent cannot parse. Requires Lupa 2.0 or later.
| argument | default | meaning |
|---|---|---|
path | — | absolute path, as returned by lupa_search |
max_chars | 8000 | cap the returned text (0 = no limit) |
Query syntax
word1 word2 files matching ALL words rank first
n:word file name only (name:, 이름:, 文件名:)
c:word document content only (content:, 내용:, 内容:)
f:word folder path contains (폴더:, 文件夹:)
-word exclude
"exact phrase" literal match
.pdf *.mp3 report* extension / wildcard
kind:document document · pdf · hwp · image · video · audio · code · archive · app
size:>10mb size:<1mb
date:today date:week · date:month · date:7d · date:2026-06
Korean and Chinese prefixes work too (종류: 크기: 날짜: / 种类: 大小: 日期:).
Korean is handled properly — partial words inside compounds and attached particles both match, which is what Spotlight gets wrong.
Audit log
Every tool call is recorded on your Mac so you can see what an agent searched for and which files it was shown:
~/Library/Logs/Lupa/mcp-audit.jsonl
Each line has the time, the calling client (e.g. Claude Code, Cursor), the tool, the query or path, the paths returned, and whether it succeeded. Snippets and document text are not logged. The file is readable only by you (0600) and never leaves the Mac.
Lines are hash-chained: each entry includes the hash of the previous one, so editing or removing a line is detected. This makes the log tamper-evident, not tamper-proof — deleting the whole file and starting over is still possible.
npx lupa-mcp audit # last 20 calls
npx lupa-mcp audit -n 100
npx lupa-mcp audit --verify # exit 0 if the chain is intact, 1 if a line was changed or removed
Turn it off with LUPA_MCP_AUDIT=off, or move it with LUPA_MCP_AUDIT_PATH=/path/to/file.jsonl.
Privacy
Everything runs on your Mac. Lupa has no network code at all, and this server only launches Lupa's bundled command-line tool and passes the results to your agent. Nothing is uploaded, and there is no telemetry.
Notes
- Lupa's free index covers up to 50,000 files. This server inherits whatever the app indexed — there is no separate limit or paywall here.
- Only the beginning of each document is indexed, so
lupa_readtruncates long files. - If Lupa is installed somewhere unusual, set
LUPA_SEARCH_PATHto thelupa-searchbinary inside the app bundle.
Troubleshooting
| message | fix |
|---|---|
| "Lupa를 찾을 수 없습니다" / not found | Install Lupa from the Mac App Store |
| "검색 인덱스가 없습니다" | Open Lupa, add folders, wait for indexing |
| "본문 읽기를 지원하지 않습니다" | Update Lupa to 2.0 or later |
| No results for a file you know exists | Its folder may not be registered in Lupa |
License
MIT
Frequently asked questions
What is Lupa — local file search for your Mac MCP Server?
Search your Mac's files by name and by text inside documents. Local index, Korean-aware.
How do I install Lupa — local file search for your Mac MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Lupa — local file search for your Mac MCP Server runs locally from the npm package lupa-mcp with the command npx -y lupa-mcp@0.3.1.
Is Lupa — local file search for your Mac MCP Server free and open source?
Yes. Lupa — local file search for your Mac MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does Lupa — local file search for your Mac MCP Server support remote (HTTP) connections?
No remote endpoint is listed for Lupa — local file search for your Mac MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does Lupa — local file search for your Mac MCP Server provide?
Lupa — local file search for your Mac MCP Server provides 5 tools, including lupa_read, lupa_search, max_chars, and names_only. See the full tool list for descriptions and parameters.
How is Lupa — local file search for your Mac MCP Server's trust score calculated?
Lupa — local file search for your Mac MCP Server scores 30 out of 100 (Limited). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.