Connect OpenCode to Weaviate
What happens next
Set up in minutes
Choose where it runs
On your computer through your own OpenCode, or hosted in the cloud. The rest of setup adapts to your choice:
Pick what it can do in Weaviate
A preset of real Weaviate operations. Each one becomes a tool the agent can call, and it can't touch anything outside the list.
Connect Weaviate
One sign-in. The agent acts through your account, scoped to the operations you picked.
Add your personal MCP link
The last step mints a private MCP URL for this agent and walks you through exactly this, with your real link filled in. The page flips to Connected the moment your OpenCode first calls in.
1. Run this in your terminal
2. Choose Remote and paste your server URL
3. Choose No when asked about OAuth authentication — the link itself is the key
<your-link> is your personal server URL — setup mints it for you.
Exact capabilities
Tools OpenCode gets
Weaviate
14 toolsVector similarity search (GraphQL nearVector).
Semantic search by text (GraphQL nearText — requires the class to have a text2vec vectorizer module).
Hybrid BM25 + vector search (GraphQL hybrid).
Generative search (RAG): retrieve objects then generate text with an LLM (GraphQL generate). The collection must have a generative module configured in its schema (e.g. generative-openai, generative-anthropic, generative-cohere). Pass the corresponding API key in the credential. Provide single_prompt, group_task, or both.
Aggregate statistics over a collection (GraphQL Aggregate — count, mean, topOccurrences, etc.).
Insert an object (REST).
Get an object by ID (REST).
Partial update (PATCH /v1/objects/{class}/{id}) — merges provided fields.
Delete an object by ID (REST).
List collections (schema classes).
Create a collection (schema class).
Drop a collection and ALL of its objects — permanent.
Batch-delete objects matching a where filter (up to 10,000 per call).
Upload a document file, chunk + embed it, and batch-insert objects.
Starting points
What you can build
Meet the runner
About OpenCode
Good to know
Frequently asked questions
Keep exploring
More ways to connect
More tools for OpenCode
Use Weaviate with other agents
Make it yours
Open your OpenCode agent in one click.
NoClick runs OpenCode for you with Weaviate wired in as tools. Connect your account and run.