Weaviate Query Agent MCP Server for Claude

Search Weaviate Cloud collections or ask for answers grounded in collection data using the hosted Query Agent MCP server.

How to set up the Weaviate Query Agent MCP Server in Claude

  1. Make the intended Weaviate Cloud cluster URL and API key available as WEAVIATE_URL and WEAVIATE_API_KEY in the process launching Claude Code.
  2. Merge the configuration into project .mcp.json, restart Claude Code, and test against an existing supported collection.
Claude Code · Project .mcp.json
{
  "mcpServers": {
    "weaviate-query-agent": {
      "type": "http",
      "url": "https://api.agents.weaviate.io/mcp",
      "headers": {
        "Authorization": "Bearer ${WEAVIATE_API_KEY}",
        "X-Weaviate-Cluster-Url": "${WEAVIATE_URL}"
      }
    }
  }
}
Download configuration

Choose between matching objects and an answer

Search mode returns the matching Weaviate objects, which is useful when you need the records themselves. Ask mode can search or aggregate data and produce an answer. Name the collection explicitly when several contain related content.

Check filters against retrieved objects

Ask Claude to return up to five help articles about expired invitation links from a test collection, filtered to English. Compare the returned object properties with those in Weaviate. Review whether the filter kept the language separate from the semantic match.

Check whether the collection is supported

The hosted Query Agent MCP does not support multi-tenant collections or collections with more than one named vector. The publisher points to the Python and TypeScript clients for those cases. Use a restricted cluster key for the collections the assistant should read.

Publisher setup and documentation

Browse MCP servers