What tools are available in MCP with RAG Demo?
The demo provides five tools: `echo`, `add`, `add_document`, `rag_search`, and `list_documents`. Each tool has a specific purpose, such as echoing messages or adding documents to the knowledge base.
@thinklytics
Basic information
This demonstration project shows how to implement a Model Context Protocol (MCP) server with Retrieval-Augmented Generation (RAG) capabilities. The demo allows AI models to interact with a knowledge base, search for information, and add new documents.
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mcp-demo-thinklytics": {
"command": "python",
"args": [
"-m",
"venv",
"mcp-env"
]
}
}
}Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
MCP with RAG Demo is an example implementation of a Model Context Protocol (MCP) server integrated with Retrieval-Augmented Generation (RAG) capabilities. It allows AI models to interact with a knowledge base, search for information, and add new documents. The project is intended for developers learning how to build MCP servers with RAG.
Install dependencies with pip install -r requirements.txt, then start the MCP server in either SSE mode (python server.py --sse) or stdio mode (python server.py --stdio). Run the client example with python client_example.py --sse http://localhost:8000 for SSE or python client_example.py --stdio --command python --args "server.py --stdio" for stdio. An OpenAI integration example is also available via python openai_example.py after setting the OPENAI_API_KEY environment variable.
The demo provides five tools: `echo`, `add`, `add_document`, `rag_search`, and `list_documents`. Each tool has a specific purpose, such as echoing messages or adding documents to the knowledge base.
The server supports SSE (HTTP) mode using Server-Sent Events and stdio mode for standard input/output communication. Default SSE host is `0.0.0.0:8000`, customizable with `--host` and `--port`.
Python 3.8+ and pip are required. Dependencies are listed in `requirements.txt` and include the `mcp-sdk` package. An OpenAI API key is needed for the OpenAI example.
The knowledge base uses in-memory storage (no persistent database). Documents are held only while the server is running. Sample data is available from the `sample://data` resource.
Ensure the server is running in another terminal, check the URL (default `http://localhost:8000`), and verify the server is listening on the expected interface. Use `--debug` for verbose output. The client automatically appends `/sse` if missing.
Person-owned, portable AI memory served over MCP. Your knowledge, preferences, and decisions — captured in one assistant, available in all of them.

Personal context for every AI: search, read, and write back to your private Markdown library of articles, threads, PDFs, notes, and captured ChatGPT/Claude/Gemini/Grok conversations. Remote server, OAuth 2.1 paste-and-au
Local MCP server and CLI that keeps a Git-versioned, model-written index of a codebase and its database schema, so coding agents start each task with the whole system in view.

One permissioned folder your team and your AI agents both log into.

Scento Perfume API is a free fragrance API and perfume notes database for developers and AI agents. Search 1,500+ perfumes and 400+ ingredients, compare scents, find similar perfumes, map scent families and build occasio
Comments