Weaviate MCP server for AI agents

Live

BEARER TOKEN

VECTOR DATABASE

AI

Weaviate gives your agent vector search in your Weaviate instance: search collections by meaning, keywords, or hybrid queries, run GraphQL, read schemas and objects, and create, update, and delete objects and collections.

  • Per-user credentials: each call uses the actual user's access token, never a shared bot.
  • Encrypted per-tenant vault: AES-256, resolved at request time, never in LLM context.
  • Scoped before every call: pre-call scope check, 90-day SIEM-exportable audit chain.
Weaviate
agent · Acme Q3
Run
Find articles about supply chain risk in the Articles collection.
S
weaviate_object_search_near_text
204ms
Vector search agent
Returned 5 articles ranked by vector similarity to supply chain risk.
Sources: Weaviate Articles, 5 objects
weaviate
5 articles
18:29
Message Claude...

Tools your vector database agent reaches for on Weaviate, scoped per user.

CALL ANY TOOL
25 tools for vector search in Weaviate: search by meaning, keywords, or hybrid queries, run GraphQL, inspect collections, shards, tenants, and nodes, and create, update, and delete objects.
weaviate_collection_create
Create collection
Create a new collection (class) in Weaviate with its properties, vectorizer and multi-tenancy setting. Returns the created collection definition, including the defaults Weaviate filled in. Use weaviate_collection_create to set up a new collection. Use weaviate_collection_property_add to add a property to an existing collection.
Parameters
Name
Type
Required
Description
collection
string
Required
Name of the new collection. Must start with an uppercase letter and contain only letters, digits and underscores; use CamelCase for several words. Example: Article.
description
string
Optional
Free-text description of the collection, stored as metadata. Example: News articles with title and body.
module_config
object
Optional
Collection-level module settings, keyed by module name, such as the model for a vectorizer or a generative module. Example: {"text2vec-openai": {"model": "text-embedding-3-small"}}.
multi_tenancy_enabled
boolean
Optional
Set to true to make the collection multi-tenant, so each tenant's objects are stored separately and every object request must name a tenant. This cannot be changed after the collection is created. Example: true.
properties
array
Optional
Properties (fields) of the collection. Each property needs a name in camelCase and a dataType array with one type such as ["text"], ["int"], ["number"], ["boolean"], ["date"], ["text[]"], ["uuid"], ["geoCoordinates"], ["object"], or the name of another collection for a cross-reference. A text property can also set tokenization (word, lowercase, whitespace, field, trigram). Leave blank to let Weaviate infer properties from the first objects you add (auto-schema). Example: [{"name": "title", "dataType": ["text"]}, {"name": "wordCount", "dataType": ["int"]}].
replication_factor
integer
Optional
Number of copies of each shard to keep across the cluster's nodes. Leave blank for the server default (usually 1). Example: 3.
vector_config
object
Optional
Named vector configuration: an object keyed by vector name, where each entry sets a vectorizer (module name mapped to its settings) and a vectorIndexType such as hnsw or flat. Use it instead of vectorizer when the collection needs one or more named vectors. Example: {"title_vector": {"vectorizer": {"text2vec-openai": {"properties": ["title"]}}, "vectorIndexType": "hnsw"}}.
vectorizer
string
Optional
Vectorizer module that turns objects into vectors, for a collection with one unnamed vector. Use none to supply your own vectors. The module must be enabled on the instance (see weaviate_meta_get). Do not combine with vector_config. Example: text2vec-openai.
weaviate_collection_delete
Delete collection
weaviate_collection_get
Get collection
weaviate_collection_list
List collection
weaviate_collection_object_count
Count collection object
weaviate_collection_property_add
Add collection property
weaviate_collection_shard_list
List collection shard
weaviate_graphql_query
Query graphql
weaviate_meta_get
Get meta
weaviate_node_list
List node
weaviate_object_batch_create
Create object batch
weaviate_object_create
Create object
weaviate_object_delete
Delete object
weaviate_object_get
Get object
weaviate_object_list
List object
weaviate_object_reference_add
Add object reference
weaviate_object_replace
Object replace
weaviate_object_search_bm25
Object search bm25
weaviate_object_search_hybrid
Object search hybrid
weaviate_object_search_near_text
Object search near text
weaviate_object_update
Update object
weaviate_object_validate
Validate object
weaviate_tenant_create
Create tenant
weaviate_tenant_get
Get tenant
weaviate_tenant_list
List tenant
Build your Agent
Same auth pattern across LangChain, OpenAI, Anthropic, and Google ADK.
Python · LlamaIndex
import { ScalekitClient } from "@scalekit-sdk/node";
import { createReactAgent } from "@langchain/langgraph/prebuilt";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

