Skip to main content
Glama

LanceDB MCP Server

by RyanLisse

LanceDB MCP 服务器

概述

用于 LanceDB 向量数据库操作的模型上下文协议 (MCP) 服务器实现。该服务器支持高效的向量存储、相似性搜索以及向量嵌入与相关元数据的管理。

成分

资源

服务器将矢量数据库表公开为资源:

  • table://{name} :存储嵌入和元数据的向量数据库表
    • 可配置向量维度
    • 文本元数据支持
    • 高效的相似性搜索功能

API 端点

表管理
  • POST /table
    • 创建新的向量表
    • 输入:
      { "name": "my_table", # Table name "dimension": 768 # Vector dimension }
向量运算
  • POST /table/{table_name}/vector
    • 向表中添加矢量数据
    • 输入:
      { "vector": [0.1, 0.2, ...], # Vector data "text": "associated text" # Metadata }
  • POST /table/{table_name}/search
    • 搜索相似向量
    • 输入:
      { "vector": [0.1, 0.2, ...], # Query vector "limit": 10 # Number of results }

安装

# Clone the repository git clone https://github.com/yourusername/lancedb_mcp.git cd lancedb_mcp # Install dependencies using uv uv pip install -e .

与 Claude Desktop 一起使用

# Add the server to your claude_desktop_config.json "mcpServers": { "lancedb": { "command": "uv", "args": [ "run", "python", "-m", "lancedb_mcp", "--db-path", "~/.lancedb" ] } }

发展

# Install development dependencies uv pip install -e ".[dev]" # Run tests pytest # Format code black . ruff .

环境变量

  • LANCEDB_URI :LanceDB 存储路径(默认值:“.lancedb”)

执照

本项目遵循 MIT 许可证。详情请参阅 LICENSE 文件。

-
security - not tested
F
license - not found
-
quality - not tested

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

通过模型上下文协议接口实现高效的矢量数据库操作,以实现嵌入存储和相似性搜索。

  1. 概述
    1. 成分
      1. 资源
      2. API 端点
    2. 安装
      1. 与 Claude Desktop 一起使用
        1. 发展
          1. 环境变量
            1. 执照

              Related MCP Servers

              • A
                security
                A
                license
                A
                quality
                Facilitates interaction with Elasticsearch clusters by allowing users to perform index operations, document searches, and cluster management via a Model Context Protocol server and natural language commands.
                Last updated -
                6
                183
                Python
                Apache 2.0
                • Apple
              • A
                security
                A
                license
                A
                quality
                A Model Context Protocol server providing vector database capabilities through Chroma, enabling semantic document search, metadata filtering, and document management with persistent storage.
                Last updated -
                6
                35
                Python
                MIT License
                • Apple
                • Linux
              • A
                security
                A
                license
                A
                quality
                A high-performance, persistent memory system for the Model Context Protocol (MCP) providing vector search capabilities and efficient knowledge storage using libSQL as the backing store.
                Last updated -
                6
                154
                11
                TypeScript
                MIT License
                • Linux
              • A
                security
                A
                license
                A
                quality
                A Model Context Protocol server that enables semantic search capabilities by providing tools to manage Qdrant vector database collections, process and embed documents using various embedding services, and perform semantic searches across vector embeddings.
                Last updated -
                4
                26
                TypeScript
                MIT License

              View all related MCP servers

              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/RyanLisse/lancedb_mcp'

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