localvectordb

Get started

  • Quickstart
  • Installation
  • Tutorials

Core concepts

  • Overview
  • RemoteVectorDB Client
  • Query Types and Return Modes
  • Embeddings
  • Chunking
  • Metadata Filtering Guide
  • QueryBuilder
  • Document Scoring Methods
  • Hierarchical Embeddings
  • Raw-Span Hierarchical Retrieval: Method and Evaluation

Advanced features

  • Streaming Query Results
  • Document Comparison & Visualization
  • Fact-Checking (Reverse RAG)
  • File Extraction System
  • Backup and Recovery System
  • Migration System
  • Performance Tuning Guide

Deployment

  • Server
  • Command-Line Interface
  • JavaScript / TypeScript SDK

AI agent integration

  • MCP Server
  • Agent Skills

Reference

  • LocalVectorDB Recipes
  • localvectordb
    • localvectordb package
    • localvectordb_server package
      • Subpackages
        • localvectordb_server.cli package
        • localvectordb_server.mcp package
        • localvectordb_server.utils package
      • Submodules
localvectordb
  • localvectordb
  • localvectordb_server package
  • localvectordb_server.mcp package
  • View page source

localvectordb_server.mcp package

LocalVectorDB MCP Server Module

Provides Model Context Protocol (MCP) server implementation for LocalVectorDB, enabling LLMs and tools like Claude Desktop to interact with vector databases.

Submodules

  • localvectordb_server.mcp.config module
    • MCPConfig
      • MCPConfig.mode
      • MCPConfig.databases_root
      • MCPConfig.databases_map
      • MCPConfig.db_defaults
      • MCPConfig.remote_defaults
      • MCPConfig.max_concurrent_operations
      • MCPConfig.operation_timeout
      • MCPConfig.log_operations
      • MCPConfig.log_level
      • MCPConfig.read_only_tools
      • MCPConfig.write_tools
      • MCPConfig.check_write_permission()
      • MCPConfig.get_database_path()
      • MCPConfig.get_enabled_tools()
      • MCPConfig.from_env()
      • MCPConfig.from_file()
      • MCPConfig.load()
      • MCPConfig.__init__()
  • localvectordb_server.mcp.server module
    • MCPManager
      • MCPManager.__init__()
      • MCPManager.get_database()
      • MCPManager.list_databases()
      • MCPManager.create_database()
      • MCPManager.delete_database()
      • MCPManager.cleanup()
    • lifespan()
    • register_tool()
    • register_mcp_tool()
    • list_databases()
    • get_database_info()
    • query_database()
    • find_related_documents()
    • filter_documents()
    • get_document()
    • check_documents_exist()
    • get_metadata_schema()
    • get_system_info()
    • create_database()
    • delete_database()
    • upsert_documents()
    • update_document()
    • patch_document()
    • delete_document()
    • update_metadata_schema()
    • run_mcp_server()
Previous Next

© Copyright 2025-2026, Tom Villani.

Built with Sphinx using a theme provided by Read the Docs.