// Weaviate tools scoped to this user
const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["weaviate"], toolNames: [
    "weaviate_object_search_near_text",
    "weaviate_object_search_hybrid",
    "weaviate_collection_list"] },
  pageSize: 100,
});

const agent = createReactAgent({ llm, tools });
await agent.invoke({ messages: [{ role: "user", content: "List my collections, then search Articles for supply chain risk by meaning and by hybrid query" }] });
import OpenAI from "openai";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const openai = new OpenAI();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["weaviate"] }, pageSize: 100,
});

const res = await openai.chat.completions.create({
  model: "gpt-5",
  messages: [{ role: "user", content: "List my collections, then search Articles for supply chain risk by meaning and by hybrid query" }],
  tools,
});

// Execute the tool call with the user's vaulted Weaviate access token
await sk.tools.executeTool(res.choices[0].message.tool_calls[0], "user_123");
import Anthropic from "@anthropic-ai/sdk";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const anthropic = new Anthropic();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["weaviate"] }, pageSize: 100,
});

const msg = await anthropic.messages.create({
  model: "claude-sonnet-5",
  max_tokens: 1024,
  messages: [{ role: "user", content: "List my collections, then search Articles for supply chain risk by meaning and by hybrid query" }],
  tools,
});

// Tool call runs with the user's vaulted Weaviate access token
await sk.tools.executeTool(msg.content, "user_123");
import { Agent } from "@google/adk/agents";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["weaviate"] }, pageSize: 100,
});

const agent = new Agent({
  name: "vector_search_agent",
  model: "gemini-2.5-pro",
  instruction: "Weaviate tools scoped to this user",
  tools,
});

await agent.run("List my collections, then search Articles for supply chain risk by meaning and by hybrid query");
Try these prompts
Copy any prompt into your agent. Each maps directly to a Weaviate tool. Click to copy, paste into your agent, done.
Search collections
Copy the prompt
Copied
Search the Articles collection for supply chain risk by meaning.
Copy the prompt
Copied
Run a hybrid search for refund policy in the Docs collection.
Copy the prompt
Copied
Search the Products collection for waterproof with BM25.
Schema and tenants
Copy the prompt
Copied
List every collection in my schema.
Copy the prompt
Copied
How many objects are in the Articles collection?
Copy the prompt
Copied
List the tenants of the Customers collection.
Objects and cluster
Copy the prompt
Copied
Create an object in the Notes collection.
Copy the prompt
Copied
Show the status of the cluster nodes.
Copy the prompt
Copied
Delete this object from the Notes collection by UUID.
SEE HOW AUTH WORKS
Each user connects their own Weaviate access token once, and Scalekit sends it with every call. Tokens stay vaulted, every call is scope checked, and every action is logged.
1
Authorize
Your user connects
Weaviate
once. We tie it to their identity and the access they approved, with no shared bot account and no org-wide access
Who:
user ‘A’
when:
Once per user
access:
Limited to user
2
Store
Their
Weaviate
credential lives in a vault scoped to them. User A's data is never reachable by an agent acting for user B, even on the same connection
vault:
encrypted
scope:
per-user
tenants:
isolated
3
Resolve
When your agent calls a
Weaviate
tool, we fetch the right credential server-side. It never touches your agent, never appears in the LLM context, never shows up in your logs
speed:
~40ms
check:
before every call
seen by:
nobody
4
Audit
Every
Weaviate
tool call is logged: who triggered it, which tool ran, what came back. 90 days of history, tied to the user who authorized it
history:
90 days
export:
SIEM-ready
logged:
every call
Test other agents
See the same per-user auth pattern across other database and AI connectors.
GTM and RevOps Teams
Competitive intelligence briefing agent
Scans Gong calls for competitor mentions, matches each one to its Notion battlecard, and DMs every affected rep a single Slack digest per cycle. Every call runs as the PMM who owns the briefing, never a shared bot.
Test other agents
See the same per-user auth pattern across other database and AI connectors.
GTM
Competitive intelligence briefing agent
Scan Gong calls for competitor mentions, match each one to its Notion battlecard, and DM every affected rep a single Slack digest.
Why Scalekit
Secure your agent's access. Connectors ship in minutes
01.
Shared tokens break per-user analytics
A shared Weaviate access token looks fine in a demo. In production every object write and delete looks like one service account, and you cannot tell which user triggered it. Scalekit resolves the credential of the actual user who triggered the agent, never a shared bot.
// shared token
audit → bot_service_account

