Observed since 20 Oct, 23:06 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
RAG MCP server: ChromaDB + sentence-transformers, exposes ingest/search/list/delete tools.
Agent_rag is a RAG (Retrieval-Augmented Generation) MCP (Model Context Protocol) Server. It uses ChromaDB for vector storage and provides flexible embedding options—from lightweight Ollama integration to local ONNX models—with zero external dependencies.
This server exposes several MCP tools for the orchestrator (Agent_head) or any other MCP client:
rag_ingest — Ingest documents, directories, or raw text into a collectionrag_search — Perform semantic search against your knowledge baserag_list_collections — List all active collectionsrag_delete_collection — Delete a specific collectionconfig.yaml for chunk size, collections, embedding models, and provider selectionFor a complete installation guide with size comparisons, troubleshooting, and provider-specific setup:
👉 See INSTALLATION.md
cd Agent_rag
python setup_agent_rag.py
This interactive script guides you through provider selection and runs the appropriate installation command.
For Ollama (lightweight, ~50 MB):
uv install .[ollama]
python server.py
For Local Offline (ONNX, ~300 MB):
uv install .[local]
python server.py
For GPU (PyTorch acceleration, ~1.2 GB):
uv install .[gpu]
python server.py
For All Providers (complete setup):
uv install .[all]
python server.py
uvxYou can run the published MCP server directly. uvx will automatically download and run the latest version:
uvx agent-rag-mcp
Transport Modes
By default, the server runs in stdio transport mode (designed to be spawned as a subprocess by MCP clients like Agent_head).
To run it over HTTP using Server-Sent Events (SSE):
uvx agent-rag-mcp --transport sse --port 8002 --host 0.0.0.0
If you published the package to TestPyPI instead of the main PyPI, run it via:
uvx --extra-index-url https://test.pypi.org/simple/ --index-strategy unsafe-best-match agent-rag-mcp@latest
The embedding provider and collection behavior are configured in config.yaml:
embeddings:
provider: "ollama" # Options: "ollama", "onnx"
ollama_base_url: "http://localhost:11434" # Ollama service URL
ollama_model: "nomic-embed-text" # Ollama embedding model
# For ONNX provider:
# model: "all-MiniLM-L6-v2"
# device: "cpu" # Options: "cpu", "cuda"
database:
persist_directory: "./chroma_db"
document_processing:
chunk_size: 1000
chunk_overlap: 200
For detailed configuration options and provider-specific settings, see INSTALLATION.md.
Agent_headTo connect this RAG server to your Agent_head orchestrator, add the following configuration to Agent_head/config.yaml:
memory:
enabled: true
backend: "rag"
# Configure this if backend is set to "rag"
rag_server:
command: "uvx"
args: ["agent-rag-mcp"] # Or ["--from", "/path/to/local/Agent_rag", "agent-rag-mcp"] for local development
collection: "agent_memory"
If you are developing this package locally:
uv sync
uv run agent-rag-mcp
python test_mcp_client.py
uv build
Agent_rag uses a modular provider system:
For more details, see INSTALLATION.md.
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 1.1.9 | 12 Jul 2026 | 10 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 23:06 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:0fc029bdf30e4c459864a584fa59ea4f04e9da7b60be50dbe61cca51865bdbc1