lupa-mcp
Enables AI agents to search a Mac's documents by content using a local index, returning ranked paths and matching snippets. It supports formats like PDF, DOCX, HWP, and OCR'd scans, with Korean-aware search, while keeping everything offline and without requiring filesystem access.
README
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": "npx", "args": ["-y", "lupa-mcp"] }
}
}
That's it. No API key, no account, no configuration.
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 1.1 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.
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 1.1 or later |
| No results for a file you know exists | Its folder may not be registered in Lupa |
License
MIT
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。