rag-db-advisor
Provides measured advice on using ClickHouse as a vector database backend, including latency, quality comparisons, and operational traps.
Provides measured advice on using Milvus as a vector database backend, including latency, quality comparisons, and operational traps.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@rag-db-advisorcompare pgvector and Qdrant for 10k docs"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
rag-db-advisor

A RAG that answers RAG-stack questions — every claim backed by rag-retriever-bench measurements. Ask it which vector backend fits your workload, what a latency number actually means, or which operational trap you are about to step on. It only answers from measured evidence.
$ rag-db-advisor ask "10万件・日本語・更新頻度高めならどのDB?"Why this exists
Vector-DB comparisons are usually opinions. This one is a closed loop:
Measure — rag-retriever-bench runs 9 backend configurations over the same corpus (MIRACL-ja), same embeddings, same queries, same metrics
Distill — results + the operational traps hit during measurement become the knowledge base (
knowledge/)Serve — this package retrieves that evidence for your question, over MCP or CLI
Dogfood — the retrieval layer imports rag-retriever-bench's own
BaseRetrieverabstraction. The bench data shows every HNSW backend is quality-tied at this corpus size (recall@10 0.979–0.983 @10k), so the store picks the operationally lightest option: Chroma embedded. The advisor follows its own advice.
Related MCP server: RAG Memory MCP
Install
pip install git+https://github.com/kenimo49/rag-db-advisor
export OPENAI_API_KEY=sk-... # embeddings only (text-embedding-3-small)
rag-db-advisor ingest # build the local store (54 chunks in v0.1, well under a minute)Use from Claude Code / Claude Desktop (MCP)
claude mcp add rag-db-advisor -- rag-db-advisor mcpTools:
tool | what it does |
| retrieve measured evidence for a free-form question; the calling LLM synthesizes the answer |
| full comparison table at 10k / 100k docs (quality, latency, build time, index verification) |
| operational traps actually hit during measurement |
No generation key needed server-side — MCP returns evidence, your LLM writes the answer.
Use from the CLI
rag-db-advisor ask "ClickHouseのベクトル検索が遅い。何を疑う?" # evidence only
rag-db-advisor ask "pgvectorとQdrantどっち?" --llm # + OpenAI synthesisWhat it knows (v0.1)
9 backend configurations: pgvector, ClickHouse (HNSW ×2 granularities + brute force), Qdrant, Weaviate, Milvus, Chroma, LanceDB
2 corpus scales: 10k / 100k MIRACL-ja passages, 860 human-annotated queries
Operational trap catalog: silent index degradation (3 distinct backends), shared-memory limits, load-visibility issues — each one reproduced, fixed, and written down
Methodology caveats baked into answers: embedded vs server latency is not directly comparable; numbers are MIRACL-ja + text-embedding-3-small on a single node — measure your own data before deciding
Design notes
The advisor never generates verdicts. It returns measured evidence and lets the calling LLM (or human) synthesize the answer — retrieval failures surface as explicit errors so nobody silently falls back to prior knowledge.
Every chunk in the knowledge base traces back to either a bundled bench record (
knowledge/results/*.jsonl) or a hand-written operational note (knowledge/ja/*.md). Notes only cover behavior that was reproduced during the underlying bench work — speculative advice is out of scope by policy.The retriever imports rag-retriever-bench's own
BaseRetrieverand picks Chroma because the bench data says every HNSW backend is quality-tied at this corpus size. The advisor follows its own advice.
Full write-up: docs/methodology.md. Extending the knowledge base: docs/adding-knowledge.md.
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/kenimo49/rag-db-advisor'
If you have feedback or need assistance with the MCP directory API, please join our Discord server