Search your Mac's files by name and by text inside documents. Local index, Korean-aware.
Runs on your machine from its package; the steps are below.
At most: only reads or looks up information.
Odel charges nothing per call. The publisher may charge for its own service.
Runs locally over stdio
This server isn't hosted — your MCP client launches it from a package registry. Use one of the commands below, or drop the config into your client (e.g. Claude Desktop).
Run
npx -y lupa-mcp
MCP client config
{
"mcpServers": {
"lupa-local-file-search-for-your-mac": {
"command": "npx",
"args": [
"-y",
"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.
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.
The Lupa app must be installed — this server reads the index that Lupa builds; it does not index anything itself.
macOS only.
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
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_readReturns 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) |
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.
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.
lupa_read truncates long files.LUPA_SEARCH_PATH to the lupa-search
binary inside the app bundle.| 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 |
MIT