xinPlugin_Chroma_fastMCP
Provides vector retrieval over documents stored in MinIO, enabling semantic and keyword search across uploaded PDF/txt/md files with source citations (file, page, line).
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
xinPlugin_Chroma_fastMCP
The vector retrieval layer for the MinIO knowledge base: it extracts text from documents uploaded to MinIO (PDF/txt/md), chunks it, and stores the embeddings in Chroma. Through FastMCP it exposes "retrieval" as MCP tools, letting DSH (DeepSeek Harness)'s dsh-mcp-client connect to them so the agent can retrieve the original text directly during Q&A.
Composition
File | Purpose |
| Chroma persistence + chunking (with page/line numbers) + hybrid retrieval (semantic + character-bigram BM25, RRF-fused) |
| CLI ingestion: |
| FastMCP stdio service exposing |
| chromadb / fastmcp / pypdf |
Related MCP server: RAG MCP Server
Installation
pip install -r requirements.txt
# 首次检索会下载默认 embedding(all-MiniLM-L6-v2,约 80MB,缓存在 ~/.cache/chroma)Usage
# 入库
python ingest.py "广州十五五规划.pdf" "广州十五五规划.pdf"
# 检索(或经 MCP 工具 search)
python -c "from chroma_store import search; import json; print(json.dumps(search('广州 人工智能+ 大模型 算力 数据要素', 6), ensure_ascii=False))"MCP tools
search(query, top_k=6): hybrid semantic + keyword retrieval; returns the original snippet and its provenance (file + page + line number).ingest_file(path, source_name): ingests a local file into the store.list_sources(): lists the ingested sources.
On the DSH side, dsh-mcp-client connects to server.py over stdio, and the tool names look like mcp__chroma__search.
How retrieval works
Chunking: text is extracted page by page; header/footer/page-number noise is filtered out; every 6 lines become a chunk (1-line overlap), with
source/page/line_start/line_endrecorded in the metadata.Hybrid retrieval: Chroma semantic vectors (cosine) + character-bigram BM25 sparse retrieval, fused by RRF — when Chinese semantic embeddings are weak, BM25 keeps exact keywords such as "large models/compute/data elements" covered, so provenance stays reliable.
Ingesting invalidates the sparse cache immediately; re-ingesting the same source overwrites the entry.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Ask your own documents and get answers that cite the source passage. Workspace knowledge bases over MCP for Cursor, Claude and any MCP client.
Cloud or self-hosted knowledge for AI agents: hybrid search, reranking, GraphRAG, scoped MCP tools.
Knowledge base MCP for AI agents on iknow.dev. Search, read, and maintain via OAuth.
Make your knowledge agent-ready. One MCP endpoint, 5 connectors, 3 search modes.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceMCP server that indexes a knowledge base into Chroma and provides search tools for retrieving document fragments via vector embeddings.-
- FlicenseNot gradedqualityDmaintenanceIndexes PDF documents into Qdrant and exposes semantic search as MCP tools, enabling RAG-based interactions with your documents.-
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to query and manage a document knowledge base via MCP, with RAG-powered search and grounded answers with citations.MIT
- AlicenseNot gradedqualityBmaintenanceEnables agents to semantically search and read curated local markdown knowledge bases through MCP, with optional CLI and dashboard tooling.MIT