Tiny Chat MCP Server

$pip install -r requirements.txt
README.md

A lightweight RAG system for searching vector-based knowledge bases

Tiny Chat

Installation

Tested with Python 3.10 or later

Development Installation

pip install -r requirements.txt

Package Installation

# Build the package
pip install build
python -m build

# Install the built package
pip install dist/*.whl

Web Interface Usage

Running from source (development)

streamlit run tiny_chat/main.py --server.address=127.0.0.1

only database (development)

streamlit run tiny_chat/main.py --server.address=127.0.0.1 -- --database

Running installed package

tiny-chat

only database

tiny-chat --database

img.png

MCP Usage

Claude Desktop example.

{
  "mcpServers": {
    "tiny-chat": {
      "command": "/path/to/tiny_chat/.venv/bin/tiny-chat-mcp",
      "env": {
        "DB_CONFIG": "/path/to/tiny_chat/database_config.json"
      }
    }
  }
}

OpenAI Chat API RAG Server Usage

tiny-chat-api

model: target search qdrant collection name (model change in conversation).

curl http://localhost:8080/v1/chat/completions   -H "Content-Type: application/json"   -d '{"model": "qdrant-collection-name", "messages": [{"role": "user", "content": "カレーライスの材料は?"}]}'

Environment Variables

DB_CONFIGrequiredPath to the database configuration JSON file

Configuration

claude_desktop_config.json
{"mcpServers": {"tiny-chat": {"command": "/path/to/tiny_chat/.venv/bin/tiny-chat-mcp", "env": {"DB_CONFIG": "/path/to/tiny_chat/database_config.json"}}}}

Try it

Search the Qdrant knowledge base for information about curry rice ingredients.
Retrieve relevant documents from the vector database to answer my question.
Use the Tiny Chat RAG system to find information in my local collections.

Frequently Asked Questions

What are the key features of Tiny Chat?

Retrieval-augmented generation (RAG) across Qdrant collections. Standardized MCP interface for vector-based knowledge bases. Support for OpenAI Chat API compatible RAG server. Streamlit-based web interface for database management.

What can I use Tiny Chat for?

Searching local vector databases directly from Claude Desktop. Building a lightweight knowledge retrieval system for personal documents. Interacting with Qdrant collections through a standardized MCP protocol. Providing an OpenAI-compatible API for local RAG workflows.

How do I install Tiny Chat?

Install Tiny Chat by running: pip install -r requirements.txt

What MCP clients work with Tiny Chat?

Tiny Chat works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Use Tiny Chat with Conare

Manage MCP servers visually, upload persistent context, and never start from zero with Claude Code & Codex.

Try Free