An MCP Server to connect to your Weaviate collections as a knowledge base as well as using Weaviate as a chat memory store.
The Model Context Protocol (MCP) is revolutionizing how Large Language Models (LLMs) interact with the world. By providing a standardized interface for connecting LLMs to external data sources and tools, MCP empowers developers to build more intelligent and context-aware AI applications. This document introduces the Weaviate MCP Server, a powerful tool that leverages the MCP to seamlessly integrate Weaviate, a leading vector database, with your LLM workflows.
Before diving in, ensure you have the following:
For a streamlined setup with Claude Desktop, use Smithery:
npx -y @smithery/cli install @weaviate/mcp-server-weaviate --client claude
Locate the Configuration File:
~/Library/Application\ Support/Claude/claude_desktop_config.json
%APPDATA%/Claude/claude_desktop_config.json
Configure the MCP Server:
Add the following configuration block to the mcpServers
section of your claude_desktop_config.json
file. Replace the placeholder values with your actual Weaviate and OpenAI credentials.
{ "mcpServers": { "mcp-server-weaviate": { "command": "PYTHON_PATH", "args": [ "-m", "src.server", "--weaviate-url", "YOUR_WEAVIATE_URL", "--weaviate-api-key", "YOUR_WEAVIATE_API_KEY", "--search-collection-name", "YOUR_SEARCH_COLLECTION", "--store-collection-name", "YOUR_STORE_COLLECTION", "--openai-api-key", "YOUR_OPENAI_API_KEY" ], "env": { "PYTHONPATH": "PATH_TO_MCP_SERVER_WEAVIATE_DIRECTORY" } } } }
Configuration Parameters:
PYTHON_PATH
: The path to your Python executable.YOUR_WEAVIATE_URL
: The URL of your Weaviate instance.YOUR_WEAVIATE_API_KEY
: Your Weaviate API key.YOUR_SEARCH_COLLECTION
: The name of the Weaviate collection used for search.YOUR_STORE_COLLECTION
: The name of the Weaviate collection used for storing data.YOUR_OPENAI_API_KEY
: Your OpenAI API key.PATH_TO_MCP_SERVER_WEAVIATE_DIRECTORY
: The absolute path to the cloned mcp-server-weaviate
directory.๐ โ๏ธ Biomedical research server providing access to PubMed, ClinicalTrials.gov, and MyVariant.info.
๐ MCP server that provides SQL analysis, linting, and dialect conversion using [SQLGlot](https://github.com/tobymao/sqlglot)
๐ ๐ All-in-one MCP server for Postgres development and operations, with tools for performance analysis, tuning, and health checks
Supabase MCP Server with support for SQL query execution and database exploration tools