Skip to main content

Connect Gety to Claude Code

Connect Gety to Claude Code, and Claude Code can work with all your local files directly from your terminal — search scattered documents, analyze them, and produce structured reports and briefings in seconds.

Claude Code generating an executive briefing from files found across Desktop, OneDrive, and project folders via Gety

Claude Code vs Claude Cowork

Claude Code is a command-line tool that runs in your terminal. If you prefer a graphical interface, see Connect Gety to Claude & Claude Cowork.

Prerequisites​

  • Gety is installed and running with at least one folder indexed
  • Claude Code is installed (npm install -g @anthropic-ai/claude-code). Install Claude Code
  • Gety must stay running in the background for Claude Code to access your files

Connect Claude Code​

Step 1: Add Claude Code in Gety​

Open Gety → Settings → AI Integrations and click Claude Code under AI Apps.

Gety AI Integrations page showing Claude Code under AI Apps Gety → Settings → AI Integrations: click Claude Code under AI Apps

Step 2: Copy the command for your scope​

Gety shows a dialog with ready-to-paste commands. Choose the scope that fits your workflow:

  • Current Project Only — the MCP server is available only in this project
  • All Projects — the MCP server is available everywhere

Gety dialog showing Claude Code integration commands for current project and all projects Gety: copy the command for your preferred scope

Step 3: Run the command in your terminal​

Open your terminal, navigate to the project directory where you want to use Gety, then paste and run the command.

Terminal showing the claude mcp add command executed successfully Terminal: the MCP server is added and ready to use

Use Gety in Claude Code​

Open Claude Code in your terminal and start with a small query whose answer you already know. Replace the quoted words with something that is in your files:

Use Gety to search my local files for "research report". List the source files you used.

To check that Claude Code called Gety, look above the answer. Claude Code called Gety when a Called gety line appears there. Press Ctrl+O to open the detailed transcript and see the results Gety returned.

Claude Code terminal showing a Called gety line below the prompt Claude Code called Gety when Called gety appears above the answer.

If Claude Code does not seem to use Gety, try mentioning "use Gety" or "search my local files" in your prompt.

Then try a larger task:

Use Gety to search my files for all Project Aurora launch materials. Create an executive briefing document covering the launch recommendation, key risks by department, customer readiness for Northstar Health and Meridian Bank, and the revised budget summary. Save it as aurora-executive-brief.md.

Claude Code terminal showing the prompt being entered Claude Code: describe what you need in the terminal

Claude Code will call Gety to search your files, retrieve the relevant documents, and generate the briefing.

The finished document draws from files scattered across your computer — a launch recommendation shared via OneDrive, an approval memo on your Desktop, and personal notes you drafted earlier. Claude Code lists the sources so you can verify every claim.

Claude Code showing the completed executive briefing with sources from OneDrive, Desktop, and project folders Claude Code: executive briefing generated in 30 seconds, with sources from across your computer

You control what Claude Code receives. Choose Ask every time or Always allow in Gety → Settings → AI Integrations → Data Sharing Control. See Privacy and control for details.

Troubleshooting​

Claude Code does not call Gety​

  • Start the prompt with Use Gety to search my local files.
  • Run claude mcp list in your terminal and confirm that gety is listed. Inside a session, type /mcp to see the status of each server.
  • If you ran the Current Project Only command, gety is available only in the directory where you ran it. Run that command again in the directory you are working in, or use the All Projects command instead.
  • If you are not sure whether Claude Code called Gety, open Gety → Settings → AI Integrations and click Activity. Every request from Claude Code is listed there with the words it searched for.

Claude Code calls Gety but gets nothing back​

  • Make sure Gety is open. Claude Code can only reach Gety while it is running.
  • If you chose Ask every time, look for a sharing request from Gety that is waiting for your answer. If none appears, see restore sharing confirmations.
  • Search for the same words in Gety itself. If Gety cannot find the file either, see Why can't I find a file or folder in search or in the index?
  • If the URL Gety shows has changed, remove the server with claude mcp remove gety, then run the command from Gety again.