Enterprise DNAEnterprise DNA
MMCP Serverslow

Vbj1808/retrieval-lens

by Various

MCP server that audits RAG retrieval - logs what chunks the model saw before any answer was generated

MCP

Vbj1808/retrieval-lens

Added 11 June 2026

#audit#llm#mcp#mcp-server#observability#rag#retrieval#typescript
Catalogue record, not a reviewed recommendation. This record can include automatically collected descriptions and setup details. Confirm important claims with the original source. Explore source-reviewed tools.

Overview

Vbj1808/retrieval-lens is an MCP server that audits RAG retrieval. It logs the chunks the model saw before any answer was generated. This provides transparency into which retrieved documents influenced the response.

Best for

Best for
Developers debugging and auditing RAG retrieval pipelines

Use cases

  • Debugging RAG pipelines to see which chunks were used
  • Auditing model citations in generated answers
  • Verifying retrieval accuracy in production systems

How to use

Install

npx retrieval-lens

Tools exposed

  • retrieval_observe
  • retrieval_query
  • retrieval_diff
  • retrieval_stats

Clients listed in this record (not verified here)

Claude Code

Notes

1 stars on GitHub. Last updated 2026-06-08. Licensed MIT.

Pros

  • Provides direct visibility into retrieved chunks
  • Lightweight MCP server integration
  • Open source and easy to inspect

Cons

  • Low adoption and limited community support
  • Only logs chunks without evaluating relevance
  • Requires manual inspection of logs for insights

Open-source & AI alternatives

Swap-in tools that solve the same job. Weigh the trade-offs before you commit.

Pairs with

Other entries in the index that connect to this one. Click through to see the chain.

Free 27-page guide

Get the free Developer’s Field Guide

A 27-page field guide to the AI coding workflow with Claude. Claude Code, MCP servers, the prompt patterns that work, and what to delegate. Free.

Enter your work email. We send it straight over, plus a few short notes worth knowing. Unsubscribe any time.

No spam. Unsubscribe any time.