// scalekit
audit → user_abc ✓
02.
Authentication is not authorization
03.
Multi-tenancy is architectural
04.
Weaviate today. Ten connectors tomorrow.
“Our agents act across Salesforce, Gong, Google Drive, and more, on behalf of every customer. Scalekit behind the scenes meant we can keep adding tools without ever rebuilding how credentials or tool calling work.”
Venu Madhav Kattagoni
Head of Engineering / Von
FAQs
Frequently Asked Questions
Does the agent access Weaviate as the user or through a shared token?
As the user. Each user connects their own Weaviate access token once, and Scalekit sends it with every call. Every object write and delete in your audit trail is attributed to that user, not a shared service account.
Where is the Weaviate access token stored?
In Scalekit's managed AES-256 token vault, namespaced per tenant. To rotate it, the user reconnects with a new access token. Revocation is a single dashboard action. Credentials never appear in prompts, logs, or LLM context.
Can I limit what the agent does in Weaviate?
Yes. Filter by tool name in listScopedTools to expose only what you want, for example the search and read tools without weaviate_collection_delete, which deletes a collection together with all of its objects, or weaviate_object_delete. Scalekit also enforces scope checks before every API call.
What happens when a user revokes Weaviate access?
The connection is invalidated on the next tool call. Subsequent requests for that user fail closed with a clear error. Other users in the tenant remain unaffected. The event is logged for audit.
Can the agent run raw GraphQL?
Yes. weaviate_graphql_query runs any Weaviate GraphQL query, including Get with nearText, nearVector, nearObject, and hybrid searches. Leave it out if you want the agent limited to the fixed search tools.
Start in your coding agent
Up and running in one command
Install the Scalekit skill in your editor of choice. Connector, auth, tools, prompt, all wired up
Claude Code REPL
/plugin marketplace add scalekit-inc/claude-code-authstack
/plugin install agentkit@scalekit-auth-stack
Cursor Code REPL
# ~/.cursor/mcp.json
{
""mcpServers"": {
""weaviate"": {
""url"": ""https://mcp.scalekit.com/weaviate"",
""headers"": { ""Authorization"": ""Bearer $SCALEKIT_TOKEN"" }
}
}
}
Codex Code REPL
# ~/.codex/config.toml
[mcp_servers.weaviate]
url = ""https://mcp.scalekit.com/weaviate""
auth_env = ""SCALEKIT_TOKEN""
Copilot Code REPL
# .vscode/mcp.json
{
""servers"": {
""weaviate"": {
""url"": ""https://mcp.scalekit.com/weaviate"",
""type"": ""http""
}
}
}