Set up Weaviate in Metorial for Claude, ChatGPT and Cursor
Share Weaviate with your team in Claude, ChatGPT and Cursor through Metorial: API key or OIDC bearer token sign-in, 20 tools (9 read-only).
To give your team Weaviate in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Weaviate integration in a Metorial portal, and each person connects with an API key. Agents can store, search, and manage data objects with vector embeddings in an AI-native vector database. The integration has 20 tools, 9 read-only, 6 write and 5 destructive, plus 1 trigger.
What you'll learn
- How an admin shares Weaviate in a portal and how each person connects
- What Weaviate asks for when you connect, and where to find it
- How to keep the 9 read-only tools and reject the other 11
Before you start
- A portal with at least one access group
- An API key from Weaviate for each person, or one for a shared connection
- For the CLI steps: the Metorial CLI, signed in to your portal
Sign-in methods
| Method | Type | What a person provides |
|---|---|---|
| API Key (default) | API token | apiKey |
| OIDC Bearer Token | Custom credentials | accessToken |
The portal and metorial setup use API Key unless someone picks another method.
API Key
To connect, a person enters:
apiKey: Weaviate API key for authentication
OIDC Bearer Token
To connect, a person enters:
accessToken: OIDC access token for authentication
Setup settings
Whichever method you pick, setup also asks for:
instanceUrl: The REST endpoint URL of the Weaviate instance (e.g. https://my-cluster.weaviate.network)
Admin: share Weaviate in a portal
In the dashboard
Open Shared Resources
Open Workforce, choose the portal, and select Shared Resources under Access.
Share a new integration
Select Share a Resource, then New Integration, and choose Weaviate. Under Auth Method, keep API Key or pick another. For how members connect, choose Each person connects so everyone enters their own API key, or Shared connection to enter one API key for everyone.
Limit the tools
Under Tool Filters, set the write and destructive groups to Reject if agents should only read from Weaviate.
Choose who gets it
Add the access groups that should see Weaviate. When a person asks for access from the portal, the request appears under Access Requests.
With the CLI
The CLI cannot create the per-user Weaviate integration. Once it exists, check which groups have it:
Employee: connect Weaviate
In the portal
Open Weaviate in the catalog
Sign in to your portal and open Weaviate. The status reads Available.
Authenticate
Under Quick setup, select Authenticate. In the setup window, enter your API key (apiKey).
Confirm
The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.
With the CLI
catalog search prints the catalog item ID. metorial setup uses API Key. To connect with OIDC Bearer Token instead, find its ID with metorial catalog get <catalog-item-id> and add --auth-method <auth-method-id>.
Add it to your AI client
metorial install adds your Weaviate connection to a local MCP client such as Claude Code, Cursor or Codex. metorial list prints the integration ID and metorial client list the client identifiers.
For a client that takes a server URL, such as ChatGPT, metorial install custom <integration-id> creates an installation token and shows the endpoint details.
Make it read-only
Open the integration's Tool Filters and set the write and destructive groups to Reject. Agents keep the 9 read-only tools, such as get_object and list_objects, and lose the 6 write tools, such as create_object or update_object, and the 5 destructive tools, such as delete_object or manage_backup.
Employees see the result on the integration's page in the portal under Tool access. For the full walkthrough, see Tool permissions.
Check it worked
metorial tools lists the 20 tools, minus any you rejected. list_collections takes no input. It lists all collections (classes) in the Weaviate instance.
To see every input a tool takes, run metorial schema <integration-id> <tool-key>.
Tools
Read-only tools (9)
list_objects: List objects from a collection using the REST API. NeedscollectionName.search_objects: Search for objects in a Weaviate collection using various search methods: - **nearText**: Semantic search using natural language concepts (requires a text vectorizer) - **nearVector**: Search by raw vector similarity - **nearObject**: Find objects similar to an existing object - **hybrid**: Combined vector + keyword search with configurable weighting - **bm25**: Pure keyword search using BM25 ranking Exactly one search method must be provided. NeedscollectionNameandproperties.get_collection: Retrieve the full schema definition of a specific collection, including its properties, vectorizer configuration, module settings, vector index type, and multi-tenancy configuration. NeedscollectionName.aggregate_collection: Run aggregation queries over a collection to compute metrics like counts, sums, averages, min/max, top occurrences, and more. NeedscollectionNameandgraphqlBody.list_collections: List all collections (classes) in the Weaviate instance.get_object: Retrieve a specific object from a collection by its UUID. NeedscollectionNameandobjectId.cluster_status: Get comprehensive information about the Weaviate instance including version, module list, cluster health, and node statuses with shard and object counts.generative_search: Perform Retrieval Augmented Generation (RAG) by searching a collection and prompting an LLM with the retrieved results. NeedscollectionName,propertiesandsearchQuery.get_current_user: Get the authenticated Weaviate username, assigned roles, and groups.
Write tools (6)
update_object: Update an existing object's properties in a collection. NeedscollectionName,objectIdandproperties.create_collection: Create a new collection (class) in Weaviate with its schema definition. NeedscollectionName.update_collection: Update an existing collection's settings or add new properties. NeedscollectionName.batch_create_objects: Import multiple objects into one or more collections in a single batch request. Needsobjects.create_object: Create a new data object in a Weaviate collection. NeedscollectionNameandproperties.manage_references: Add or remove cross-references between objects across collections. Needsaction,collectionName,objectId,referenceProperty,targetCollectionNameandtargetObjectId.
Destructive tools (5)
batch_delete_objects: Delete multiple objects from a collection that match a given where filter. NeedscollectionNameandwhere.delete_object: Delete a specific object from a collection by its UUID. NeedscollectionNameandobjectId.delete_collection: Permanently delete a collection and all its objects from the Weaviate instance. NeedscollectionName.manage_backup: Create, restore, or check the status of a Weaviate backup. Needsaction,backendandbackupId.manage_tenants: Manage tenants in a multi-tenant collection. NeedscollectionNameandaction.
Triggers
Weaviate has 1 trigger, which fire on events in Weaviate:
inbound_webhook
Next steps
- Claude Code, Cursor, Codex and ChatGPT: connect each client to your portal and use Weaviate there
- Tool permissions: tool filters and what employees see
- Weaviate on metorial.com: the integration overview