Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Directory indexer

MCP server by peteretelej Verified · gh:peteretelej

Directory Indexer indexes local directories into a semantic search knowledge base for AI assistants. It is self-hosted and uses Qdrant with an embedding provider such as Ollama.

  • Score 67
  • 17 stars
  • MIT
  • Updated

Install Directory indexer

Built from the published package, never by AI.

claude mcp add directory-indexer -- npx -y directory-indexer

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Directory indexer in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the directory-indexer block.

About

Directory Indexer turns local directories into a searchable knowledge base for AI assistants. It runs on your own machine or server and gives an assistant access to search, read, and work with your local files. Supported files include Markdown, plain text, code, JSON, YAML, CSV, TOML, and config files.

It uses an embedding provider, such as Ollama or OpenAI, to create vector embeddings of your files. The embeddings are stored in a Qdrant vector database for semantic search. The MCP server starts when your assistant connects, and indexing can run before, during, or after setup. Only changed files are reprocessed when you re-run indexing. It suits people who want self-hosted semantic search over their own notes, projects, and documents.

Written from the project's README and checked against it.

Tools it gives your assistant

  • server_infoShows the available workspaces and their statistics.

What you need

  • Node.js 18 or later
  • Docker, for running Qdrant and Ollama (optional if installed natively)
  • Ollama with the nomic-embed-text model, or an OpenAI API key
  • Qdrant vector database

Try asking

  • Find API authentication examples
  • Show me error handling patterns
  • Find troubleshooting guides on SQL deadlocks

Good to know

  • Supports text, code, data, and config files. PDFs and docx are not yet supported.
  • Docker Ollama uses CPU only, without GPU acceleration.
  • The OpenAI option requires a paid API key and sends data to OpenAI servers.

Security check

C
  • Downloads a script from the internet and runs itIn README.md: curl -fsSL https://ollama.ai/install.sh | sh

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to Directory indexer

All alternatives →

Compare with Zotero MCP, Agentdb or Genkitx MCP

Directory indexer: common questions

Which embedding providers does Directory Indexer support?

It supports Ollama, which is free and runs locally, and OpenAI, which requires a paid API key. The source recommends Ollama as the default option.

Does re-indexing process every file again?

No. The source says only changed files are reprocessed when you re-run indexing.

Can I search only part of my files?

Yes. Workspaces let you group directories into focused search areas, defined with WORKSPACE_NAME environment variables.

How do I install Directory indexer?

In Claude Code run claude mcp add directory-indexer -- npx -y directory-indexer. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Directory indexer the official server?

Directory indexer is published by gh:peteretelej from its verified domain in the official MCP Registry.

Is Directory indexer free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is Directory indexer safe to use?

It scores 67 of 100. Grades: maintenance A, licence A, quality C. Security check: grade C (downloads a script from the internet and runs it). Review the code before you install. How grades work.

What are alternatives to Directory indexer?

Similar MCP servers: Zotero MCP, Agentdb, Genkitx MCP, Qmd.

Does Directory indexer work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Directory indexer Install

Add to stack

Loading.