> Documentation index: https://metorial.com/llms.txt. Every page is available as Markdown by adding .md to its URL.

# Set up Weaviate in Metorial for Claude, ChatGPT and Cursor
URL: https://metorial.com/docs/integrations/weaviate
Last updated: 2026-11-24

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 will 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](https://metorial.com/docs/platform/workforce/portals) 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](https://metorial.com/docs/platform/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

1. **Open Shared Resources**

   Open **Workforce**, choose the portal, and select **Shared Resources** under **Access**.

2. **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.

3. **Limit the tools**

   Under **Tool Filters**, set the write and destructive groups to **Reject** if agents should only read from Weaviate.

4. **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:

```bash
metorial-admin portals access list <portal-id> --type provider_template --search weaviate
```

## Employee: connect Weaviate

### In the portal

1. **Open Weaviate in the catalog**

   Sign in to your portal and open Weaviate. The status reads **Available**.

2. **Authenticate**

   Under **Quick setup**, select **Authenticate**. In the setup window, enter your API key (apiKey).

3. **Confirm**

   The status changes to **Configured**. If it later reads **Needs reconnect**, select **Reconnect** and sign in again.

### With the CLI

```bash
metorial catalog search weaviate
metorial setup <catalog-item-id>
```

`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.

```bash
metorial list weaviate
metorial client list
metorial install <client-identifier> <integration-id>
```

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](https://metorial.com/docs/platform/guides/tool-permissions).

## Check it worked

```bash
metorial list weaviate
metorial tools <integration-id>
metorial call <integration-id> list_collections -d '{}'
```

`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. Needs `collectionName`.
- `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. Needs `collectionName` and `properties`.
- `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. Needs `collectionName`.
- `aggregate_collection`: Run aggregation queries over a collection to compute metrics like counts, sums, averages, min/max, top occurrences, and more. Needs `collectionName` and `graphqlBody`.
- `list_collections`: List all collections (classes) in the Weaviate instance.
- `get_object`: Retrieve a specific object from a collection by its UUID. Needs `collectionName` and `objectId`.
- `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. Needs `collectionName`, `properties` and `searchQuery`.
- `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. Needs `collectionName`, `objectId` and `properties`.
- `create_collection`: Create a new collection (class) in Weaviate with its schema definition. Needs `collectionName`.
- `update_collection`: Update an existing collection's settings or add new properties. Needs `collectionName`.
- `batch_create_objects`: Import multiple objects into one or more collections in a single batch request. Needs `objects`.
- `create_object`: Create a new data object in a Weaviate collection. Needs `collectionName` and `properties`.
- `manage_references`: Add or remove cross-references between objects across collections. Needs `action`, `collectionName`, `objectId`, `referenceProperty`, `targetCollectionName` and `targetObjectId`.

### Destructive tools (5)

- `batch_delete_objects`: Delete multiple objects from a collection that match a given where filter. Needs `collectionName` and `where`.
- `delete_object`: Delete a specific object from a collection by its UUID. Needs `collectionName` and `objectId`.
- `delete_collection`: Permanently delete a collection and all its objects from the Weaviate instance. Needs `collectionName`.
- `manage_backup`: Create, restore, or check the status of a Weaviate backup. Needs `action`, `backend` and `backupId`.
- `manage_tenants`: Manage tenants in a multi-tenant collection. Needs `collectionName` and `action`.

## Triggers

Weaviate has 1 trigger, which fire on events in Weaviate:

- `inbound_webhook`

## Next steps

- [Claude Code](https://metorial.com/docs/platform/clients/claude-code), [Cursor](https://metorial.com/docs/platform/clients/cursor), [Codex](https://metorial.com/docs/platform/clients/codex) and [ChatGPT](https://metorial.com/docs/platform/clients/chatgpt): connect each client to your portal and use Weaviate there
- [Tool permissions](https://metorial.com/docs/platform/guides/tool-permissions): tool filters and what employees see
- [Weaviate on metorial.com](https://metorial.com/integrations/weaviate): the integration overview