---
title: "Build a Coding Assistant with Weaviate MCP: RAG over Code & Docs"
url: https://daily.dev/posts/build-a-coding-assistant-with-weaviate-mcp-rag-over-code-docs-y9occpmhd
source_url: https://weaviate.io/blog/coding-assistant-weaviate-mcp
type: article
source: "Weaviate"
published: 2026-05-21T14:08:12.536Z
updated: 2026-05-21T14:08:38.170Z
tags: ["mcp", "rag", "vector-search", "weaviate"]
reading_time: 10
upvotes: 0
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Build a Coding Assistant with Weaviate MCP: RAG over Code & Docs

**[Weaviate](https://daily.dev/sources/weaviate)** · 10 min read · 0 upvotes · 0 comments

## Summary

A step-by-step guide to building a coding assistant using Weaviate's built-in MCP server (available since v1.37.1) to enable RAG over a private codebase and documentation. The setup involves enabling the MCP server via environment variables, designing two Weaviate collections (code chunks and doc chunks) with appropriate tokenization, ingesting code using AST-aware chunking (Python's ast module or tree-sitter) and docs using heading-based chunking, then connecting Claude Code, Cursor, and VS Code to the same Weaviate endpoint. Hybrid search (BM25 + vector) is highlighted as key for code retrieval since it handles both exact identifier matching and semantic intent queries. The post also covers multi-tenancy for multi-repo organizations, RBAC auth, agent write-back for long-term memory, and embedding model choices.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://weaviate.io/blog/coding-assistant-weaviate-mcp>

## Similar posts on daily.dev

- [Weaviate 1.37 Release](https://daily.dev/posts/weaviate-1-37-release-nnexx0ui6) · Weaviate · 7 upvotes · 0 comments
- [Weaviate 1.38 Release](https://daily.dev/posts/weaviate-1-38-release-cmpzbrcst) · Weaviate · 2 upvotes · 0 comments

---

Tags: [#mcp](https://daily.dev/tags/mcp), [#rag](https://daily.dev/tags/rag), [#vector-search](https://daily.dev/tags/vector-search), [#weaviate](https://daily.dev/tags/weaviate)

[View this post on daily.dev](https://daily.dev/posts/build-a-coding-assistant-with-weaviate-mcp-rag-over-code-docs-y9occpmhd)
