Skip to main content
Glama
Devidas-07

MCP-Based Enterprise Knowledge Search Assistant

by Devidas-07

MCP-Based Enterprise Knowledge Search Assistant

This repository contains a proof-of-concept implementation of an enterprise knowledge assistant that compares a traditional RAG-style experience with an MCP-driven retrieval flow.

Architecture

  • Frontend: Claude Desktop style chat experience

  • Backend: FastAPI + Python 3.12

  • Retrieval: Elasticsearch-style hybrid search abstraction with BM25 + dense vector similarity

  • LLM: Ollama with gemma3:latest

  • MCP: Custom Python MCP-style tool server exposing domain-specific retrieval tools

Related MCP server: mcp-rag-assistant

Key features

  • Question routing to the correct MCP tool

  • Hybrid retrieval with ranked chunks and source citations

  • Ollama integration for answer generation

  • Evaluation metrics logging to JSON

  • Docker Compose support for local development

Running locally

  1. Install dependencies:

    • pip install -e .

  2. Start Ollama and ensure gemma3:latest is available.

  3. Start the API:

    • uvicorn app.core.app:app --reload

  4. Call the chat endpoint:

    • POST /chat with { "question": "What is the maternity leave policy?" }

Sample questions

  • What is the maternity leave policy?

  • How do I submit a travel reimbursement request?

  • What are the annual appraisal guidelines?

  • What should I do for a security incident?

Evaluation

Run the evaluation helper to write a metrics record:

from app.services.evaluation import EvaluationService

service = EvaluationService()
print(service.compare("What is the maternity leave policy?"))
F
license - not found
Not graded
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    Not graded
    quality
    C
    maintenance
    Provides RAG-based knowledge retrieval and document management as MCP tools, supporting hybrid search, reranking, and retrieval process visualization.
  • F
    license
    Not graded
    quality
    B
    maintenance
    MCP server for a modular RAG system that enables natural language question answering over enterprise documents with intent-aware routing, adaptive retrieval, and citation-backed responses.

View all related MCP servers

Related MCP Connectors

  • Apple Developer Documentation with Semantic Search, RAG, and AI reranking for MCP clients

  • Multi-engine search for AI agents. Trust scoring, local corpus, MCP-native. Self-hostable, BYOK.

  • Search your knowledge bases from any AI assistant using hybrid RAG.

View all MCP Connectors

Latest Blog Posts

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/Devidas-07/mcp-based-rag'

If you have feedback or need assistance with the MCP directory API, please join our Discord server