xinPlugin_Chroma_fastMCP
xinPlugin_Chroma_fastMCP
MinIO ナレッジベースのベクトル検索レイヤー:MinIO にアップロードされたドキュメント(PDF/txt/md)からテキストを抽出 → チャンク分割 → ベクトル化して Chroma に格納し、FastMCP 経由で「検索」を MCP ツールとして公開します。DSH(DeepSeek Harness)の dsh-mcp-client が接続し、エージェントは Q&A 時に原文を直接検索できます。
構成
ファイル | 役割 |
| Chroma の永続化 + チャンク分割(ページ番号/行番号付き)+ ハイブリッド検索(セマンティック + 文字バイグラム BM25、RRF 融合) |
| CLI 取り込み: |
| FastMCP stdio サービス、 |
| chromadb / fastmcp / pypdf |
Related MCP server: Modular RAG MCP Server
インストール
pip install -r requirements.txt
# 首次检索会下载默认 embedding(all-MiniLM-L6-v2,约 80MB,缓存在 ~/.cache/chroma)使用
# 入库
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 ツール
search(query, top_k=6):セマンティック + キーワードのハイブリッド検索。原文の断片と出典(ファイル + ページ番号 + 行番号)を返します。ingest_file(path, source_name):ローカルファイルの取り込み。list_sources():取り込み済みソースの一覧を表示します。
DSH 側は stdio で server.py に接続し(dsh-mcp-client)、ツール名は mcp__chroma__search の形式になります。
検索の仕組み
チャンク分割:ページごとにテキストを抽出し、ヘッダー/フッター/ページ番号のノイズを除去。6 行ごとに 1 チャンク(1 行オーバーラップ)として、メタデータに
source/page/line_start/line_endを記録します。ハイブリッド検索:Chroma のセマンティックベクトル(コサイン)+ 文字バイグラムBM25 スパース検索、RRF 融合——中国語のセマンティック embedding が弱い場合でも、BM25 が「大規模モデル/計算力/データ要素」のような正確なキーワードを拾い上げ、出典の特定を安定させます。
取り込み時にスパースキャッシュを無効化し、重複取り込みは上書き更新します。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to search, deep-read, and build knowledge bases from Markdown, PDF, DOCX, and PPTX documents via MCP tools for retrieval, document navigation, and ingestion.70616MIT
- AlicenseNot gradedqualityBmaintenanceConverts unstructured documents into a searchable knowledge base and exposes retrieval tools via MCP protocol for AI agents to query.MIT
- FlicenseNot gradedqualityCmaintenanceMCP server that indexes a knowledge base into Chroma and provides search tools for retrieving document fragments via vector embeddings.
- FlicenseAqualityBmaintenanceA local-first document retrieval engine that mounts as an MCP tool for agents to index files, search for relevant passages, and let the agent's own LLM answer.4
Related MCP Connectors
OCR, transcription, file extraction, and image generation for AI agents via MCP.
Shared, governed long-term memory for AI agents across tools and sessions via MCP and REST.
Agentic search over your Dewey document collections from any MCP-compatible client.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/KimTsegzc/xinPlugin_Chroma_fastMCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server