Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

Atlas Vector Search Docs

БесплатноНе проверен

Provides semantic search and document retrieval using MongoDB Atlas Vector Search with Voyage AI embeddings, enabling intelligent querying across markdown docum

GitHubEmbed

Описание

Provides semantic search and document retrieval using MongoDB Atlas Vector Search with Voyage AI embeddings, enabling intelligent querying across markdown documentation with hierarchical chunking and contextual understanding.

README

A vector search system for document retrieval using MongoDB Atlas Vector Search and Voyage AI embeddings.

Sample data included is for Atlas Vector Search!

Features

  • Ingests and chunks markdown documents with hierarchical headers
  • Generates embeddings using Voyage AI's contextual embeddings API
  • Stores documents and embeddings in MongoDB with parent-child relationships
  • Provides a FastMCP server for semantic document search
  • Supports configurable vector dimensions and chunking strategies

Available MCP Tools

The document search server provides these tools:

  1. search_documents_vector(query: str, limit: int = 5)

    • Primary search method using vector similarity
    • Returns document chunks with metadata and similarity scores
    • Best for semantic/meaning-based queries
  2. search_documents_lexicaly(query: str, limit: int = 1)

    • Fallback search using lexical/text matching
    • Returns full parent documents with search scores
    • Useful when vector search doesn't find good matches
  3. get_parent_document(parent_id: str)

    • Retrieves the complete parent document by ID
    • Returns original content and file path
    • Use after search to get full context for a chunk

Claude Desktop Tool Call

Prerequisites

  • Python 3.10+
  • MongoDB Atlas cluster with vector search enabled
  • Voyage AI API key

Installation

  1. Clone the repository:
git clone https://github.com/patw/avs-document-search.git
cd avs-document-search
  1. Install dependencies:
pip install -r requirements.txt
  1. Create a .env file based on sample.env with your credentials

Usage

  1. Ingest documents in the docs/ directory:
python ingest_docs.py
  1. Run the search server:
python avs-mcp.py

Running the search server won't do much, other than verify your MongoDB URI is correct, you will need to plug this MCP server into an MCP client like Claude Desktop. Here's a sample config:

{
  "mcpServers": {
    "Atlas Vector Search Docs": {
      "command": "uv",
      "args": [
        "run",
        "--with",
        "fastmcp, pymongo, requests",
        "fastmcp",
        "run",
        "<path to>/avs-docs-mcp/avs-mcp.py"
      ]
    }
  }
}

Configuration

Copy sample.env to .env and Edit to configure:

  • MongoDB connection string
  • Database and collection names
  • Voyage AI API key
  • Vector dimensions (256 default)

Future Improvements

  • Implement hybrid search combining vector and text search using $rankFusion (when MongoDB 8.1 is GA on Atlas)
  • Support additional file formats (PDF, Word, etc.) with Docling

Contributing

Pull requests are welcome! For major changes, please open an issue first.

Author

Pat Wendorf
[email protected]
GitHub: patw

License

MIT

from github.com/patw/avs-docs-mcp

Установка Atlas Vector Search Docs

У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.

▸ github.com/patw/avs-docs-mcp

FAQ

Atlas Vector Search Docs MCP бесплатный?

Да, Atlas Vector Search Docs MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для Atlas Vector Search Docs?

Нет, Atlas Vector Search Docs работает без API-ключей и переменных окружения.

Atlas Vector Search Docs — hosted или self-hosted?

Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.

Как установить Atlas Vector Search Docs в Claude Desktop, Claude Code или Cursor?

Открой Atlas Vector Search Docs на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Похожие MCP

Notion

Read and write pages in your workspace

Notionавтор: Notion

Linear

Issues, cycles, triage — from Claude

Linearавтор: Linear
Pro

Google Drive

Search and read your Drive files

Googleавтор: Google

mindsdb/mindsdb

Connect and unify data across various platforms and databases with [MindsDB as a single MCP server](https://docs.mindsdb.com/mcp/overview).

mindsdbавтор: mindsdb

fulcradynamics/fulcra-context-mcp

MCP server for accessing personal health and biometric data including sleep stages, heart rate, HRV, glucose, workouts, calendar, and location via the Fulcra Li

fulcradynamicsавтор: fulcradynamics

aymericzip/intlayer

A MCP Server that enhance your IDE with AI-powered assistance for Intlayer i18n / CMS tool: smart CLI access, access to the docs.

aymericzipавтор: aymericzip

rinadelph/Agent-MCP

A framework for creating multi-agent systems using MCP for coordinated AI collaboration, featuring task management, shared context, and RAG capabilities.

rinadelphавтор: rinadelph

WhenLabs-org/when

Developer toolkit: auto-detect stack for AI context files, catch port conflicts, validate .env schemas, spot docs drift, audit dependency licenses, and time cod

WhenLabs-orgавтор: WhenLabs-org

Beltran12138/wecom-docs-mcp-server

WeCom (Enterprise WeChat) document operations via MCP: create, read, and edit Docs and Smartsheets (9 tools). Fills the doc-CRUD gap — existing WeCom MCP server

Beltran12138автор: Beltran12138

madbonez/caldav-mcp

Universal MCP server for CalDAV protocol integration. Works with any CalDAV-compatible calendar server including Yandex Calendar, Google Calendar (via CalDAV),

madbonezавтор: madbonez

Compare Atlas Vector Search Docs with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории productivity