Let AI agents find files on your Mac

Ask Claude, Codex, Gemini or another AI agent "where is last year's tax return?" or "what is filling my disk?" and it answers from Everything Locator's index, in a fraction of a second, instead of crawling the disk with find or du. The agent connects to Everything Locator on your Mac only, and it can look, never change.

Needs Everything Locator 1.4 or later with Everything Locator Pro, on macOS 15 or later. Works with apps that run on your Mac and support MCP (the Model Context Protocol).

Turn it on

  1. In Everything Locator, open Settings › AI Agents.
  2. Turn on Let AI agents on this Mac search with Everything Locator. The settings show On at http://127.0.0.1:…/mcp.
  3. Choose your app next to Set up and follow its steps below: Claude Code, Claude Desktop, Codex, Gemini CLI, Antigravity or other apps.

Everything Locator must be running for agents to reach it. Turn on Open at login in its General settings if you use agents every day.

For examples of what to ask when you remember only a little about a file, see find a file when you don't remember the name.

Claude Code

  1. Choose Claude Code next to Set up and click Copy with Key.
  2. Paste the line into Terminal and press Return. It looks like this, with your own port and key:
claude mcp add --scope user --transport http everything-locator http://127.0.0.1:52345/mcp --header "Authorization: Bearer …"

Claude Code then has the tools in every project. Check with claude mcp list, or type /mcp in a session. Then ask, for example: "Find the PDFs I downloaded this week."

Claude Desktop

  1. Choose Claude Desktop next to Set up and click Save Extension…. Everything Locator saves Everything Locator.mcpb, with your address and key inside.
  2. Open the saved file. Claude Desktop shows the extension and its six tools; click Install.

Claude Desktop runs the extension with its own Node.js, so there is nothing else to install. To remove it, open Claude Desktop's settings, then Extensions.

Codex

  1. Choose Codex next to Set up and click Copy with Key.
  2. Paste it at the end of ~/.codex/config.toml (create the file if it is not there), then start Codex again:
[mcp_servers.everything-locator]
url = "http://127.0.0.1:52345/mcp"
http_headers = { Authorization = "Bearer …" }

The Codex app and the codex command read the same file. In the codex command, /mcp lists the connected servers.

Gemini CLI

  1. Choose Gemini CLI next to Set up and click Copy with Key. (Everything Locator 1.4 has no Gemini CLI choice: update to 1.4.1, or choose Other apps and put its URL and key into the line below.)
  2. Paste the line into Terminal and press Return. It looks like this, with your own port and key:
gemini mcp add --scope user --transport http --header "Authorization: Bearer …" everything-locator http://127.0.0.1:52345/mcp

Check with gemini mcp list, or type /mcp in a session. Gemini CLI uses servers added for your user only in folders you trust; it asks the first time you start it in a folder.

Antigravity

  1. Choose Antigravity next to Set up and click Copy with Key. (Everything Locator 1.4 has no Antigravity choice: update to 1.4.1, or choose Other apps and put its URL and key into the line below.)
  2. Paste the line into Terminal and press Return. It looks like this, with your own port and key:
agy mcp add --header "Authorization: Bearer …" everything-locator http://127.0.0.1:52345/mcp

agy is Antigravity's command-line tool. It saves the server in ~/.gemini/config/mcp_config.json, which the Antigravity app reads too: in the app, open Customizations, then Installed, and restart Everything Locator under MCP Servers. Without agy, add this inside mcpServers in that file:

"everything-locator": {
  "serverUrl": "http://127.0.0.1:52345/mcp",
  "headers": { "Authorization": "Bearer …" }
}

Other apps

Choose Other apps to copy the three settings any MCP client asks for:

URL: http://127.0.0.1:52345/mcp
Header: Authorization: Bearer …
Transport: Streamable HTTP

The app must run on your Mac. Assistants that run in the cloud, such as a chatbot in a web browser, cannot reach 127.0.0.1 and so cannot use Everything Locator.

What agents can do

