
Simple MCP RAG
Supports UIby takumi-hirata-mntsq
A Python-based RAG application connecting Gemini function calling to MCP servers via Streamable HTTP.
What it does
Simple MCP RAG is a demonstration of Retrieval-Augmented Generation (RAG) that uses Google Gemini's function calling capabilities to interact with an MCP server. It utilizes FastAPI and FastMCP to expose search capabilities from an Elasticsearch backend to the AI model.
Tools
- Search: Allows the AI to query an Elasticsearch index for relevant documents to ground its responses.
Installation
Run the server using uv:
uv run --env-file .env uvicorn server.main:app
Configure your MCP client to point to the FastAPI server endpoint.
Supported hosts
- Gemini CLI
Quick install
uv sync && uv run --env-file .env uvicorn server.main:appInformation
- Pricing
- free
- Published
- 5/3/2026
- stars





