Back to MCP Servers

Weaviate

Connect to Weaviate vector database for semantic search, knowledge base management, and RAG workflows with vector embeddings

weaviatevector-databaseembeddingsaisearchrag
By Weaviate
16144Updated 3 weeks ago

Installation

npm install -g @weaviate/mcp-server

Configuration

{
  "mcpServers": {
    "weaviate": {
      "command": "npx",
      "args": ["-y", "@weaviate/mcp-server"],
      "env": {
        "WEAVIATE_URL": "http://localhost:8080",
        "WEAVIATE_API_KEY": "your-weaviate-api-key"
      }
    }
  }
}

How to use

  1. Run the installation command above (if needed)
  2. Open your Claude Code settings file (~/.claude/settings.json)
  3. Add the configuration to the mcpServers section
  4. Restart Claude Code to apply changes

Weaviate MCP server

This standalone server is deprecated. The Weaviate Model Context Protocol (MCP) server is now built into Weaviate itself — there is nothing to install or run separately.

Use the built-in MCP server

Weaviate ships an MCP server inside the main weaviate/weaviate binary, available as a preview from v1.37.1 onward. Enable it with a single environment variable:

MCP_SERVER_ENABLED=true

It listens on the same port as the Weaviate REST API at /v1/mcp, authenticates via the existing API-key flow, and respects RBAC.

Tools exposed

ToolPurpose
weaviate-collections-get-configInspect collection schemas
weaviate-tenants-listList tenants in a multi-tenant collection
weaviate-query-hybridHybrid (vector + keyword) search
weaviate-objects-upsertCreate or update objects

Documentation

About this repository

Earlier versions of this repo contained a standalone Go implementation of an MCP server that wrapped the Weaviate REST API. That implementation has been superseded by the built-in server and is no longer maintained. The history is preserved in git for reference; for the previous source, see the commits before this notice.

View source on GitHub