Build a coding assistant with Weaviate MCP: RAG over code & docs
· One min read
Originally published on the Weaviate blog
A coding assistant is only as good as the context you can feed it. This walkthrough builds one that retrieves over your own code and documentation using Weaviate's built-in MCP server.
It covers the pieces that make retrieval over a codebase actually work:
- Schema design for code and docs living side by side.
- AST-based chunking so code is split along meaningful boundaries instead of arbitrary line counts.
- Markdown ingestion for pulling documentation into the same searchable store.
- Hybrid search to combine semantic and keyword matching.
- Editor integration with Claude Code, Cursor, and VS Code through MCP.
