Agent♥︎Age
Catalog

io.github.jaimenbell/rag-mcp

Official

by jaimenbell · Python

Minimal RAG-over-a-corpus MCP retrieval: search_knowledge returns cited chunks. Local embeddings.

io.github.jaimenbell/rag-mcp MCP Server

This MCP server provides minimal RAG-over-a-corpus retrieval. It exposes one tool, search_knowledge(query, k), which embeds the input query, performs vector search over a local corpus, and returns matched passages with citations for traceable results.

🛠️ Key Features

  • One tool: search_knowledge(query, k)
  • Embeds queries for retrieval
  • Vector-searches a local corpus
  • Returns passages with citations (source + heading + chunk index)

🚀 Use Cases

  • Retrieving relevant passages from a local corpus
  • Building traceable answers by using cited retrieval chunks
  • Integrating as a retrieval component in an MCP setup (e.g., mcp-factory)

⚡ Developer Benefits

  • Designed to “slot into” the mcp-factory manifest model
  • Fully local approach (as stated in the excerpt)
  • Avoids paid embedding APIs ($0 stated in the excerpt)

⚠️ Limitations

  • Minimal design centered on a single retrieval tool (search_knowledge)

Topics

embeddingsmcpmodel-context-protocolragvector-search