ToolWhat it does
searchfinds files and folders by name or path, in the full Everything search syntax: types, sizes, dates, wildcards, regex; and, through Spotlight, by a word inside files (content:)
folder_sizeswhat takes the most space inside a folder, at once, even for the whole disk
find_duplicatesfiles with the same content among a search's results, the biggest waste first
file_infokind, size, disk space and dates of one item
reveal_in_finderopens a Finder window with the items selected, so you see what the agent found
index_statuswhich folders are indexed and whether the index is ready

No tool moves, opens, renames or deletes anything. If you ask an agent to clean up, it finds the files and you decide; most agents also ask before they run a command that changes files.

Terminal and scripts

Agents that work in a shell without MCP, and your own scripts, can use el, the command-line companion: el search report ext:pdf, el size ~, el dupes --in ~/Downloads. It uses the same access and key.

The Agent Skill

An Agent Skill is a short instruction file that agents read when a task calls for it. Everything Locator's skill tells an agent to search the index instead of crawling the disk, how to write a query, how to quote it for the shell, and never to delete what it found without asking you. The tools work without it; with it, agents choose them more often and write better queries.

Download: everything-locator-skill.zip (one file, everything-locator/SKILL.md). Or install it from Terminal:

# Claude Code
mkdir -p ~/.claude/skills/everything-locator
curl -fsSL https://www.everythingloc.com/download/everything-locator/SKILL.md -o ~/.claude/skills/everything-locator/SKILL.md

# Codex
mkdir -p ~/.codex/skills/everything-locator
curl -fsSL https://www.everythingloc.com/download/everything-locator/SKILL.md -o ~/.codex/skills/everything-locator/SKILL.md

# Gemini CLI
mkdir -p ~/.gemini/skills/everything-locator
curl -fsSL https://www.everythingloc.com/download/everything-locator/SKILL.md -o ~/.gemini/skills/everything-locator/SKILL.md

# Antigravity
mkdir -p ~/.gemini/config/skills/everything-locator
curl -fsSL https://www.everythingloc.com/download/everything-locator/SKILL.md -o ~/.gemini/config/skills/everything-locator/SKILL.md

In the Claude app, add the zip where its settings list your skills. Agents that support MCP resources can also read the whole search syntax from everything-locator://search-syntax; in Terminal, el syntax prints it.

In coding agents

Coding agents such as Claude Code, Codex and Gemini CLI search files all day. Inside the project they work on, their own tools (rg, grep, find) are quick, and they match text inside files exactly, phrases, patterns and code included, so keep them there. Everything Locator pays off when the search goes beyond the project: a config file in ~/Library, a download, a log, another repository, every .xcodeproj on the Mac, what fills the disk, or which documents anywhere on the Mac mention a word (content:, answered by Spotlight).

There an agent falls back to find ~ or du, which read the whole folder tree. On a Mac with about 3.8 million files, find ~ for a file name took over two minutes and du -sh ~/Library about one; a shell command in a coding agent is often stopped after two minutes, so the agent gets a late or incomplete answer and tries again. Everything Locator answers the same search in milliseconds, with a short list.

The agent wantsWithout Everything LocatorWith it
a file somewhere in the home folderfind ~ -iname '*invoice*': minutesel search invoice: instant
every project of a kind on the Macfind ~ -name '*.xcodeproj': half a minute or moreel search '*.xcodeproj'
what fills a folderdu -sh ~/Library/*: about a minuteel size ~/Library

Tokens: the answers are short either way, because agents trim long output, so the saving in tokens is small. What you save is time, and the retries after a search runs out of time.

Installing the Agent Skill is enough: agents load it when a search reaches beyond the project. Optional: an agent sometimes runs find out of habit before it looks at its skills, so to make the rule hold in every session, also add one line to your personal instructions, ~/.claude/CLAUDE.md for Claude Code, ~/.codex/AGENTS.md for Codex or ~/.gemini/GEMINI.md for Gemini CLI:

To find files outside the current project, or folder sizes, use el (Everything Locator) instead of find, mdfind or du: el search, el size. Inside the project, keep using rg and find.

What agents can see

If something goes wrong

Questions: [email protected].