Skip to main content
Glama
AliHaider20

vectordb-mcp

by AliHaider20

vectordb-mcp

Local RAG over your own files, exposed to Claude Desktop and Claude Code as an MCP server. Chunking via LangChain's RecursiveCharacterTextSplitter, embeddings via jinaai/jina-embeddings-v5-text-nano (local, no API key), vectors in FAISS, text/metadata in SQLite.

Setup

cd vectordb-mcp
python -m venv .venv
.venv\Scripts\Activate.ps1
pip install -r requirements.txt

First run downloads the embedding model (~1GB) from Hugging Face and caches it locally (%USERPROFILE%\.cache\huggingface).

Data files (data/vectordb.sqlite3, data/<collection>.index) are created under the project's data/ folder on first use — nothing global, easy to wipe by deleting the folder.

Related MCP server: smart-search

Register with Claude Desktop

Edit %APPDATA%\Claude\claude_desktop_config.json:

{
  "mcpServers": {
    "vectordb-mcp": {
      "command": "C:\\Users\\Kiran\\OneDrive\\Desktop\\Projects\\vectordb-mcp\\.venv\\Scripts\\python.exe",
      "args": ["C:\\Users\\Kiran\\OneDrive\\Desktop\\Projects\\vectordb-mcp\\run.py"]
    }
  }
}

Restart Claude Desktop; the three tools (ingest_local_document, vector_search, manage_collections) should appear under the hammer icon.

Register with Claude Code

From the project directory (or any directory, using absolute paths):

claude mcp add vectordb-mcp -- "C:\Users\Kiran\OneDrive\Desktop\Projects\vectordb-mcp\.venv\Scripts\python.exe" "C:\Users\Kiran\OneDrive\Desktop\Projects\vectordb-mcp\run.py"

Verify with claude mcp list / /mcp inside a session.

Tools

  • ingest_local_document(filepath, collection_name="main", chunk_size=512, chunk_overlap=50)

  • vector_search(query, collection_name="main", top_k=5)

  • manage_collections(action: "list" | "delete" | "reset", collection_name=None)

Deduplication

Two layers, see vectordb_mcp/dedup.py:

  • Ingestion-time (exact): each chunk is hashed (normalized, sha256) and checked against a UNIQUE(collection, content_hash) index in SQLite. Duplicate content (repeated boilerplate/footers across files) is embedded and stored once; re-ingesting the same or overlapping content just links the new source file to the existing chunk row.

  • Retrieval-time (exact + near-duplicate): vector_search over-fetches candidates from FAISS, drops exact hash repeats as a safety net, and also drops near-duplicates via word-shingle Jaccard similarity (default threshold 0.7) so overlap-adjacent chunks that differ by only a few words don't both make it into the top_k results returned to Claude.

F
license - not found
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    -
    quality
    D
    maintenance
    A local vector database RAG system that integrates with Playwright MCP for web scraping, enabling users to build searchable knowledge bases from web content with multiple embedding providers and Claude-optimized context formatting.
  • F
    license
    -
    quality
    D
    maintenance
    A local-first MCP server that enables semantic search over PDF and DOCX documents using structure-aware parsing and vector storage. It allows users to query their local knowledge base through Claude Code without cloud dependencies or GPU requirements.
  • F
    license
    -
    quality
    B
    maintenance
    A lightweight RAG (Retrieval-Augmented Generation) system for Claude Code that enables semantic search over local markdown documents via MCP tools, saving tokens and time.
    63

View all related MCP servers

Related MCP Connectors

  • MCP server giving Claude AI access to 22+ NYC public-record databases for real estate due diligence

  • Agent-native MCP server over the public saagarpatel.dev corpus. Read-only, stateless.

  • Hosted MCP memory: save sessions/decisions once, search from Claude, Cursor, ChatGPT. EU-hosted FTS.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/AliHaider20/MCP-VectorDB-context-manager'

If you have feedback or need assistance with the MCP directory API, please join our Discord server